Documentation of 'org.yaml.snakeyaml.resolver.Resolver' Java class
Resolver
org.yaml.snakeyaml.resolver

Class Resolver



  • public class Resolver
    extends java.lang.Object
    Resolver tries to detect a type by content (when the tag is implicit)
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.util.regex.Pattern BOOL 
      static java.util.regex.Pattern EMPTY 
      static java.util.regex.Pattern FLOAT
      The regular expression is taken from the 1.2 specification but '_'s are added to keep backwards compatibility
      static java.util.regex.Pattern INT 
      static java.util.regex.Pattern MERGE 
      static java.util.regex.Pattern NULL 
      static java.util.regex.Pattern TIMESTAMP 
      static java.util.regex.Pattern VALUE 
      static java.util.regex.Pattern YAML 
    • Constructor Summary

      Constructors 
      Constructor and Description
      Resolver() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addImplicitResolver(Tag tag, java.util.regex.Pattern regexp, java.lang.String first) 
      Tag resolve(NodeId kind, java.lang.String value, boolean implicit) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BOOL

        public static final java.util.regex.Pattern BOOL
      • FLOAT

        public static final java.util.regex.Pattern FLOAT
        The regular expression is taken from the 1.2 specification but '_'s are added to keep backwards compatibility
      • INT

        public static final java.util.regex.Pattern INT
      • MERGE

        public static final java.util.regex.Pattern MERGE
      • NULL

        public static final java.util.regex.Pattern NULL
      • EMPTY

        public static final java.util.regex.Pattern EMPTY
      • TIMESTAMP

        public static final java.util.regex.Pattern TIMESTAMP
      • VALUE

        public static final java.util.regex.Pattern VALUE
      • YAML

        public static final java.util.regex.Pattern YAML
    • Constructor Detail

      • Resolver

        public Resolver()
    • Method Detail

      • addImplicitResolver

        public void addImplicitResolver(Tag tag,
                                        java.util.regex.Pattern regexp,
                                        java.lang.String first)
      • resolve

        public Tag resolve(NodeId kind,
                           java.lang.String value,
                           boolean implicit)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.