Class AttributeDependantMetadataHandler

java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.tika.parser.xml.AttributeDependantMetadataHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class AttributeDependantMetadataHandler extends DefaultHandler
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, keyed under the given KeyPrefix (the name is document-controlled, so it must not be a registered Property).