Package org.apache.bval.jsr.util
Class PathImpl.Builder
- java.lang.Object
-
- org.apache.bval.jsr.util.PathImpl.Builder
-
- All Implemented Interfaces:
PathNavigation.Callback<PathImpl>
- Enclosing class:
- PathImpl
public static class PathImpl.Builder extends Object implements PathNavigation.Callback<PathImpl>
Builds non-root paths from expressions.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleGenericInIterable()Handle contiguous [].voidhandleIndexOrKey(String value)Handle an index or key embedded in [].voidhandleProperty(String name)Handle a .-delimited property.PathImplresult()Return a result.
-
-
-
Method Detail
-
handleProperty
public void handleProperty(String name)
Handle a .-delimited property.- Specified by:
handlePropertyin interfacePathNavigation.Callback<PathImpl>
-
handleIndexOrKey
public void handleIndexOrKey(String value)
Handle an index or key embedded in [].- Specified by:
handleIndexOrKeyin interfacePathNavigation.Callback<PathImpl>
-
result
public PathImpl result()
Return a result. Called after navigation is complete.- Specified by:
resultin interfacePathNavigation.Callback<PathImpl>- Returns:
- result
-
handleGenericInIterable
public void handleGenericInIterable()
Handle contiguous [].- Specified by:
handleGenericInIterablein interfacePathNavigation.Callback<PathImpl>
-
-