dsto.dfc.databeans.io
Class LazyTypeMap
java.lang.Object
dsto.dfc.collections.TypeMap
dsto.dfc.databeans.io.LazyTypeMap
public final class LazyTypeMap
- extends TypeMap
Extends TypeMap to add lazy creation of the value mapped to a class.
If a value retrieved by get () is a string, then it is treated as a class
name, instantiated using the default constructor, and substituted as the
mapped value. This can be used to defer loading of codecs that are specific
to a given environment eg AWT, SWT, etc.
- Version:
- $Revision$
- Author:
- mpp
- See Also:
LazyElementMap
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyTypeMap
public LazyTypeMap()
LazyTypeMap
public LazyTypeMap(LazyTypeMap map)
get
public Object get(Class type)
- Overrides:
get
in class TypeMap
Copyright © 2008 Commonwealth of Australia