public static interface Path.TypeProvider
| Modifier and Type | Method and Description |
|---|---|
Path.Segment |
deduceSegment(String type,
String id,
boolean isLast)
This is called during parsing of a single segment when the built-in defaults cannot determine the type and
id to use for segment.
|
void |
finished()
Called when the parsing of the path finishes (either successfully or unsuccessfully).
|
void |
segmentParsed(Path.Segment segment)
This method gets called during the parsing process after a segment is successfully parsed.
|
void segmentParsed(Path.Segment segment)
segment - the segment parsedPath.Segment deduceSegment(String type, String id, boolean isLast)
If this method returns null, the parsing of the path will fail with an IllegalArgumentException.
type - the parsed type nameid - the parsed idisLast - true if the parsed segment is the last in the pathvoid finished()
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.