public class UnknownDataContainer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected HashMap |
unknownAttributes |
protected HashMap |
unknownElements_QN_2_List |
| Constructor and Description |
|---|
UnknownDataContainer()
Constructor
|
UnknownDataContainer(UnknownDataContainer container)
Copy Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addUnknownAttribute(QName attributeName,
java.lang.String value) |
void |
addUnknownElement(QName elementName,
java.lang.Object element) |
java.lang.String |
getUnknownAttribute(QName elementName) |
HashMap |
getUnknownAttributes()
Returns a map containing all unknown attributes of this XML container.
|
java.lang.Object |
getUnknownElement(QName elementName)
Returns the first object with the given element name.
|
HashMap |
getUnknownElements()
Returns a map containing all unknown elements of this XML container.
|
List |
getUnknownElements(QName elementName)
Gets list of elements with given name.
|
void |
setUnknownAttributes(HashMap attributes) |
void |
setUnknownElements(HashMap elements) |
java.lang.String |
toString() |
protected HashMap unknownAttributes
protected HashMap unknownElements_QN_2_List
public UnknownDataContainer()
public UnknownDataContainer(UnknownDataContainer container)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getUnknownAttribute(QName elementName)
public java.lang.Object getUnknownElement(QName elementName)
elementName - element namepublic List getUnknownElements(QName elementName)
elementName - element namepublic HashMap getUnknownAttributes()
QName and reflect the qualified names of the attributes, whereas the values
represent the corresponding attribute values as string.public void setUnknownAttributes(HashMap attributes)
attributes - public HashMap getUnknownElements()
QName and reflect the qualified names of the elements whereas the values
are of type List and contain an entry for each child element with the same qualified
name.public void setUnknownElements(HashMap elements)
elements - public void addUnknownAttribute(QName attributeName, java.lang.String value)
attributeName - the name of the unknown attributevalue - the attribute's value represented as a Java stringpublic void addUnknownElement(QName elementName, java.lang.Object element)
elementName - the name of the unknown elementelement - the element represented as a Java object