public final class PathImpl extends Object implements javax.validation.Path, Serializable
javax.validation.Path.javax.validation.Path.BeanNode, javax.validation.Path.ConstructorNode, javax.validation.Path.CrossParameterNode, javax.validation.Path.MethodNode, javax.validation.Path.Node, javax.validation.Path.ParameterNode, javax.validation.Path.PropertyNode, javax.validation.Path.ReturnValueNode| Modifier and Type | Method and Description |
|---|---|
NodeImpl |
addBeanNode() |
NodeImpl |
addCrossParameterNode() |
NodeImpl |
addParameterNode(String nodeName,
int index) |
NodeImpl |
addPropertyNode(String nodeName) |
NodeImpl |
addReturnValueNode() |
String |
asString() |
static PathImpl |
createCopy(PathImpl path) |
static PathImpl |
createPathForExecutable(ExecutableMetaData 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<javax.validation.Path.Node> |
iterator() |
NodeImpl |
makeLeafNodeIterable() |
NodeImpl |
setLeafNodeIndex(Integer index) |
NodeImpl |
setLeafNodeMapKey(Object key) |
String |
toString() |
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(ExecutableMetaData executable)
public static PathImpl createRootPath()
public boolean isRootPath()
public PathImpl getPathWithoutLeafNode()
public NodeImpl addCrossParameterNode()
public NodeImpl addBeanNode()
public NodeImpl addReturnValueNode()
public NodeImpl makeLeafNodeIterable()
public NodeImpl getLeafNode()
public Iterator<javax.validation.Path.Node> iterator()
public String asString()
Copyright © 2009-2015 Oracle Corporation. All Rights Reserved.