Package org.apache.tika.parser.xml
Class AttributeDependantMetadataHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.tika.parser.xml.AttributeDependantMetadataHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
@Deprecated(since="2026-04-30")
public class AttributeDependantMetadataHandler
extends DefaultHandler
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
This adds a Metadata entry for a given node.
The textual content of the node is used as the
value, and the Metadata name is taken from
an attribute, with a prefix if required.
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeDependantMetadataHandler(Metadata metadata, String nameHoldingAttribute, String namePrefix) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetadata(String value) Deprecated.voidcharacters(char[] ch, int start, int length) Deprecated.voidendElement(String uri, String localName, String name) Deprecated.voidstartElement(String uri, String localName, String name, Attributes attributes) Deprecated.Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
Method Details
-
addMetadata
Deprecated. -
endElement
Deprecated.- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler
-
startElement
Deprecated.- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler
-
characters
public void characters(char[] ch, int start, int length) Deprecated.- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler
-