org.jvyaml
Class BaseConstructorImpl
java.lang.Object
org.jvyaml.BaseConstructorImpl
- All Implemented Interfaces:
- Constructor
- Direct Known Subclasses:
- SafeConstructorImpl
public class BaseConstructorImpl
- extends java.lang.Object
- implements Constructor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONSTRUCT_PRIMITIVE
public static final Constructor.YamlConstructor CONSTRUCT_PRIMITIVE
CONSTRUCT_SCALAR
public static final Constructor.YamlConstructor CONSTRUCT_SCALAR
CONSTRUCT_PRIVATE
public static final Constructor.YamlConstructor CONSTRUCT_PRIVATE
CONSTRUCT_SEQUENCE
public static final Constructor.YamlConstructor CONSTRUCT_SEQUENCE
CONSTRUCT_MAPPING
public static final Constructor.YamlConstructor CONSTRUCT_MAPPING
BaseConstructorImpl
public BaseConstructorImpl(Composer composer)
getYamlConstructor
public Constructor.YamlConstructor getYamlConstructor(java.lang.Object key)
getYamlMultiConstructor
public Constructor.YamlMultiConstructor getYamlMultiConstructor(java.lang.Object key)
getYamlMultiRegexp
public java.util.regex.Pattern getYamlMultiRegexp(java.lang.Object key)
getYamlMultiRegexps
public java.util.Set getYamlMultiRegexps()
addConstructor
public static void addConstructor(java.lang.String tag,
Constructor.YamlConstructor ctor)
addMultiConstructor
public static void addMultiConstructor(java.lang.String tagPrefix,
Constructor.YamlMultiConstructor ctor)
checkData
public boolean checkData()
- Specified by:
checkData
in interface Constructor
getData
public java.lang.Object getData()
- Specified by:
getData
in interface Constructor
eachDocument
public java.util.Iterator eachDocument()
- Specified by:
eachDocument
in interface Constructor
iterator
public java.util.Iterator iterator()
- Specified by:
iterator
in interface Constructor
constructDocument
public java.lang.Object constructDocument(Node node)
- Specified by:
constructDocument
in interface Constructor
constructObject
public java.lang.Object constructObject(Node node)
- Specified by:
constructObject
in interface Constructor
constructPrimitive
public java.lang.Object constructPrimitive(Node node)
- Specified by:
constructPrimitive
in interface Constructor
constructScalar
public java.lang.Object constructScalar(Node node)
- Specified by:
constructScalar
in interface Constructor
constructPrivateType
public java.lang.Object constructPrivateType(Node node)
- Specified by:
constructPrivateType
in interface Constructor
constructSequence
public java.lang.Object constructSequence(Node node)
- Specified by:
constructSequence
in interface Constructor
constructMapping
public java.lang.Object constructMapping(Node node)
- Specified by:
constructMapping
in interface Constructor
constructPairs
public java.lang.Object constructPairs(Node node)
- Specified by:
constructPairs
in interface Constructor
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception