public class AttributeMetadataHandler extends org.xml.sax.helpers.DefaultHandler
| Constructor and Description |
|---|
AttributeMetadataHandler(String uri,
String localName,
org.apache.tika.metadata.Metadata metadata,
org.apache.tika.metadata.Property property) |
AttributeMetadataHandler(String uri,
String localName,
org.apache.tika.metadata.Metadata metadata,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMetadata(String value)
Adds the given metadata value.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic AttributeMetadataHandler(String uri, String localName, org.apache.tika.metadata.Metadata metadata, String name)
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionprotected void addMetadata(String value)
null or empty. If the metadata entry already exists,
then the given value is appended to it with a comma as the separator.value - metadata valueCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.