| Modifier and Type | Field and Description |
|---|---|
| public static final Pattern | |
| public static final Pattern | |
| public static final Pattern | FLOAT
The regular expression is taken from the 1.2 specification but '_'s are added to keep backwards compatibility |
| public static final Pattern | |
| public static final Pattern | |
| public static final Pattern | |
| public static final Pattern | |
| public static final Pattern | |
| public static final Pattern | |
| protected Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| 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, int - the limit of the value to analyze. The limit is here only to fight the DoS
attack when huge values are provided, and it may lead to slow pattern evaluation limit)Add a resolver to resolve a value that matches the provided regular expression to the provided tag |
| protected void | |
| public Tag |
| BOOL | back to summary |
|---|---|
| public static final Pattern BOOL | |
| EMPTY | back to summary |
|---|---|
| public static final Pattern EMPTY | |
| FLOAT | back to summary |
|---|---|
| public static final Pattern FLOAT The regular expression is taken from the 1.2 specification but '_'s are added to keep backwards compatibility | |
| INT | back to summary |
|---|---|
| public static final Pattern INT | |
| MERGE | back to summary |
|---|---|
| public static final Pattern MERGE | |
| NULL | back to summary |
|---|---|
| public static final Pattern NULL | |
| TIMESTAMP | back to summary |
|---|---|
| public static final Pattern TIMESTAMP | |
| VALUE | back to summary |
|---|---|
| public static final Pattern VALUE | |
| YAML | back to summary |
|---|---|
| public static final Pattern YAML | |
| yamlImplicitResolvers | back to summary |
|---|---|
| protected Map<Character, List<ResolverTuple>> yamlImplicitResolvers | |
| Resolver | back to summary |
|---|---|
| public Resolver() | |
| addImplicitResolver | back to summary |
|---|---|
| public void addImplicitResolver(Tag tag, Pattern regexp, String first) | |
| addImplicitResolver | back to summary |
|---|---|
| public void addImplicitResolver(Tag tag, Pattern regexp, String first, int limit) Add a resolver to resolve a value that matches the provided regular expression to the provided tag
| |
| addImplicitResolvers | back to summary |
|---|---|
| protected void addImplicitResolvers() | |
| resolve | back to summary |
|---|---|
| public Tag resolve(NodeId kind, String value, boolean implicit) | |