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;
#define XALAN_XMLSUPPORT_EXPORT
#define XALAN_DEFAULT_CONSTRUCTOR_MEMMGR
#define XALAN_DEFAULT_MEMMGR
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
This class takes SAX events (in addition to some extra events that SAX doesn't handle yet) and produc...
virtual void endDocument()
virtual void startDocument()
void setEncoding(const XalanDOMString &theEncoding)
const XalanDOMString & getEncoding() const
void setHandleIgnorableWhitespace(bool fHandle)
virtual void ignorableWhitespace(const XMLCh *const chars, const size_type length)
virtual void processingInstruction(const XMLCh *const target, const XMLCh *const data)
XalanDOMChar getMaxCharacter() const
virtual void characters(const XMLCh *const chars, const size_type length)
virtual void endElement(const XMLCh *const name)
void setNormalizeLinefeed(bool fNormalize)
Writer * getWriter() const
FormatterToText(MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
FormatterToText instance constructor.
bool getHandleIgnorableWhitespace() const
virtual ~FormatterToText()
FormatterToText(Writer &writer, bool normalizeLinefeed=true, bool handleIgnorableWhitespace=true, MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
FormatterToText instance constructor.
MemoryManager & getMemoryManager()
void setWriter(Writer *theWriter)
static FormatterToText * create(MemoryManager &theManager, Writer &writer, const XalanDOMString &encoding, bool normalizeLinefeed=true, bool handleIgnorableWhitespace=true)
bool getNormalizeLinefeed() const
virtual void comment(const XMLCh *const data)
Called when a Comment is to be constructed.
virtual void charactersRaw(const XMLCh *const chars, const size_type length)
Receive notification of character data.
FormatterToText(Writer &writer, const XalanDOMString &encoding, 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.
virtual void startElement(const XMLCh *const name, AttributeListType &attrs)
virtual void resetDocument()
virtual void cdata(const XMLCh *const ch, const size_type length)
Receive notification of cdata.
void setMaxCharacter(XalanDOMChar theMaxChar)
virtual void setDocumentLocator(const Locator *const locator)
XalanDOMString::size_type length(const XalanDOMString &theString)
Get the length of a XalanDOMString.
xercesc::AttributeList AttributeListType
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)