Package org.yaml.snakeyaml.resolver
Class Resolver
- java.lang.Object
-
- org.yaml.snakeyaml.resolver.Resolver
-
public class Resolver extends Object
Resolver tries to detect a type by content (when the tag is implicit)
-
-
Field Summary
Fields Modifier and Type Field Description static PatternBOOLstatic PatternEMPTYstatic PatternFLOATThe regular expression is taken from the 1.2 specification but '_'s are added to keep backwards compatibilitystatic PatternINTstatic PatternMERGEstatic PatternNULLstatic PatternTIMESTAMPstatic PatternVALUEstatic PatternYAMLprotected Map<Character,List<org.yaml.snakeyaml.resolver.ResolverTuple>>yamlImplicitResolvers
-
Constructor Summary
Constructors Constructor Description Resolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddImplicitResolver(Tag tag, Pattern regexp, String first)protected voidaddImplicitResolvers()Tagresolve(NodeId kind, String value, boolean implicit)
-
-
-
Field Detail
-
BOOL
public static final Pattern BOOL
-
FLOAT
public static final Pattern FLOAT
The regular expression is taken from the 1.2 specification but '_'s are added to keep backwards compatibility
-
INT
public static final Pattern INT
-
MERGE
public static final Pattern MERGE
-
NULL
public static final Pattern NULL
-
EMPTY
public static final Pattern EMPTY
-
TIMESTAMP
public static final Pattern TIMESTAMP
-
VALUE
public static final Pattern VALUE
-
YAML
public static final Pattern YAML
-
-