public static class ElementMappingContentHandler.TargetElement extends Object
Constructor and Description |
---|
ElementMappingContentHandler.TargetElement(QName mappedTagName)
Creates an TargetElement with no attributes, all attributes
will be deleted from SAX stream
|
ElementMappingContentHandler.TargetElement(QName mappedTagName,
Map<QName,QName> attributesMapping)
Creates an TargetElement, attributes of this element will
be mapped as specified
|
ElementMappingContentHandler.TargetElement(String mappedTagURI,
String mappedTagLocalName)
A shortcut that automatically creates the QName object
|
ElementMappingContentHandler.TargetElement(String mappedTagURI,
String mappedTagLocalName,
Map<QName,QName> attributesMapping)
A shortcut that automatically creates the QName object
|
Modifier and Type | Method and Description |
---|---|
Map<QName,QName> |
getAttributesMapping() |
QName |
getMappedTagName() |
Attributes |
mapAttributes(Attributes atts) |
public ElementMappingContentHandler.TargetElement(QName mappedTagName, Map<QName,QName> attributesMapping)
public ElementMappingContentHandler.TargetElement(String mappedTagURI, String mappedTagLocalName, Map<QName,QName> attributesMapping)
public ElementMappingContentHandler.TargetElement(QName mappedTagName)
public QName getMappedTagName()
public Attributes mapAttributes(Attributes atts)
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.