Package org.apache.tika.sax.xpath
Class MatchingContentHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.tika.sax.ContentHandlerDecorator
org.apache.tika.sax.xpath.MatchingContentHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
Content handler decorator that only passes the elements, attributes,
and text nodes that match the given XPath expression.
-
Constructor Summary
ConstructorsConstructorDescriptionMatchingContentHandler(ContentHandler delegate, Matcher matcher) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) Deprecated.voidendElement(String uri, String localName, String name) Deprecated.voidignorableWhitespace(char[] ch, int start, int length) Deprecated.voidprocessingInstruction(String target, String data) Deprecated.voidskippedEntity(String name) Deprecated.voidstartElement(String uri, String localName, String name, Attributes attributes) Deprecated.Methods inherited from class org.apache.tika.sax.ContentHandlerDecorator
endDocument, endPrefixMapping, setDocumentLocator, startDocument, startPrefixMapping, toStringMethods inherited from class org.xml.sax.helpers.DefaultHandler
error, fatalError, notationDecl, resolveEntity, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
MatchingContentHandler
Deprecated.
-
-
Method Details
-
startElement
public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException Deprecated.- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classContentHandlerDecorator- Throws:
SAXException
-
endElement
Deprecated.- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classContentHandlerDecorator- Throws:
SAXException
-
characters
Deprecated.- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classContentHandlerDecorator- Throws:
SAXException
-
ignorableWhitespace
Deprecated.- Specified by:
ignorableWhitespacein interfaceContentHandler- Overrides:
ignorableWhitespacein classContentHandlerDecorator- Throws:
SAXException
-
processingInstruction
Deprecated.- Specified by:
processingInstructionin interfaceContentHandler- Overrides:
processingInstructionin classContentHandlerDecorator
-
skippedEntity
Deprecated.- Specified by:
skippedEntityin interfaceContentHandler- Overrides:
skippedEntityin classContentHandlerDecorator- Throws:
SAXException
-