org.jvyamlb
Class ConstructorImpl

java.lang.Object
  extended by org.jvyamlb.BaseConstructorImpl
      extended by org.jvyamlb.SafeConstructorImpl
          extended by org.jvyamlb.ConstructorImpl
All Implemented Interfaces:
Constructor
Direct Known Subclasses:
JRubyConstructor

public class ConstructorImpl
extends SafeConstructorImpl

Author:
Ola Bini

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jvyamlb.BaseConstructorImpl
BaseConstructorImpl.YamlMultiAdapter
 
Nested classes/interfaces inherited from interface org.jvyamlb.Constructor
Constructor.RecursiveFixer, Constructor.YamlConstructor, Constructor.YamlMultiConstructor
 
Field Summary
 
Fields inherited from class org.jvyamlb.BaseConstructorImpl
CONSTRUCT_MAPPING, CONSTRUCT_PRIMITIVE, CONSTRUCT_PRIVATE, CONSTRUCT_SCALAR, CONSTRUCT_SEQUENCE
 
Constructor Summary
ConstructorImpl(Composer composer)
           
 
Method Summary
static void addConstructor(java.lang.String tag, Constructor.YamlConstructor ctor)
           
static void addMultiConstructor(java.lang.String tagPrefix, Constructor.YamlMultiConstructor ctor)
           
 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.SafeConstructorImpl
constructJava, constructSpecializedMap, constructSpecializedSequence, constructUndefined, constructYamlBinary, constructYamlBool, constructYamlFloat, constructYamlInt, constructYamlMap, constructYamlNull, constructYamlOmap, constructYamlPairs, constructYamlSeq, constructYamlSet, constructYamlStr, constructYamlTimestamp
 
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
 

Constructor Detail

ConstructorImpl

public ConstructorImpl(Composer composer)
Method Detail

getYamlConstructor

public Constructor.YamlConstructor getYamlConstructor(java.lang.Object key)
Overrides:
getYamlConstructor in class SafeConstructorImpl

getYamlMultiConstructor

public Constructor.YamlMultiConstructor getYamlMultiConstructor(java.lang.Object key)
Overrides:
getYamlMultiConstructor in class SafeConstructorImpl

getYamlMultiRegexp

public java.util.regex.Pattern getYamlMultiRegexp(java.lang.Object key)
Overrides:
getYamlMultiRegexp in class SafeConstructorImpl

getYamlMultiRegexps

public java.util.Set getYamlMultiRegexps()
Overrides:
getYamlMultiRegexps in class SafeConstructorImpl

addConstructor

public static void addConstructor(java.lang.String tag,
                                  Constructor.YamlConstructor ctor)

addMultiConstructor

public static void addMultiConstructor(java.lang.String tagPrefix,
                                       Constructor.YamlMultiConstructor ctor)

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.