Xalan-C++ API Documentation
Go to the documentation of this file.
18 #if !defined(XALANSOURCETREEPARSERLIAISON_HEADER_GUARD_1357924680)
19 #define XALANSOURCETREEPARSERLIAISON_HEADER_GUARD_1357924680
36 XALAN_DECLARE_XERCES_CLASS(ContentHandler)
37 XALAN_DECLARE_XERCES_CLASS(DTDHandler)
38 XALAN_DECLARE_XERCES_CLASS(LexicalHandler)
39 XALAN_DECLARE_XERCES_CLASS(SAX2XMLReaderImpl)
43 XALAN_CPP_NAMESPACE_BEGIN
89 return m_documentMap.getMemoryManager();
104 return m_poolAllText;
116 m_poolAllText = fValue;
132 const InputSource& reader,
137 const InputSource& inputSource,
138 DocumentHandler& handler,
159 virtual EntityResolver*
165 virtual XMLEntityResolver*
171 virtual ErrorHandler*
191 const InputSource& theInputSource,
192 ContentHandler& theContentHandler,
194 DTDHandler* theDTDHandler = 0,
195 LexicalHandler* theLexicalHandler = 0);
305 virtual const XalanDOMChar*
323 virtual const XalanDOMChar*
361 virtual SAX2XMLReaderImpl*
384 SAX2XMLReaderImpl* m_xmlReader;
389 XALAN_CPP_NAMESPACE_END
393 #endif // XALANSOURCETREEPARSERLIAISON_HEADER_GUARD_1357924680
virtual void setExternalSchemaLocation(const XalanDOMChar *location)
This method sets the location for an external schema document for parsing.
XalanSourceTreeParserLiaison(XalanSourceTreeDOMSupport &theSupport, MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
Construct a XalanSourceTreeParserLiaison instance.
virtual const XalanDOMString & getParserDescription(XalanDOMString &theResult) const
Return a string suitable for telling the user what parser is being used.
virtual bool getDoNamespaces() const
This method returns the state of the parser's namespace handling capability.
virtual void parseXMLStream(const InputSource &theInputSource, ContentHandler &theContentHandler, const XalanDOMString &theIdentifier, DTDHandler *theDTDHandler=0, LexicalHandler *theLexicalHandler=0)
Parse using a SAX2 ContentHandler, DTDHandler, and LexicalHandler.
virtual SAX2XMLReaderImpl * createReader()
virtual DOMDocument_Type * createDOMFactory()
virtual EntityResolver * getEntityResolver() const
This method returns the installed EntityResolver.
virtual const XalanDOMChar * getExternalNoNamespaceSchemaLocation() const
This method returns the location for an external schema document for parsing.
virtual void setIndent(int i)
Set the amount to indent when indent-result="yes".
virtual bool getExitOnFirstFatalError() const
This method returns the state of the parser's exit-on-First-Fatal-Error flag.
virtual bool getIncludeIgnorableWhitespace() const
Get the 'include ignorable whitespace' flag.
virtual ErrorHandler * getErrorHandler() const
This method returns the installed error handler.
virtual XalanDocument * parseXMLStream(const InputSource &reader, const XalanDOMString &identifier=XalanDOMString(XalanMemMgrs::getDummyMemMgr()))
Parse the text pointed at by the reader as XML, and return a DOM Document interface.
#define XALAN_DEFAULT_MEMMGR
virtual void setErrorHandler(ErrorHandler *handler)
This method installs the user-specified error handler.
virtual void setUseValidation(bool b)
If set to true, validation will be performed.
virtual void parseXMLStream(const InputSource &inputSource, DocumentHandler &handler, const XalanDOMString &identifier=XalanDOMString(XalanMemMgrs::getDummyMemMgr()))
Parse the text pointed at by the reader as XML.
virtual ~XalanSourceTreeParserLiaison()
Xalan implementation of a hashtable.
virtual bool getUseValidation() const
Get whether or not validation will be performed.
virtual void destroyDocument(DOMDocument_Type *theDocument)
XalanMap< const XalanDocument *, XalanSourceTreeDocument * > DocumentMapType
virtual void setEntityResolver(EntityResolver *resolver)
This method installs the user-specified EntityResolver on the parser.
virtual void setXMLEntityResolver(XMLEntityResolver *resolver)
This method installs the user-specified XMLEntityResolver on the parser.
virtual void setExecutionContext(ExecutionContext &theContext)
Set the current ExecutionContext instance.
XalanSourceTreeDocument * mapDocument(const XalanDocument *theDocument) const
Map a pointer to a XalanDocument instance to its implementation class pointer.
virtual int getIndent() const
Get the amount to indent when indent-result="yes".
virtual void setExitOnFirstFatalError(bool newState)
This method allows users to set the parser's behaviour when it encounters the first fatal error.
virtual ExecutionContext * getExecutionContext() const
Get a pointer to the current ExecutionContext instance, which may be null.
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument DOMDocument_Type
XALAN_CPP_NAMESPACE_BEGIN XALAN_USING_XERCES(Locator)
MemoryManager & getMemoryManager()
Get a reference to the current MemoryManager instance.
virtual void setDoNamespaces(bool newState)
This method allows users to enable or disable the parser's namespace processing.
static MemoryManager & getDummyMemMgr()
XalanSourceTreeDocument * createXalanSourceTreeDocument()
Create a XalanSourceTreeDocument instance.
virtual void destroyDocument(XalanDocument *theDocument)
Destroy the supplied XalanDocument instance.
void setPoolAllText(bool fValue)
Set the value of the flag which determines if the data of all text nodes are pooled,...
virtual void setIncludeIgnorableWhitespace(bool include)
Set the 'include ignorable whitespace' flag.
bool getPoolAllText() const
Get the value of the flag which determines if the data of all text nodes are pooled,...
virtual XMLEntityResolver * getXMLEntityResolver() const
This method returns the installed XMLEntityResolver.
#define XALAN_XALANSOURCETREE_EXPORT
virtual void reset()
Reset the instance, freeing any XalanDocument instances created through parseXMLStream().
virtual void setExternalNoNamespaceSchemaLocation(const XalanDOMChar *location)
This method sets the location for an external schema document for parsing.
virtual const XalanDOMChar * getExternalSchemaLocation() const
This method returns the location for an external schema document for parsing.
XalanSourceTreeParserLiaison(MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
Construct a XalanSourceTreeParserLiaison instance.
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.
|
|