Xalan-C++ API Reference  1.12.0
Public Types | Public Member Functions | List of all members
xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter > Class Template Reference

#include <xalanc/XMLSupport/XalanIndentWriter.hpp>

Public Types

typedef FormatterListener::size_type size_type
 
typedef XalanVector< bool > BoolStackType
 
typedef WhiteSpaceWriter::writer_type writer_type
 

Public Member Functions

 XalanIndentWriter (writer_type &writer, size_type ident)
 
 ~XalanIndentWriter ()
 
void setIndent (size_type value)
 
size_type getIndent () const
 
void indent ()
 
void increaseIndent ()
 
void decreaseIndent ()
 
void setStartNewLine (bool value)
 
void outputLineSep ()
 Output a line break. More...
 
void setPrevText (bool value)
 
void setPreserve (bool value)
 
void pop_preserve ()
 
void push_preserve ()
 

Detailed Description

template<class WhiteSpaceWriter, class NewLineWriter>
class xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >

Definition at line 37 of file XalanIndentWriter.hpp.

Member Typedef Documentation

◆ BoolStackType

template<class WhiteSpaceWriter , class NewLineWriter >
typedef XalanVector<bool> xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::BoolStackType

Definition at line 42 of file XalanIndentWriter.hpp.

◆ size_type

template<class WhiteSpaceWriter , class NewLineWriter >
typedef FormatterListener::size_type xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::size_type

Definition at line 41 of file XalanIndentWriter.hpp.

◆ writer_type

template<class WhiteSpaceWriter , class NewLineWriter >
typedef WhiteSpaceWriter::writer_type xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::writer_type

Definition at line 43 of file XalanIndentWriter.hpp.

Constructor & Destructor Documentation

◆ XalanIndentWriter()

template<class WhiteSpaceWriter , class NewLineWriter >
xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::XalanIndentWriter ( writer_type writer,
size_type  ident 
)
inline

Definition at line 45 of file XalanIndentWriter.hpp.

◆ ~XalanIndentWriter()

template<class WhiteSpaceWriter , class NewLineWriter >
xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::~XalanIndentWriter ( )
inline

Definition at line 60 of file XalanIndentWriter.hpp.

Member Function Documentation

◆ decreaseIndent()

template<class WhiteSpaceWriter , class NewLineWriter >
void xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::decreaseIndent ( )
inline

Definition at line 99 of file XalanIndentWriter.hpp.

◆ getIndent()

template<class WhiteSpaceWriter , class NewLineWriter >
size_type xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::getIndent ( ) const
inline

Definition at line 72 of file XalanIndentWriter.hpp.

◆ increaseIndent()

template<class WhiteSpaceWriter , class NewLineWriter >
void xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::increaseIndent ( )
inline

Definition at line 93 of file XalanIndentWriter.hpp.

◆ indent()

template<class WhiteSpaceWriter , class NewLineWriter >
void xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::indent ( )
inline

Definition at line 78 of file XalanIndentWriter.hpp.

◆ outputLineSep()

template<class WhiteSpaceWriter , class NewLineWriter >
void xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::outputLineSep ( )
inline

Output a line break.

Definition at line 116 of file XalanIndentWriter.hpp.

◆ pop_preserve()

template<class WhiteSpaceWriter , class NewLineWriter >
void xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::pop_preserve ( )
inline

Definition at line 134 of file XalanIndentWriter.hpp.

◆ push_preserve()

template<class WhiteSpaceWriter , class NewLineWriter >
void xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::push_preserve ( )
inline

Definition at line 149 of file XalanIndentWriter.hpp.

◆ setIndent()

template<class WhiteSpaceWriter , class NewLineWriter >
void xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::setIndent ( size_type  value)
inline

Definition at line 66 of file XalanIndentWriter.hpp.

◆ setPreserve()

template<class WhiteSpaceWriter , class NewLineWriter >
void xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::setPreserve ( bool  value)
inline

Definition at line 128 of file XalanIndentWriter.hpp.

◆ setPrevText()

template<class WhiteSpaceWriter , class NewLineWriter >
void xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::setPrevText ( bool  value)
inline

Definition at line 122 of file XalanIndentWriter.hpp.

◆ setStartNewLine()

template<class WhiteSpaceWriter , class NewLineWriter >
void xalanc::XalanIndentWriter< WhiteSpaceWriter, NewLineWriter >::setStartNewLine ( bool  value)
inline

Definition at line 107 of file XalanIndentWriter.hpp.


The documentation for this class was generated from the following file: