org.hibernate.jsr303.tck.util
Class TestUtil.PathImpl
java.lang.Object
org.hibernate.jsr303.tck.util.TestUtil.PathImpl
- All Implemented Interfaces:
- Iterable<javax.validation.Path.Node>, javax.validation.Path
- Enclosing class:
- TestUtil
public static class TestUtil.PathImpl
- extends Object
- implements javax.validation.Path
| Nested classes/interfaces inherited from interface javax.validation.Path |
javax.validation.Path.Node |
createPathFromString
public static TestUtil.PathImpl createPathFromString(String propertyPath)
- Returns a
Path instance representing the path described by the given string. To create a root node the empty string should be passed.
- Parameters:
propertyPath - the path as string representation.
- Returns:
- a
Path instance representing the path described by the given string.
- Throws:
IllegalArgumentException - in case property == null or property cannot be parsed.
createNewPath
public static TestUtil.PathImpl createNewPath(String name)
addNode
public void addNode(javax.validation.Path.Node node)
iterator
public Iterator<javax.validation.Path.Node> iterator()
- Specified by:
iterator in interface Iterable<javax.validation.Path.Node>
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2008-2011. All Rights Reserved.