|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.visad.VisADPersistence
public class VisADPersistence
A class for supporting XML delegates for VisAD objects.
| Field Summary | |
|---|---|
static String |
ATTR_AMOUNT
attribute for scaled unit amount |
static String |
ATTR_NAME
attribute for scaled unit name |
| Method Summary | |
|---|---|
static Unit |
createUnit(XmlEncoder e,
Element o)
Create a unit from the XML |
static Class |
getUnitClass(Unit unit)
Get the Unit class |
static void |
init(XmlEncoder encoder)
Initialize a new VisADPersistence with the encoder |
static void |
main(String[] args)
Test by running java ucar.visad.VisADPersistence |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ATTR_AMOUNT
public static final String ATTR_NAME
| Method Detail |
|---|
public static void init(XmlEncoder encoder)
encoder - encoder to uspublic static Class getUnitClass(Unit unit)
unit - unit
public static Unit createUnit(XmlEncoder e,
Element o)
throws VisADException
e - the encodero - the XML element
VisADException - problem creating the unitpublic static void main(String[] args)
args - arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||