T
- underlying xml node representation typepublic interface XmlFieldNode
Modifier and Type | Field and Description |
---|---|
static short |
ATTRIBUTE_NODE
The node is an
Attr . |
static short |
ELEMENT_NODE
The node is an
Element . |
static short |
TEXT_NODE
The node is a
Text node. |
static short |
UNKNOW_NODE
The node is an unknow node.
|
Modifier and Type | Method and Description |
---|---|
XmlFieldNode |
getDocumentNode()
Get the document node
|
Object |
getNode()
Get the underlying node
|
String |
getNodeName()
Get the xml node name of the underlying node
|
short |
getNodeType()
Get the node type.
|
XmlFieldNode |
getParentNode()
Retrieve the parent node
|
String |
getTextContent()
Get the node content as string.
|
boolean |
hasAttributes()
Check if the current node has attributes
|
void |
setTextContent(String textContent)
Set the node text content
|
static final short ATTRIBUTE_NODE
Attr
.static final short ELEMENT_NODE
Element
.static final short TEXT_NODE
Text
node.static final short UNKNOW_NODE
XmlFieldNode getDocumentNode()
Object getNode()
String getNodeName()
short getNodeType()
XmlFieldNode getParentNode()
String getTextContent()
boolean hasAttributes()
void setTextContent(String textContent)
textContent
- Copyright © 2011–2014. All rights reserved.