#include <XercesParserLiaison.hpp>
Inheritance diagram for XercesParserLiaison:
Collaboration diagram for XercesParserLiaison:
|
|
|
|
|
|
Set whether to expand all entity references in the source and style trees.
b | true if entity references should be expanded |
Reimplemented from XMLParserLiaison.
|
Create a XalanDocument proxy for an existing Xerces document.
theXercesDocument | The Xerces document. |
buildBridge | If true, the entire bridge structure is built. |
|
Create a XalanDocument proxy for an existing Xerces document.
The parser liaison owns the instance, and you must not delete it. The liaison will delete it when reset() is called, or the liaison is destroyed.
theXercesDocument | The Xerces document. |
|
Create an empty DOM Document.
Mainly used for creating an output document.
Reimplemented from XMLParserLiaison.
|
|
|
Get the factory object required to create DOM nodes in the result tree.
Reimplemented from XMLParserLiaison.
|
This method returns the state of the parser's namespace handling capability.
|
This method returns the installed entity resolver.
Suitable for 'rvalue' usages.
|
This method returns the installed entity resolver.
Suitable for 'lvalue' usages.
|
This method returns the installed error handler.
Suitable for 'rvalue' usages.
|
This method returns the installed error handler.
Suitable for 'lvalue' usages.
|
This method returns the state of the parser's exit-on-First-Fatal-Error flag.
|
Returns the attribute name with the namespace expanded.
attr | attribute queried |
Reimplemented from XMLParserLiaison.
|
Return the expanded element name.
elem | DOM element queried |
Reimplemented from XMLParserLiaison.
|
Get the 'include ignorable whitespace' flag.
This method returns the state of the parser's include ignorable whitespace flag.
|
Get the amount to indent when indent-result="yes".
Reimplemented from XMLParserLiaison.
|
Return a string suitable for telling the user what parser is being used.
Reimplemented from XMLParserLiaison.
|
Determine whether to expand all entity references in the source and style trees.
Reimplemented from XMLParserLiaison.
|
Get special characters for attributes that will be escaped.
Reimplemented from XMLParserLiaison.
|
Get whether or not validation will be performed.
Validation is off by default.
Reimplemented from XMLParserLiaison.
|
Map a pointer to a XalanDocument instance to its implementation class pointer.
Normally, you should have no reason for doing this. The liaison will return a null pointer if it did not create the instance passed.
theDocument | A pointer to a XalanDocument instance. |
|
Map a pointer to a XalanDocument instance to its corresponding class pointer.
Normally, you should have no reason for doing this. The liaison will return a null pointer if it did not create the instance passed.
theDocument | A pointer to a XalanDocument instance. |
|
Parse the text pointed at by the reader as XML.
It is recommended that you pass in some sort of recognizable name, such as the filename or URI, with which the reader can be recognized if the parse fails.
urlInputSource | input source that should hold valid XML |
handler | instance of a DocumentHandler |
identifier | used for diagnostic purposes only, some sort of identification for error reporting, default an empty string |
Reimplemented from XMLParserLiaison.
|
Parse the text pointed at by the reader as XML, and return a DOM Document interface.
It is recommended that you pass in some sort of recognizable name, such as the filename or URI, with which the reader can be recognized if the parse fails.
reader | stream that should hold valid XML |
identifier | used for diagnostic purposes only, some sort of identification for error reporting, default an empty string |
Reimplemented from XMLParserLiaison.
|
|
|
This method allows users to enable or disable the parser's namespace processing.
When set to true, parser starts enforcing all the constraints / rules specified by the NameSpace specification.
The parser's default state is: false.
This flag is ignored by the underlying scanner if the installed validator indicates that namespace constraints should be enforced.
newState |
The value specifying whether NameSpace rules should
be enforced or not.
|
|
This method installs the user specified entity resolver on the parser.
It allows applications to trap and redirect calls to external entities.
handler |
A pointer to the entity resolver to be called
when the parser comes across references to
entities in the XML file.
|
|
This method installs the user specified error handler on the parser.
handler |
A pointer to the error handler to be called
when the parser comes across 'error' events
as per the SAX specification.
|
|
This method allows users to set the parser's behaviour when it encounters the first fatal error.
If set to true, the parser will exit at the first fatal error. If false, then it will report the error and continue processing.
The default value is 'true' and the parser exits on the first fatal error.
newState |
The value specifying whether the parser should
continue or exit when it encounters the first
fatal error.
|
|
Set the 'include ignorable whitespace' flag.
This method allows the user to specify whether a validating parser should include ignorable whitespaces as text nodes. It has no effect on non-validating parsers which always include non-markup text.
When set to true (also the default), ignorable whitespaces will be added to the DOM tree as text nodes. The method DOM_Text::isIgnorableWhitespace() will return true for those text nodes only.
When set to false, all ignorable whitespace will be discarded and no text node is added to the DOM tree. Note: applications intended to process the "xml:space" attribute should not set this flag to false.
include |
The new state of the include ignorable whitespace
flag.
|
|
Set the amount to indent when indent-result="yes".
i | number of characters to indent |
Reimplemented from XMLParserLiaison.
|
Set special characters for attributes that will be escaped.
str | string containing characters |
Reimplemented from XMLParserLiaison.
|
If set to true, validation will be performed.
Validation is off by default.
b | true to perform validation |
Reimplemented from XMLParserLiaison.
|
Determine if the liaison supports the SAX DocumentHandler interface.
Reimplemented from XMLParserLiaison.
|
The documentation for this class was generated from the following file:
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSL Transformer Version 1.0 |
|