org.jruby.yaml
Class JRubyConstructor
java.lang.Object
ConstructorImpl
org.jruby.yaml.JRubyConstructor
public class JRubyConstructor
- extends ConstructorImpl
- Author:
- Ola Bini
Method Summary |
static void |
addConstructor(java.lang.String tag,
YamlConstructor ctor)
|
static void |
addMultiConstructor(java.lang.String tagPrefix,
YamlMultiConstructor ctor)
|
static java.lang.Object |
constructJava(Constructor ctor,
java.lang.String pref,
Node node)
|
java.lang.Object |
constructPrivateType(Node node)
|
static java.lang.Object |
constructRuby(Constructor ctor,
RubyClass theCls,
Node node)
|
static java.lang.Object |
constructRuby(Constructor ctor,
java.lang.String tag,
Node node)
|
static java.lang.Object |
constructRubyException(Constructor ctor,
java.lang.String tag,
Node node)
|
static java.lang.Object |
constructRubyInt(Constructor ctor,
java.lang.String tag,
Node node)
|
static java.lang.Object |
constructRubyMap(Constructor ctor,
java.lang.String tag,
Node node)
|
java.lang.Object |
constructRubyMapping(Node node)
|
java.lang.Object |
constructRubyPairs(Node node)
|
static java.lang.Object |
constructRubyRange(Constructor ctor,
Node node)
|
static java.lang.Object |
constructRubyRegexp(Constructor ctor,
Node node)
|
java.lang.Object |
constructRubyScalar(Node node)
|
static java.lang.Object |
constructRubySequence(Constructor ctor,
java.lang.String tag,
Node node)
|
java.lang.Object |
constructRubySequence(Node node)
|
static java.lang.Object |
constructRubyString(Constructor ctor,
java.lang.String tag,
Node node)
|
static java.lang.Object |
constructRubyStruct(Constructor ctor,
java.lang.String tag,
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)
|
static java.lang.Object |
constructYamlTimestampYMD(Constructor ctor,
Node node)
|
static java.lang.Object |
findAndCreateFromCustomTagging(Constructor ctor,
Node node)
|
YamlConstructor |
getYamlConstructor(java.lang.Object key)
|
YamlMultiConstructor |
getYamlMultiConstructor(java.lang.Object key)
|
java.util.regex.Pattern |
getYamlMultiRegexp(java.lang.Object key)
|
java.util.Set |
getYamlMultiRegexps()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRubyConstructor
public JRubyConstructor(IRubyObject receiver,
Composer composer)
JRubyConstructor
public JRubyConstructor(Ruby runtime,
Composer composer)
getYamlConstructor
public YamlConstructor getYamlConstructor(java.lang.Object key)
getYamlMultiConstructor
public 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,
YamlConstructor ctor)
addMultiConstructor
public static void addMultiConstructor(java.lang.String tagPrefix,
YamlMultiConstructor ctor)
constructRubyScalar
public java.lang.Object constructRubyScalar(Node node)
constructPrivateType
public java.lang.Object constructPrivateType(Node node)
constructRubySequence
public java.lang.Object constructRubySequence(Node node)
constructRubyMapping
public java.lang.Object constructRubyMapping(Node node)
constructRubyPairs
public java.lang.Object constructRubyPairs(Node node)
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)
constructYamlTimestampYMD
public static java.lang.Object constructYamlTimestampYMD(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)
constructJava
public static java.lang.Object constructJava(Constructor ctor,
java.lang.String pref,
Node node)
constructRubyException
public static java.lang.Object constructRubyException(Constructor ctor,
java.lang.String tag,
Node node)
constructRubyStruct
public static java.lang.Object constructRubyStruct(Constructor ctor,
java.lang.String tag,
Node node)
constructRuby
public static java.lang.Object constructRuby(Constructor ctor,
RubyClass theCls,
Node node)
constructRuby
public static java.lang.Object constructRuby(Constructor ctor,
java.lang.String tag,
Node node)
constructRubyRegexp
public static java.lang.Object constructRubyRegexp(Constructor ctor,
Node node)
constructRubyRange
public static java.lang.Object constructRubyRange(Constructor ctor,
Node node)
findAndCreateFromCustomTagging
public static java.lang.Object findAndCreateFromCustomTagging(Constructor ctor,
Node node)
constructRubyInt
public static java.lang.Object constructRubyInt(Constructor ctor,
java.lang.String tag,
Node node)
constructRubyString
public static java.lang.Object constructRubyString(Constructor ctor,
java.lang.String tag,
Node node)
constructRubyMap
public static java.lang.Object constructRubyMap(Constructor ctor,
java.lang.String tag,
Node node)
constructRubySequence
public static java.lang.Object constructRubySequence(Constructor ctor,
java.lang.String tag,
Node node)
Copyright © 2002-2007 JRuby Team. All Rights Reserved.