public interface Node
Node
is used to represent a name value pair and
acts as the base form of data used within the framework. Each of
the attributes and elements are represented as nodes.Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the node that this represents.
|
Node |
getParent()
This is used to acquire the
Node that is the
parent of this node. |
String |
getValue()
Returns the value for the node that this represents.
|
String getName()
String getValue() throws Exception
Exception
- if there is a problem getting the valueNode getParent()
Node
that is the
parent of this node. This will return the node that is
the direct parent of this node and allows for siblings to
make use of nodes with their parents if required.Copyright © 2021 Alibaba Cloud Computing. All rights reserved.