gnu.xml.pipeline
public class XIncludeFilter extends EventFilter implements Locator
#include of C/C++ but
works for XML documents as well as unparsed text files.
Restrictions from the 16-May-2001 draft of XInclude are as follows:
XML documents that are included will normally be processed using
the default SAX namespace rules, meaning that prefix information may
be discarded. This may be changed with setSavingPrefixes().
TBD: "IURI" handling.
Version: $Date: 2001/10/25 07:32:04 $
| Constructor Summary | |
|---|---|
| XIncludeFilter(EventConsumer next) | |
| Method Summary | |
|---|---|
| void | characters(char[] ch, int start, int length) |
| void | comment(char[] ch, int start, int length) |
| void | endCDATA() |
| void | endDocument() |
| void | endElement(String uri, String localName, String qName) |
| void | endEntity(String name) |
| void | endPrefixMapping(String prefix) |
| void | externalEntityDecl(String name, String publicId, String systemId) |
| int | getColumnNumber() Used for proxy locator; do not call directly. |
| int | getLineNumber() Used for proxy locator; do not call directly. |
| String | getPublicId() Used for proxy locator; do not call directly. |
| String | getSystemId() Used for proxy locator; do not call directly. |
| void | ignorableWhitespace(char[] ch, int start, int length) |
| boolean | isSavingPrefixes()
Returns the flag controlling the setting of the SAX2
namespace-prefixes flag when parsing included documents.
|
| void | processingInstruction(String target, String value) |
| void | setDocumentLocator(Locator locator)
Passes "this" down the filter chain as a proxy locator. |
| void | setSavingPrefixes(boolean flag)
Assigns the flag controlling the setting of the SAX2
namespace-prefixes flag. |
| void | skippedEntity(String name) |
| void | startCDATA() |
| void | startDocument() |
| void | startElement(String uri, String localName, String qName, Attributes atts) |
| void | startEntity(String name) |
| void | startPrefixMapping(String prefix, String uri) |
Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2013-01-12.