Package org.snakeyaml.engine.v2.resolver
Interface ScalarResolver
-
- All Known Implementing Classes:
BaseScalarResolver,CoreScalarResolver,FailsafeScalarResolver,JsonScalarResolver
public interface ScalarResolverScalarResolver tries to detect a type of scalar value by its content (when the tag is implicit)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.snakeyaml.engine.v2.nodes.Tagresolve(String value, Boolean implicit)Resolve (detect) the tag of the scalar node of the given type.
-
-
-
Method Detail
-
resolve
org.snakeyaml.engine.v2.nodes.Tag resolve(String value, Boolean implicit)
Resolve (detect) the tag of the scalar node of the given type.- Parameters:
value- - the value of the scalar nodeimplicit- - true if there was no tag specified (the tag will be resolved)- Returns:
- the Tag that matches the contents
-
-