Package org.apache.tika.sax
Class ElementMappingContentHandler.TargetElement
- java.lang.Object
-
- org.apache.tika.sax.ElementMappingContentHandler.TargetElement
-
- Enclosing class:
- ElementMappingContentHandler
public static class ElementMappingContentHandler.TargetElement extends Object
-
-
Constructor Summary
Constructors Constructor Description TargetElement(String mappedTagURI, String mappedTagLocalName)
A shortcut that automatically creates the QName objectTargetElement(String mappedTagURI, String mappedTagLocalName, Map<QName,QName> attributesMapping)
A shortcut that automatically creates the QName objectTargetElement(QName mappedTagName)
Creates an TargetElement with no attributes, all attributes will be deleted from SAX streamTargetElement(QName mappedTagName, Map<QName,QName> attributesMapping)
Creates an TargetElement, attributes of this element will be mapped as specified
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<QName,QName>
getAttributesMapping()
QName
getMappedTagName()
Attributes
mapAttributes(Attributes atts)
-
-
-
Constructor Detail
-
TargetElement
public TargetElement(QName mappedTagName, Map<QName,QName> attributesMapping)
Creates an TargetElement, attributes of this element will be mapped as specified
-
TargetElement
public TargetElement(String mappedTagURI, String mappedTagLocalName, Map<QName,QName> attributesMapping)
A shortcut that automatically creates the QName object
-
TargetElement
public TargetElement(QName mappedTagName)
Creates an TargetElement with no attributes, all attributes will be deleted from SAX stream
-
-
Method Detail
-
getMappedTagName
public QName getMappedTagName()
-
mapAttributes
public Attributes mapAttributes(Attributes atts)
-
-