Package org.jibx.schema.codegen.custom
Class SchemaRootBase.SchemaTypeUnmarshaller
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description private static java.lang.String
ELEMENT_NAME
Actual element name used in binding.static StringArray
s_allowedAttributes
Enumeration of allowed attribute names
-
Constructor Summary
Constructors Constructor Description SchemaTypeUnmarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPresent(IUnmarshallingContext ictx)
Check for element present.java.lang.Object
unmarshal(java.lang.Object obj, IUnmarshallingContext ictx)
Unmarshal instance of element.
-
-
-
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
-
-
Method Detail
-
isPresent
public boolean isPresent(IUnmarshallingContext ictx) throws JiBXException
Check for element present.- Specified by:
isPresent
in interfaceIUnmarshaller
- 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 interfaceIUnmarshaller
- Parameters:
obj
- ignored (new instance always created)ictx
-- Returns:
- unmarshalled instance
- Throws:
JiBXException
- on error
-
-