Class Text
- java.lang.Object
-
- com.amazon.ionpathextraction.pathcomponents.PathComponent
-
- com.amazon.ionpathextraction.pathcomponents.Text
-
public final class Text extends PathComponent
Text path component matches struct field names, example.data: {foo: [1,2,3], bar: { baz: [1] }} search path | callback invoked with reader at ------------|-------------------- (foo) | [1, 2, 3] (bar baz) | [1]
-
-
Constructor Summary
Constructors Constructor Description Text(java.lang.String fieldName, java.lang.String[] annotations)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
innerMatches(MatchContext context)
Called byPathComponent.matches(MatchContext)
after applying the standard matching logic.-
Methods inherited from class com.amazon.ionpathextraction.pathcomponents.PathComponent
matches
-
-
-
-
Method Detail
-
innerMatches
public boolean innerMatches(MatchContext context)
Description copied from class:PathComponent
Called byPathComponent.matches(MatchContext)
after applying the standard matching logic. Subclasses must implement their specific matching logic in this method.- Specified by:
innerMatches
in classPathComponent
-
-