org.jvyamlb
Class SafeConstructorImpl
java.lang.Object
org.jvyamlb.BaseConstructorImpl
org.jvyamlb.SafeConstructorImpl
- All Implemented Interfaces:
- Constructor
- Direct Known Subclasses:
- ConstructorImpl
- public class SafeConstructorImpl
- extends BaseConstructorImpl
- Author:
- Ola Bini
Method Summary |
static void |
addConstructor(java.lang.String tag,
Constructor.YamlConstructor ctor)
|
static void |
addMultiConstructor(java.lang.String tagPrefix,
Constructor.YamlMultiConstructor ctor)
|
static java.lang.Object |
constructJava(Constructor ctor,
java.lang.String pref,
Node node)
|
static java.lang.Object |
constructSpecializedMap(Constructor ctor,
java.lang.String pref,
Node node)
|
static java.lang.Object |
constructSpecializedSequence(Constructor ctor,
java.lang.String pref,
Node node)
|
static java.lang.Object |
constructUndefined(Constructor ctor,
Node node)
|
static java.lang.Object |
constructYamlBinary(Constructor ctor,
Node node)
|
static java.lang.Object |
constructYamlBool(Constructor ctor,
Node node)
|
static java.lang.Object |
constructYamlFloat(Constructor ctor,
Node node)
|
static java.lang.Object |
constructYamlInt(Constructor ctor,
Node node)
|
static java.lang.Object |
constructYamlMap(Constructor ctor,
Node node)
|
static java.lang.Object |
constructYamlNull(Constructor ctor,
Node node)
|
static java.lang.Object |
constructYamlOmap(Constructor ctor,
Node node)
|
static java.lang.Object |
constructYamlPairs(Constructor ctor,
Node node)
|
static java.lang.Object |
constructYamlSeq(Constructor ctor,
Node node)
|
static java.lang.Object |
constructYamlSet(Constructor ctor,
Node node)
|
static java.lang.Object |
constructYamlStr(Constructor ctor,
Node node)
|
static java.lang.Object |
constructYamlTimestamp(Constructor ctor,
Node node)
|
Constructor.YamlConstructor |
getYamlConstructor(java.lang.Object key)
|
Constructor.YamlMultiConstructor |
getYamlMultiConstructor(java.lang.Object key)
|
java.util.regex.Pattern |
getYamlMultiRegexp(java.lang.Object key)
|
java.util.Set |
getYamlMultiRegexps()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class org.jvyamlb.BaseConstructorImpl |
addFixer, checkData, constructDocument, constructMapping, constructObject, constructPairs, constructPrimitive, constructPrivateType, constructScalar, constructSequence, doRecursionFix, eachDocument, getData, iterator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SafeConstructorImpl
public SafeConstructorImpl(Composer composer)
getYamlConstructor
public Constructor.YamlConstructor getYamlConstructor(java.lang.Object key)
- Overrides:
getYamlConstructor
in class BaseConstructorImpl
getYamlMultiConstructor
public Constructor.YamlMultiConstructor getYamlMultiConstructor(java.lang.Object key)
- Overrides:
getYamlMultiConstructor
in class BaseConstructorImpl
getYamlMultiRegexp
public java.util.regex.Pattern getYamlMultiRegexp(java.lang.Object key)
- Overrides:
getYamlMultiRegexp
in class BaseConstructorImpl
getYamlMultiRegexps
public java.util.Set getYamlMultiRegexps()
- Overrides:
getYamlMultiRegexps
in class BaseConstructorImpl
addConstructor
public static void addConstructor(java.lang.String tag,
Constructor.YamlConstructor ctor)
addMultiConstructor
public static void addMultiConstructor(java.lang.String tagPrefix,
Constructor.YamlMultiConstructor ctor)
constructYamlNull
public static java.lang.Object constructYamlNull(Constructor ctor,
Node node)
constructYamlBool
public static java.lang.Object constructYamlBool(Constructor ctor,
Node node)
constructYamlOmap
public static java.lang.Object constructYamlOmap(Constructor ctor,
Node node)
constructYamlPairs
public static java.lang.Object constructYamlPairs(Constructor ctor,
Node node)
constructYamlSet
public static java.lang.Object constructYamlSet(Constructor ctor,
Node node)
constructYamlStr
public static java.lang.Object constructYamlStr(Constructor ctor,
Node node)
constructYamlSeq
public static java.lang.Object constructYamlSeq(Constructor ctor,
Node node)
constructYamlMap
public static java.lang.Object constructYamlMap(Constructor ctor,
Node node)
constructUndefined
public static java.lang.Object constructUndefined(Constructor ctor,
Node node)
constructYamlTimestamp
public static java.lang.Object constructYamlTimestamp(Constructor ctor,
Node node)
constructYamlInt
public static java.lang.Object constructYamlInt(Constructor ctor,
Node node)
constructYamlFloat
public static java.lang.Object constructYamlFloat(Constructor ctor,
Node node)
constructYamlBinary
public static java.lang.Object constructYamlBinary(Constructor ctor,
Node node)
constructSpecializedSequence
public static java.lang.Object constructSpecializedSequence(Constructor ctor,
java.lang.String pref,
Node node)
constructSpecializedMap
public static java.lang.Object constructSpecializedMap(Constructor ctor,
java.lang.String pref,
Node node)
constructJava
public static java.lang.Object constructJava(Constructor ctor,
java.lang.String pref,
Node node)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2002-2007 JRuby Team. All Rights Reserved.