public interface OperationRequestAddress extends Iterable<OperationRequestAddress.Node>
Modifier and Type | Interface and Description |
---|---|
static interface |
OperationRequestAddress.Node |
Modifier and Type | Method and Description |
---|---|
boolean |
endsOnType()
Checks whether the prefix ends on a node type or a node name.
|
String |
getNodeName()
Returns the node name of the last node.
|
String |
getNodeType()
Returns the node type of the last node.
|
boolean |
isEmpty()
Checks whether the prefix is empty.
|
void |
reset()
Resets the prefix, i.e.
|
void |
toNode(String nodeName)
Appends the node name to the prefix.
|
void |
toNode(String nodeType,
String nodeName)
Appends the node to the prefix.
|
String |
toNodeType()
Sets the current prefix to the node type of the current node,
i.e.
|
void |
toNodeType(String nodeType)
Appends the node type to the prefix.
|
OperationRequestAddress.Node |
toParentNode()
Removes the last node in the prefix, i.e.
|
void toNodeType(String nodeType)
nodeType
- the node type to append to the prefix.void toNode(String nodeName)
nodeName
- the node name to append to the prefix.void toNode(String nodeType, String nodeName)
nodeType
- the node type of the node to append to the prefixnodeName
- the node name of the node to append to the prefixString toNodeType()
OperationRequestAddress.Node toParentNode()
void reset()
boolean endsOnType()
boolean isEmpty()
String getNodeType()
String getNodeName()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.