dsto.dfc.databeans.io
Class LazyElementMap

java.lang.Object
  extended by dsto.dfc.databeans.io.LazyElementMap

public final class LazyElementMap
extends Object

Provides a mapping from an XML element type to a decoder for that type. Decoders may be either be XmlDecoder instances, or a class name for which an instance is lazily instantiated on demand.

Version:
$Revision$
Author:
mpp
See Also:
LazyTypeMap

Constructor Summary
LazyElementMap()
           
LazyElementMap(LazyElementMap t)
           
 
Method Summary
 XmlDecoder get(String type)
           
 void put(String type, String decoderClassName)
           
 void put(String type, XmlDecoder decoder)
           
 void remove(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyElementMap

public LazyElementMap()

LazyElementMap

public LazyElementMap(LazyElementMap t)
Method Detail

put

public void put(String type,
                XmlDecoder decoder)

put

public void put(String type,
                String decoderClassName)

remove

public void remove(String type)

get

public XmlDecoder get(String type)


Copyright © 2008 Commonwealth of Australia