Package org.snakeyaml.engine.v2.resolver
Interface ScalarResolver
-
- All Known Implementing Classes:
BaseScalarResolver
,CoreScalarResolver
,FailsafeScalarResolver
,JsonScalarResolver
public interface ScalarResolver
ScalarResolver 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 Tag
resolve(java.lang.String value, java.lang.Boolean implicit)
Resolve (detect) the tag of the scalar node of the given type.
-
-
-
Method Detail
-
resolve
Tag resolve(java.lang.String value, java.lang.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
-
-