Package org.apache.tika.sax
Class TextContentHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.tika.sax.TextContentHandler
- 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
characters(char[], int, int) and
(@link ignorableWhitespace(char[], int, int)
(plus startDocument() and endDocument() events to
the decorated content handler.-
Constructor Summary
ConstructorsConstructorDescriptionTextContentHandler(ContentHandler delegate) Deprecated.TextContentHandler(ContentHandler delegate, boolean addSpaceBetweenElements) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) Deprecated.voidDeprecated.voidignorableWhitespace(char[] ch, int start, int length) Deprecated.voidsetDocumentLocator(Locator locator) Deprecated.voidDeprecated.voidstartElement(String uri, String localName, String qName, Attributes attributes) Deprecated.toString()Deprecated.Methods inherited from class org.xml.sax.helpers.DefaultHandler
endElement, endPrefixMapping, error, fatalError, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, 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
-
TextContentHandler
Deprecated. -
TextContentHandler
Deprecated.
-
-
Method Details
-
setDocumentLocator
Deprecated.- Specified by:
setDocumentLocatorin interfaceContentHandler- Overrides:
setDocumentLocatorin classDefaultHandler
-
characters
Deprecated.- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler- Throws:
SAXException
-
ignorableWhitespace
Deprecated.- Specified by:
ignorableWhitespacein interfaceContentHandler- Overrides:
ignorableWhitespacein classDefaultHandler- Throws:
SAXException
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException Deprecated.- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
startDocument
Deprecated.- Specified by:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classDefaultHandler- Throws:
SAXException
-
endDocument
Deprecated.- Specified by:
endDocumentin interfaceContentHandler- Overrides:
endDocumentin classDefaultHandler- Throws:
SAXException
-
toString
Deprecated.
-