public final class PathImpl extends Object implements Path, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_PATH_SEPARATOR |
static String |
RETURN_VALUE_NODE_NAME |
| Modifier and Type | Method and Description |
|---|---|
NodeImpl |
addNode(String nodeName) |
String |
asString() |
static PathImpl |
createCopy(PathImpl path) |
static PathImpl |
createCopyWithElementDescriptorsAttached(PathImpl path,
List<ElementDescriptor> elementDescriptors) |
static PathImpl |
createPathForExecutable(ExecutableElement executable) |
static PathImpl |
createPathFromString(String propertyPath)
Returns a
Path instance representing the path described by the
given string. |
static PathImpl |
createRootPath() |
boolean |
equals(Object obj) |
NodeImpl |
getLeafNode() |
PathImpl |
getPathWithoutLeafNode() |
int |
hashCode() |
boolean |
isRootPath() |
Iterator<Path.Node> |
iterator() |
NodeImpl |
makeLeafNodeIterable() |
NodeImpl |
setLeafNodeIndex(Integer index) |
NodeImpl |
setLeafNodeMapKey(Object key) |
String |
toString() |
public static final String PROPERTY_PATH_SEPARATOR
public static final String RETURN_VALUE_NODE_NAME
public static PathImpl createPathFromString(String propertyPath)
Path instance representing the path described by the
given string. To create a root node the empty string should be passed.propertyPath - the path as string representation.Path instance representing the path described by the
given string.IllegalArgumentException - in case property == null or
property cannot be parsed.public static PathImpl createPathForExecutable(ExecutableElement executable)
public static PathImpl createRootPath()
public static PathImpl createCopyWithElementDescriptorsAttached(PathImpl path, List<ElementDescriptor> elementDescriptors)
public final boolean isRootPath()
public final PathImpl getPathWithoutLeafNode()
public final NodeImpl makeLeafNodeIterable()
public final NodeImpl getLeafNode()
public final String asString()
Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved