com.openharbor.beck.unmarshal
Class PrimitiveUnmarshaller

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

public class PrimitiveUnmarshaller
extends DefaultUnmarshaller

Maps to a Java primitive type or primitive wrapper object.


Field Summary
 
Fields inherited from class com.openharbor.beck.unmarshal.DefaultUnmarshaller
data, documentState, log
 
Constructor Summary
PrimitiveUnmarshaller()
           
 
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
 

Constructor Detail

PrimitiveUnmarshaller

public PrimitiveUnmarshaller()
Method Detail

newObject

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

setValue

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

Overrides:
setValue in class DefaultUnmarshaller