|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.lehmannet.om.Observations
public class Observations
The Observations element is the root element of a
schema element. All other schema elements are
grouped below Observations.
The object itself contains no astronomical data but
provides XML namespaces, and schema element containers.
A schema element container groups multiple
schema elements of one and the same type.
E.g.
More observer stuff goes here
More observer stuff goes here
In this example
Also the Observations object contains the
serializeToSchema() method, that will create
a schema valid XML file.
Field Summary
static java.lang.StringXML_NS
static java.lang.StringXML_NS_KEY
static java.lang.StringXML_SCHEMA_LOCATION
static java.lang.StringXML_SCHEMA_LOCATION_KEY
static java.lang.StringXML_SCHEMA_VERSION
static java.lang.StringXML_SCHEMA_VERSION_KEY
static java.lang.StringXML_SI
static java.lang.StringXML_SI_KEY
Constructor Summary
Observations()
Method Summary
voidaddObservation(IObservation observation)
voidaddObservations(Observations observations)
java.util.CollectiongetObservations()
voidserializeAsXml(java.io.File xmlFile)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
XML_NS_KEY
public static final java.lang.String XML_NS_KEY
XML_NS
public static final java.lang.String XML_NS
XML_SI_KEY
public static final java.lang.String XML_SI_KEY
XML_SI
public static final java.lang.String XML_SI
XML_SCHEMA_LOCATION_KEY
public static final java.lang.String XML_SCHEMA_LOCATION_KEY
XML_SCHEMA_LOCATION
public static final java.lang.String XML_SCHEMA_LOCATION
XML_SCHEMA_VERSION_KEY
public static final java.lang.String XML_SCHEMA_VERSION_KEY
XML_SCHEMA_VERSION
public static final java.lang.String XML_SCHEMA_VERSION
Constructor Detail
Observations
public Observations()
Method Detail
getObservations
public java.util.Collection getObservations()
addObservations
public void addObservations(Observations observations)
throws SchemaException
SchemaException
addObservation
public void addObservation(IObservation observation)
throws SchemaException
SchemaException
serializeAsXml
public void serializeAsXml(java.io.File xmlFile)
throws SchemaException
SchemaException
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD