com.openharbor.beck.unmarshal
Class ReferenceUnmarshaller

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

public class ReferenceUnmarshaller
extends DanglingUnmarshaller

Maps an XML cross-reference (e.g. an IDREF) to a Java reference.


Field Summary
 
Fields inherited from class com.openharbor.beck.unmarshal.DefaultUnmarshaller
data, documentState, log
 
Constructor Summary
ReferenceUnmarshaller()
           
 
Method Summary
protected  java.util.Map getMap(java.util.Map map, java.lang.Object key)
           
protected  java.util.Set getSet(java.util.Map map, java.lang.Object key)
           
 void startObject(java.util.Map documentState, Unmarshaller parent, XMLThing source)
          Begin mapping an object from an XML element or attribute.
 
Methods inherited from class com.openharbor.beck.unmarshal.DanglingUnmarshaller
afterEndObject, disengaged, setParentAndSource
 
Methods inherited from class com.openharbor.beck.unmarshal.DefaultUnmarshaller
addChild, addToParent, addValue, disengage, endElement, endObject, engage, getChildClass, getMapFromXML, getObject, getObjectClass, getParent, getSource, getSourceXPath, getXMLContext, getXName, getXPath, isEngaged, newObject, processAttributes, referToThis, reset, rethrow, setMapFromXML, setObject, setObjectClass, setValue, setXMLContext, startElement, toString, trim
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceUnmarshaller

public ReferenceUnmarshaller()
Method Detail

startObject

public void startObject(java.util.Map documentState,
                        Unmarshaller parent,
                        XMLThing source)
                 throws java.lang.Exception
Description copied from interface: Unmarshaller
Begin mapping an object from an XML element or attribute.

Specified by:
startObject in interface Unmarshaller
Overrides:
startObject in class DefaultUnmarshaller
Throws:
java.lang.Exception

getMap

protected java.util.Map getMap(java.util.Map map,
                               java.lang.Object key)
Overrides:
getMap in class DefaultUnmarshaller

getSet

protected java.util.Set getSet(java.util.Map map,
                               java.lang.Object key)