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 void
handleGenericInIterable()
Handle contiguous [].void
handleIndexOrKey(String value)
Handle an index or key embedded in [].void
handleProperty(String name)
Handle a .-delimited property.PathImpl
result()
Return a result.
-
-
-
Method Detail
-
handleProperty
public void handleProperty(String name)
Handle a .-delimited property.- Specified by:
handleProperty
in interfacePathNavigation.Callback<PathImpl>
-
handleIndexOrKey
public void handleIndexOrKey(String value)
Handle an index or key embedded in [].- Specified by:
handleIndexOrKey
in interfacePathNavigation.Callback<PathImpl>
-
result
public PathImpl result()
Return a result. Called after navigation is complete.- Specified by:
result
in interfacePathNavigation.Callback<PathImpl>
- Returns:
- result
-
handleGenericInIterable
public void handleGenericInIterable()
Handle contiguous [].- Specified by:
handleGenericInIterable
in interfacePathNavigation.Callback<PathImpl>
-
-