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