public final class PathImpl extends Object implements javax.validation.Path, Serializable
Path
.Constructor and Description |
---|
PathImpl()
Creates a new path containing only the root (
null )
Node . |
Modifier and Type | Method and Description |
---|---|
PathImpl |
append(String name)
Create a new path with a node named
name appended to the
existing path. |
PathImpl |
appendIndex(String name,
int index)
Create a new path with an indexed node named
name appended to
the existing path. |
PathImpl |
appendIterable(String name)
Create a new path with an iterable node named
name appended to
the existing path. |
PathImpl |
appendKey(String name,
Object key)
Create a new path with a keyed node named
name appended to the
existing path. |
boolean |
equals(Object obj) |
javax.validation.Path.Node |
getLeafNode() |
PathImpl |
getPathWithoutLeafNode() |
int |
hashCode() |
Iterator<javax.validation.Path.Node> |
iterator() |
String |
toString() |
forEach, spliterator
public PathImpl()
null
)
Node
.public PathImpl append(String name)
name
appended to the
existing path.name
- public PathImpl appendIndex(String name, int index)
name
appended to
the existing path.name
- index
- public PathImpl appendIterable(String name)
name
appended to
the existing path.name
- public PathImpl appendKey(String name, Object key)
name
appended to the
existing path.name
- key
- public javax.validation.Path.Node getLeafNode()
public PathImpl getPathWithoutLeafNode()
public Iterator<javax.validation.Path.Node> iterator()
Copyright © 2016. All rights reserved.