| java.lang.Object net.sf.saxon.event.SequenceReceiver net.sf.saxon.event.ProxyReceiver net.sf.saxon.event.StartTagBuffer net.sf.saxon.event.IDFilter
IDFilter | public class IDFilter extends StartTagBuffer (Code) | | IDFilter is a ProxyReceiver that extracts the subtree of a document rooted at the
element with a given ID value. Namespace declarations outside this subtree are
treated as if they were present on the identified element.
|
Method Summary | |
public void | attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) Notify an attribute. | public void | characters(CharSequence chars, int locationId, int properties) | public void | comment(CharSequence chars, int locationId, int properties) | protected void | declareNamespacesForStartElement() | public void | endElement() | public void | processingInstruction(String target, CharSequence data, int locationId, int properties) | public void | startContent() startContent: Test if a matching ID attribute was found; if so, start outputting. | public void | startElement(int nameCode, int typeCode, int locationId, int properties) |
attribute | public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) throws XPathException(Code) | | Notify an attribute. Attributes are notified after the startElement event, and before any
children. Namespaces and attributes may be intermingled.
Parameters: nameCode - The name of the attribute, as held in the name pool Parameters: typeCode - The type of the attribute, as held in the name pool Parameters: properties - Bit significant value. The following bits are defined:DISABLE_ESCAPING Disable escaping for this attributeNO_SPECIAL_CHARACTERS Attribute value contains no special characters throws: IllegalStateException - : attempt to output an attribute when there is no open elementstart tag |
declareNamespacesForStartElement | protected void declareNamespacesForStartElement() throws XPathException(Code) | | |
startContent | public void startContent() throws XPathException(Code) | | startContent: Test if a matching ID attribute was found; if so, start outputting.
|
startElement | public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code) | | startElement
|
Methods inherited from net.sf.saxon.event.ProxyReceiver | public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) throws XPathException(Code)(Java Doc) public void characters(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) public void close() throws XPathException(Code)(Java Doc) public void comment(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) public void endDocument() throws XPathException(Code)(Java Doc) public void endElement() throws XPathException(Code)(Java Doc) public Configuration getConfiguration()(Code)(Java Doc) public LocationProvider getDocumentLocator()(Code)(Java Doc) public NamePool getNamePool()(Code)(Java Doc) public String getSystemId()(Code)(Java Doc) public Receiver getUnderlyingReceiver()(Code)(Java Doc) public void namespace(int namespaceCode, int properties) throws XPathException(Code)(Java Doc) public void open() throws XPathException(Code)(Java Doc) public void processingInstruction(String target, CharSequence data, int locationId, int properties) throws XPathException(Code)(Java Doc) public void setPipelineConfiguration(PipelineConfiguration config)(Code)(Java Doc) public void setSystemId(String systemId)(Code)(Java Doc) public void setUnderlyingReceiver(Receiver receiver)(Code)(Java Doc) public void setUnparsedEntity(String name, String uri, String publicId) throws XPathException(Code)(Java Doc) public void startContent() throws XPathException(Code)(Java Doc) public void startDocument(int properties) throws XPathException(Code)(Java Doc) public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code)(Java Doc)
|
|
|