|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.XMLFilterImpl
net.sf.saxon.IDFilter
IDFilter is a SAX filter 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.
| Constructor Summary | |
IDFilter(java.lang.String id)
|
|
| Method Summary | |
void |
characters(char[] chars,
int start,
int len)
Filter a character data event. |
void |
endElement(java.lang.String localName,
java.lang.String uri,
java.lang.String qname)
Filter an end element event. |
void |
endPrefixMapping(java.lang.String prefix)
Filter an end Namespace prefix mapping event. |
void |
ignorableWhitespace(char[] chars,
int start,
int len)
Filter an ignorable whitespace event. |
void |
processingInstruction(java.lang.String name,
java.lang.String data)
Filter a processing instruction event. |
void |
startElement(java.lang.String localName,
java.lang.String uri,
java.lang.String qname,
org.xml.sax.Attributes atts)
Filter a start element event. |
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Filter a start Namespace prefix mapping event. |
| Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
endDocument, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, notationDecl, parse, parse, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IDFilter(java.lang.String id)
| Method Detail |
public void startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
throws org.xml.sax.SAXException
org.xml.sax.helpers.XMLFilterImpl
prefix - The Namespace prefix.uri - The Namespace URI.
org.xml.sax.SAXException - The client may throw
an exception during processing.ContentHandler.startPrefixMapping(java.lang.String, java.lang.String)
public void endPrefixMapping(java.lang.String prefix)
throws org.xml.sax.SAXException
org.xml.sax.helpers.XMLFilterImpl
prefix - The Namespace prefix.
org.xml.sax.SAXException - The client may throw
an exception during processing.ContentHandler.endPrefixMapping(java.lang.String)
public void startElement(java.lang.String localName,
java.lang.String uri,
java.lang.String qname,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
org.xml.sax.helpers.XMLFilterImpl
localName - The element's Namespace URI, or the empty string.uri - The element's local name, or the empty string.qname - The element's qualified (prefixed) name, or the empty
string.atts - The element's attributes.
org.xml.sax.SAXException - The client may throw
an exception during processing.ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
public void endElement(java.lang.String localName,
java.lang.String uri,
java.lang.String qname)
throws org.xml.sax.SAXException
org.xml.sax.helpers.XMLFilterImpl
localName - The element's Namespace URI, or the empty string.uri - The element's local name, or the empty string.qname - The element's qualified (prefixed) name, or the empty
string.
org.xml.sax.SAXException - The client may throw
an exception during processing.ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String)
public void characters(char[] chars,
int start,
int len)
throws org.xml.sax.SAXException
org.xml.sax.helpers.XMLFilterImpl
chars - An array of characters.start - The starting position in the array.len - The number of characters to use from the array.
org.xml.sax.SAXException - The client may throw
an exception during processing.ContentHandler.characters(char[], int, int)
public void ignorableWhitespace(char[] chars,
int start,
int len)
throws org.xml.sax.SAXException
org.xml.sax.helpers.XMLFilterImpl
chars - An array of characters.start - The starting position in the array.len - The number of characters to use from the array.
org.xml.sax.SAXException - The client may throw
an exception during processing.ContentHandler.ignorableWhitespace(char[], int, int)
public void processingInstruction(java.lang.String name,
java.lang.String data)
throws org.xml.sax.SAXException
org.xml.sax.helpers.XMLFilterImpl
name - The processing instruction target.data - The text following the target.
org.xml.sax.SAXException - The client may throw
an exception during processing.ContentHandler.processingInstruction(java.lang.String, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||