| Modifier and Type | Field and Description |
|---|---|
| public static final Pattern | EMPTY
No value indication |
| public static final Pattern | ENV_FORMAT
group 1: name, group 2: separator, group 3: value |
| protected Map | yamlImplicitResolvers
Map from the char to the resolver which may begin with this char |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addImplicitResolver(Tag
- the Tag to assign when the value matches tag, Pattern - the RE which is applied for every value regexp, String - the possible first characters (this is merely for performance improvement) to
skip RE evaluation to gain time first)Add a resolver to resolve a value that matches the provided regular expression to the provided tag |
| pack-priv abstract void | |
| public Tag | resolve(String value, Boolean implicit)
Implements org. Resolve (detect) the tag of the scalar node of the given type. |
| EMPTY | back to summary |
|---|---|
| public static final Pattern EMPTY No value indication | |
| ENV_FORMAT | back to summary |
|---|---|
| public static final Pattern ENV_FORMAT group 1: name, group 2: separator, group 3: value
| |
| yamlImplicitResolvers | back to summary |
|---|---|
| protected Map<Character, List<ResolverTuple>> yamlImplicitResolvers Map from the char to the resolver which may begin with this char | |
| BaseScalarResolver | back to summary |
|---|---|
| public BaseScalarResolver() Create | |
| addImplicitResolver | back to summary |
|---|---|
| public void addImplicitResolver(Tag tag, Pattern regexp, String first) Add a resolver to resolve a value that matches the provided regular expression to the provided tag | |
| addImplicitResolvers | back to summary |
|---|---|
| pack-priv abstract void addImplicitResolvers() Register all the resolvers to be applied | |
| resolve | back to summary |
|---|---|
| public Tag resolve(String value, Boolean implicit) Implements org. Doc from org. Resolve (detect) the tag of the scalar node of the given type.
| |