public interface XmlNode
Modifier and Type | Field and Description |
---|---|
static int |
XML_TYPE_ATTRIBUTE
Attribute XML node type
|
static int |
XML_TYPE_ELEMENT
Element XML node type
|
static int |
XML_TYPE_NONE
XML type indicating no node
|
static int |
XML_TYPE_TEXT
Text XML node type
|
Modifier and Type | Method and Description |
---|---|
String |
getLocalName()
Returns the XML local name for this node.
|
String |
getNamespace()
Returns the namespace of this node.
|
String |
getPrefix()
Returns the namespace prefix for marshaling this node, or null
if the namespace should override the default namespace.
|
int |
getType()
Returns the XML node type.
|
boolean |
isNamespaceAware()
Returns true if a namespace was configured for this node, and is
therefore used to unmarshal and marshal the node.
|
boolean |
isNillable()
Returns whether this node is nillable.
|
boolean |
isRepeating()
Returns whether this node may repeat in the context of its immediate parent.
|
static final int XML_TYPE_TEXT
static final int XML_TYPE_ELEMENT
static final int XML_TYPE_ATTRIBUTE
static final int XML_TYPE_NONE
int getType()
XML_TYPE_NONE
,
XML_TYPE_ELEMENT
,
XML_TYPE_ATTRIBUTE
, or
XML_TYPE_TEXT
String getLocalName()
String getNamespace()
boolean isNamespaceAware()
String getPrefix()
boolean isNillable()
boolean isRepeating()