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
public class TextAndAttributeContentHandler extends TextContentHandler
-
-
Constructor Summary
Constructors Constructor Description TextAndAttributeContentHandler(ContentHandler delegate)
TextAndAttributeContentHandler(ContentHandler delegate, boolean addSpaceBetweenElements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Constructor Detail
-
TextAndAttributeContentHandler
public TextAndAttributeContentHandler(ContentHandler delegate)
-
TextAndAttributeContentHandler
public TextAndAttributeContentHandler(ContentHandler delegate, boolean addSpaceBetweenElements)
-
-
Method Detail
-
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
-
-