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
-
Method Details
-
resolve
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
-