public class AttributeMetadataHandler extends org.xml.sax.helpers.DefaultHandler
Constructor and Description |
---|
AttributeMetadataHandler(String uri,
String localName,
Metadata metadata,
Property property) |
AttributeMetadataHandler(String uri,
String localName,
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, warning
public AttributeMetadataHandler(String uri, String localName, Metadata metadata, String name)
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
protected 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-2013 The Apache Software Foundation. All Rights Reserved.