org.jibx.schema.codegen.custom
Class SchemaRootBase.ClassDecoratorUnmarshaller

java.lang.Object
  extended by org.jibx.schema.codegen.custom.SchemaRootBase.ExtensionUnmarshaller
      extended by org.jibx.schema.codegen.custom.SchemaRootBase.ClassDecoratorUnmarshaller
All Implemented Interfaces:
IUnmarshaller
Enclosing class:
SchemaRootBase

public static class SchemaRootBase.ClassDecoratorUnmarshaller
extends SchemaRootBase.ExtensionUnmarshaller

Unmarshaller for class decorator extension elements.


Constructor Summary
SchemaRootBase.ClassDecoratorUnmarshaller()
          Constructor.
 
Method Summary
protected  java.lang.Object createInstance(java.lang.String cname, UnmarshallingContext ctx)
          Create an instance of the appropriate class decorator class, to be used for unmarshalling.
 
Methods inherited from class org.jibx.schema.codegen.custom.SchemaRootBase.ExtensionUnmarshaller
isPresent, unmarshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaRootBase.ClassDecoratorUnmarshaller

public SchemaRootBase.ClassDecoratorUnmarshaller()
Constructor.

Method Detail

createInstance

protected java.lang.Object createInstance(java.lang.String cname,
                                          UnmarshallingContext ctx)
Create an instance of the appropriate class decorator class, to be used for unmarshalling. This always uses the default constructor for the specified class.

Specified by:
createInstance in class SchemaRootBase.ExtensionUnmarshaller
Parameters:
cname - class name from element (null if not supplied)
ctx - unmarshalling context
Returns:
object


Project Web Site