com.openharbor.beck.unmarshal
Class EnumerationUnmarshaller

java.lang.Object
  extended bycom.openharbor.beck.unmarshal.DefaultUnmarshaller
      extended bycom.openharbor.beck.unmarshal.EnumerationUnmarshaller
All Implemented Interfaces:
MapFromXML.Aware, Unmarshaller

public class EnumerationUnmarshaller
extends DefaultUnmarshaller

Unmarshals an enumeration that has a static parse method.


Field Summary
protected static java.lang.Class[] STRING_PARAMETER
           
 
Fields inherited from class com.openharbor.beck.unmarshal.DefaultUnmarshaller
data, documentState, log
 
Constructor Summary
EnumerationUnmarshaller()
           
 
Method Summary
protected  java.lang.Object newObject()
           
protected  void setValue(java.lang.StringBuffer data)
          Convert the text and store the resulting data into the object.
 
Methods inherited from class com.openharbor.beck.unmarshal.DefaultUnmarshaller
addChild, addToParent, addValue, afterEndObject, disengage, disengaged, endElement, endObject, engage, getChildClass, getMap, getMapFromXML, getObject, getObjectClass, getParent, getSource, getSourceXPath, getXMLContext, getXName, getXPath, isEngaged, processAttributes, referToThis, reset, rethrow, setMapFromXML, setObject, setObjectClass, setParentAndSource, setXMLContext, startElement, startObject, toString, trim
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING_PARAMETER

protected static final java.lang.Class[] STRING_PARAMETER
Constructor Detail

EnumerationUnmarshaller

public EnumerationUnmarshaller()
Method Detail

newObject

protected java.lang.Object newObject()
Overrides:
newObject in class DefaultUnmarshaller

setValue

protected void setValue(java.lang.StringBuffer data)
                 throws java.lang.Exception
Description copied from class: DefaultUnmarshaller
Convert the text and store the resulting data into the object.

Overrides:
setValue in class DefaultUnmarshaller
Throws:
java.lang.Exception