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 java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TargetElement(java.lang.String mappedTagURI, java.lang.String mappedTagLocalName)
A shortcut that automatically creates the QName objectTargetElement(java.lang.String mappedTagURI, java.lang.String mappedTagLocalName, java.util.Map<javax.xml.namespace.QName,javax.xml.namespace.QName> attributesMapping)
A shortcut that automatically creates the QName objectTargetElement(javax.xml.namespace.QName mappedTagName)
Creates an TargetElement with no attributes, all attributes will be deleted from SAX streamTargetElement(javax.xml.namespace.QName mappedTagName, java.util.Map<javax.xml.namespace.QName,javax.xml.namespace.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 java.util.Map<javax.xml.namespace.QName,javax.xml.namespace.QName>
getAttributesMapping()
javax.xml.namespace.QName
getMappedTagName()
org.xml.sax.Attributes
mapAttributes(org.xml.sax.Attributes atts)
-
-
-
Constructor Detail
-
TargetElement
public TargetElement(javax.xml.namespace.QName mappedTagName, java.util.Map<javax.xml.namespace.QName,javax.xml.namespace.QName> attributesMapping)
Creates an TargetElement, attributes of this element will be mapped as specified
-
TargetElement
public TargetElement(java.lang.String mappedTagURI, java.lang.String mappedTagLocalName, java.util.Map<javax.xml.namespace.QName,javax.xml.namespace.QName> attributesMapping)
A shortcut that automatically creates the QName object
-
TargetElement
public TargetElement(javax.xml.namespace.QName mappedTagName)
Creates an TargetElement with no attributes, all attributes will be deleted from SAX stream
-
TargetElement
public TargetElement(java.lang.String mappedTagURI, java.lang.String mappedTagLocalName)
A shortcut that automatically creates the QName object
-
-