Package org.apache.tika.sax
Class TextAndAttributeContentHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.tika.sax.TextContentHandler
org.apache.tika.sax.TextAndAttributeContentHandler
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
-
Constructor Summary
ConstructorDescriptionTextAndAttributeContentHandler
(ContentHandler delegate) TextAndAttributeContentHandler
(ContentHandler delegate, boolean addSpaceBetweenElements) -
Method Summary
Modifier and TypeMethodDescriptionvoid
startElement
(String uri, String localName, String qName, Attributes attributes) Methods inherited from class org.apache.tika.sax.TextContentHandler
characters, endDocument, ignorableWhitespace, setDocumentLocator, startDocument, toString
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endElement, endPrefixMapping, error, fatalError, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
TextAndAttributeContentHandler
-
TextAndAttributeContentHandler
-
-
Method Details
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classTextContentHandler
- Throws:
SAXException
-