Class Text
java.lang.Object
com.amazon.ionpathextraction.pathcomponents.PathComponent
com.amazon.ionpathextraction.pathcomponents.Text
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]
-
Field Summary
Fields inherited from class com.amazon.ionpathextraction.pathcomponents.PathComponent
annotations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
innerMatches
(MatchContext context) Called byPathComponent.matches(MatchContext)
after applying the standard matching logic.Methods inherited from class com.amazon.ionpathextraction.pathcomponents.PathComponent
getAnnotations, hasAnnotations, matches
-
Constructor Details
-
Text
Constructor.- Parameters:
fieldName
- component field name.
-
-
Method Details
-
getFieldName
-
innerMatches
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
-