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

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

public static class SchemaRootBase.SchemaTypeUnmarshaller
extends java.lang.Object
implements IUnmarshaller

Unmarshaller for schema-type elements.


Field Summary
private static java.lang.String ELEMENT_NAME
          Actual element name used in binding.
static StringArray s_allowedAttributes
          Enumeration of allowed attribute names
 
Constructor Summary
SchemaRootBase.SchemaTypeUnmarshaller()
           
 
Method Summary
 boolean isPresent(IUnmarshallingContext ictx)
          Check for element present.
 java.lang.Object unmarshal(java.lang.Object obj, IUnmarshallingContext ictx)
          Unmarshal instance of element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT_NAME

private static java.lang.String ELEMENT_NAME
Actual element name used in binding.


s_allowedAttributes

public static final StringArray s_allowedAttributes
Enumeration of allowed attribute names

Constructor Detail

SchemaRootBase.SchemaTypeUnmarshaller

public SchemaRootBase.SchemaTypeUnmarshaller()
Method Detail

isPresent

public boolean isPresent(IUnmarshallingContext ictx)
                  throws JiBXException
Check for element present.

Specified by:
isPresent in interface IUnmarshaller
Parameters:
ictx -
Returns:
true if present, false if not
Throws:
JiBXException - on error

unmarshal

public java.lang.Object unmarshal(java.lang.Object obj,
                                  IUnmarshallingContext ictx)
                           throws JiBXException
Unmarshal instance of element.

Specified by:
unmarshal in interface IUnmarshaller
Parameters:
obj - ignored (new instance always created)
ictx -
Returns:
unmarshalled instance
Throws:
JiBXException - on error


Project Web Site