Xalan-C++ API Documentation
Go to the documentation of this file.
18 #if !defined(FORMATTERTOTEXT_HEADER_GUARD_1357924680)
19 #define FORMATTERTOTEXT_HEADER_GUARD_1357924680
37 XALAN_CPP_NAMESPACE_BEGIN
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;
259 XALAN_CPP_NAMESPACE_END
263 #endif // FORMATTERTOTEXT_HEADER_GUARD_1357924680
void setNormalizeLinefeed(bool fNormalize)
virtual void startDocument()
virtual void resetDocument()
virtual void entityReference(const XMLCh *const name)
Receive notification of a entityReference.
virtual ~FormatterToText()
XalanDOMString::size_type length(const XalanDOMString &theString)
Get the length of a XalanDOMString.
virtual void characters(const XMLCh *const chars, const size_type length)
bool operator==(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
#define XALAN_DEFAULT_MEMMGR
XalanDOMChar getMaxCharacter() const
bool getNormalizeLinefeed() const
virtual void startElement(const XMLCh *const name, AttributeListType &attrs)
virtual void setDocumentLocator(const Locator *const locator)
virtual void charactersRaw(const XMLCh *const chars, const size_type length)
Receive notification of character data.
void setEncoding(const XalanDOMString &theEncoding)
virtual void processingInstruction(const XMLCh *const target, const XMLCh *const data)
virtual void ignorableWhitespace(const XMLCh *const chars, const size_type length)
MemoryManager & getMemoryManager()
virtual void endElement(const XMLCh *const name)
virtual void endDocument()
FormatterToText(MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
FormatterToText instance constructor.
FormatterToText(Writer &writer, bool normalizeLinefeed=true, bool handleIgnorableWhitespace=true, MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
FormatterToText instance constructor.
Writer * getWriter() const
This class takes SAX events (in addition to some extra events that SAX doesn't handle yet) and produc...
void setWriter(Writer *theWriter)
FormatterToText(Writer &writer, const XalanDOMString &encoding, bool normalizeLinefeed=true, bool handleIgnorableWhitespace=true, MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
FormatterToText instance constructor.
const XalanDOMString & getEncoding() const
void setMaxCharacter(XalanDOMChar theMaxChar)
bool getHandleIgnorableWhitespace() const
XERCES_CPP_NAMESPACE_QUALIFIER AttributeList AttributeListType
void setHandleIgnorableWhitespace(bool fHandle)
#define XALAN_XMLSUPPORT_EXPORT
virtual void comment(const XMLCh *const data)
Called when a Comment is to be constructed.
static FormatterToText * create(MemoryManager &theManager, Writer &writer, const XalanDOMString &encoding, bool normalizeLinefeed=true, bool handleIgnorableWhitespace=true)
#define XALAN_DEFAULT_CONSTRUCTOR_MEMMGR
virtual void cdata(const XMLCh *const ch, const size_type length)
Receive notification of cdata.
Interpreting class diagrams
Doxygen and
GraphViz are
used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.
|
|