 |
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
18 #if !defined(FORMATTERTOTEXT_HEADER_GUARD_1357924680)
19 #define FORMATTERTOTEXT_HEADER_GUARD_1357924680
67 bool normalizeLinefeed =
true,
68 bool handleIgnorableWhitespace =
true,
82 bool normalizeLinefeed =
true,
83 bool handleIgnorableWhitespace =
true,
88 MemoryManager& theManager,
91 bool normalizeLinefeed =
true,
92 bool handleIgnorableWhitespace =
true);
100 return m_encoding.getMemoryManager();
112 m_writer = theWriter;
129 m_encoding = theEncoding;
137 return m_maxCharacter;
143 m_maxCharacter = theMaxChar;
155 m_normalize = fNormalize;
161 return m_handleIgnorableWhitespace;
167 m_handleIgnorableWhitespace = fHandle;
183 const XMLCh*
const name,
191 const XMLCh*
const chars,
196 const XMLCh*
const chars,
204 const XMLCh*
const chars,
209 const XMLCh*
const target,
210 const XMLCh*
const data);
220 const XMLCh*
const ch,
237 update(
bool fNormalizationOnly);
242 XalanDOMChar m_maxCharacter;
250 bool m_handleIgnorableWhitespace;
252 const XalanDOMChar* m_newlineString;
263 #endif // FORMATTERTOTEXT_HEADER_GUARD_1357924680
void setHandleIgnorableWhitespace(bool fHandle)
const XalanDOMString & getEncoding() const
FormatterToText(MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
FormatterToText instance constructor.
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
xercesc::AttributeList AttributeListType
virtual void characters(const XMLCh *const chars, const size_type length)
virtual void setDocumentLocator(const Locator *const locator)
virtual void comment(const XMLCh *const data)
Called when a Comment is to be constructed.
virtual void cdata(const XMLCh *const ch, const size_type length)
Receive notification of cdata.
virtual void startElement(const XMLCh *const name, AttributeListType &attrs)
virtual void ignorableWhitespace(const XMLCh *const chars, const size_type length)
void setNormalizeLinefeed(bool fNormalize)
This class takes SAX events (in addition to some extra events that SAX doesn't handle yet) and produc...
XalanDOMChar getMaxCharacter() const
Writer * getWriter() const
virtual void charactersRaw(const XMLCh *const chars, const size_type length)
Receive notification of character data.
void setEncoding(const XalanDOMString &theEncoding)
#define XALAN_DEFAULT_MEMMGR
virtual ~FormatterToText()
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
XalanDOMString::size_type length(const XalanDOMString &theString)
Get the length of a XalanDOMString.
virtual void processingInstruction(const XMLCh *const target, const XMLCh *const data)
virtual void resetDocument()
virtual void endDocument()
bool getNormalizeLinefeed() const
static FormatterToText * create(MemoryManager &theManager, Writer &writer, const XalanDOMString &encoding, bool normalizeLinefeed=true, bool handleIgnorableWhitespace=true)
MemoryManager & getMemoryManager()
void setWriter(Writer *theWriter)
bool getHandleIgnorableWhitespace() const
FormatterToText(Writer &writer, const XalanDOMString &encoding, bool normalizeLinefeed=true, bool handleIgnorableWhitespace=true, MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
FormatterToText instance constructor.
void setMaxCharacter(XalanDOMChar theMaxChar)
FormatterToText(Writer &writer, bool normalizeLinefeed=true, bool handleIgnorableWhitespace=true, MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
FormatterToText instance constructor.
virtual void entityReference(const XMLCh *const name)
Receive notification of a entityReference.
#define XALAN_XMLSUPPORT_EXPORT
virtual void startDocument()
#define XALAN_DEFAULT_CONSTRUCTOR_MEMMGR
virtual void endElement(const XMLCh *const name)