|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.simulation.Unmarshal
The unmarshaler for Atlas objects, Unmarshal converts
xml descriptions into Java objects.
| Constructor Summary | |
protected |
Unmarshal()
Protected Constructor |
| Method Summary | |
Attitude |
getAttitude(org.w3c.dom.Element attitude_element)
Return the Attitude object that cooresponds to the argument |
Cartesian |
getCartesian(org.w3c.dom.Element cartesian_element)
Return the Cartesian object that cooresponds to the argument |
java.awt.Color |
getColor(org.w3c.dom.Element color_element)
Return the Color object that cooresponds to the argument |
DecimalAngle |
getDecimalAngle(org.w3c.dom.Element angle_element)
Return the DecimalAngle object that cooresponds to the argument |
static boolean |
getDisplayStatus(org.w3c.dom.Element e)
Return the state of the display status attribute of the argument element |
double |
getDoubleValue(org.w3c.dom.Element element)
Return the double value of the argument element |
Ellipsoid |
getEllipsoid(org.w3c.dom.Element ellipsoid_element)
Return the Ellipsoid object that cooresponds to the argument |
Ellipsoidal |
getEllipsoidal(org.w3c.dom.Element ellipsoidal_element)
Return the Ellipsoidal object that cooresponds to the argument |
Epoch |
getEpoch(org.w3c.dom.Element epoch_element)
Return the Epoch that cooresponds to the argument |
Identification |
getIdentification(org.w3c.dom.Element ident_element)
Return the Identification object that cooresponds to the argument |
static Unmarshal |
getInstance()
Return an Unmarshal instance |
Latitude |
getLatitude(org.w3c.dom.Element lat_element)
Return the Latitude object that cooresponds to the argument |
Length |
getLength(org.w3c.dom.Element length_element)
Return the Length object that cooresponds to the argument |
Longitude |
getLongitude(org.w3c.dom.Element lng_element)
Return the Longitude object that cooresponds to the argument |
Mass |
getMass(org.w3c.dom.Element mass_element)
Return the Mass object that cooresponds to the argument |
OrbitalElements |
getOrbitalElements(org.w3c.dom.Element oe_element,
World parent_world)
Return the OrbitalElements that coorespond to the argument |
Attitude |
getOrientationCoordinate(org.w3c.dom.Element orientation_element)
Return the Attitude coordinate that cooresponds to the argument |
Polar |
getPositionCoordinate(org.w3c.dom.Element position_element)
Return the Polar coordinate that cooresponds to the argument |
ReferenceFrame |
getReferenceFrame(org.w3c.dom.Element rf_element)
Return the ReferenceFrame object that cooresponds to the argument |
Satellite |
getSatellite(org.w3c.dom.Element sat_element,
World parent_world)
Return the Satellite object that cooresponds to the argument |
Spherical |
getSpherical(org.w3c.dom.Element spherical_element)
Return the Spherical object that cooresponds to the argument |
static boolean |
getState(java.lang.String attr,
org.w3c.dom.Element e)
Return the state of the specified attribute of the argument element |
static java.net.URL |
getURL(org.w3c.dom.Element url_element,
java.net.URL codeBase)
Return the URL found in the argument element |
static java.lang.String |
getUrlString(org.w3c.dom.Element u,
java.net.URL codeBase)
Return the url string found in the argument element |
static java.lang.String[] |
getUrlStrings(org.w3c.dom.Element e)
Return the array of url strings found in the argument element |
World |
getWorld(org.w3c.dom.Element world_element,
World parent_world)
Return the World object that cooresponds to the argument |
static void |
setDisplayStatus(org.w3c.dom.Element e,
boolean status)
Set the state of the display status attribute of the argument element |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Unmarshal()
| Method Detail |
public static Unmarshal getInstance()
Unmarshal instance
Unmarshal instancepublic Polar getPositionCoordinate(org.w3c.dom.Element position_element)
Polar coordinate that cooresponds to the argument
position_element - An xml descriptor of a Polar coordinate
Polar coordinate that cooresponds to the argumentpublic Attitude getOrientationCoordinate(org.w3c.dom.Element orientation_element)
Attitude coordinate that cooresponds to the argument
orientation_element - An xml descriptor of an Attitude coordinate
Attitude coordinate that cooresponds to the argument
public OrbitalElements getOrbitalElements(org.w3c.dom.Element oe_element,
World parent_world)
OrbitalElements that coorespond to the argument
oe_element - an xml descriptor of an OrbitalElements objectparent_world - The World that is the gravitational center for
the object described by the orbital elements
OrbitalElements that coorespond to the argumentpublic static java.lang.String[] getUrlStrings(org.w3c.dom.Element e)
e - The argument element
public static java.lang.String getUrlString(org.w3c.dom.Element u,
java.net.URL codeBase)
u - the url elementcodeBase - the codeBase (or context URL) for the application
public static java.net.URL getURL(org.w3c.dom.Element url_element,
java.net.URL codeBase)
URL found in the argument element
url_element - The element containing the url stringcodeBase - The codeBase (or context URL) for the application
URL or null if the url could not
be constructed.public Ellipsoid getEllipsoid(org.w3c.dom.Element ellipsoid_element)
Ellipsoid object that cooresponds to the argument
ellipsoid_element - An xml descriptor of a Ellipsoid object
Ellipsoid object that cooresponds to the argument
public World getWorld(org.w3c.dom.Element world_element,
World parent_world)
World object that cooresponds to the argument
world_element - An xml descriptor of a World objectparent_world - The World that is the orbital parent
descriptor
World object that cooresponds to the argument
public Satellite getSatellite(org.w3c.dom.Element sat_element,
World parent_world)
Satellite object that cooresponds to the argument
sat_element - An xml descriptor of a Satellite objectparent_world - The World that is the orbital parent
descriptor
Satellite object that cooresponds to the argumentpublic Identification getIdentification(org.w3c.dom.Element ident_element)
Identification object that cooresponds to the argument
ident_element - An xml descriptor of the Identification object
Identification objectpublic ReferenceFrame getReferenceFrame(org.w3c.dom.Element rf_element)
ReferenceFrame object that cooresponds to the argument
rf_element - An xml descriptor of a ReferenceFrame object
ReferenceFrame object that cooresponds to the argumentpublic java.awt.Color getColor(org.w3c.dom.Element color_element)
Color object that cooresponds to the argument
color_element - An xml descriptor of a Color object
Color object that cooresponds to the argumentpublic static boolean getDisplayStatus(org.w3c.dom.Element e)
e - The argument element
true if the display status attribute of the element
is set to true or does not exist, false otherwise
public static void setDisplayStatus(org.w3c.dom.Element e,
boolean status)
e - The argument elementstatus - The attribute state
public static boolean getState(java.lang.String attr,
org.w3c.dom.Element e)
attr - The identifier of the attributee - The argument element
true if the display status attribute of the element
is set to true, false otherwisepublic Attitude getAttitude(org.w3c.dom.Element attitude_element)
Attitude object that cooresponds to the argument
attitude_element - An xml descriptor of a Attitude object
Attitude object that cooresponds to the argumentpublic Cartesian getCartesian(org.w3c.dom.Element cartesian_element)
Cartesian object that cooresponds to the argument
cartesian_element - An xml descriptor of a Cartesian object
Cartesian object that cooresponds to the argumentpublic Spherical getSpherical(org.w3c.dom.Element spherical_element)
Spherical object that cooresponds to the argument
spherical_element - An xml descriptor of a Spherical object
Spherical object that cooresponds to the argumentpublic Ellipsoidal getEllipsoidal(org.w3c.dom.Element ellipsoidal_element)
Ellipsoidal object that cooresponds to the argument
ellipsoidal_element - An xml descriptor of a Ellipsoidal object
Ellipsoidal object that cooresponds to the argumentpublic DecimalAngle getDecimalAngle(org.w3c.dom.Element angle_element)
DecimalAngle object that cooresponds to the argument
angle_element - An xml descriptor of a DecimalAngle object
DecimalAngle object that cooresponds to the argumentpublic Longitude getLongitude(org.w3c.dom.Element lng_element)
Longitude object that cooresponds to the argument
lng_element - An xml descriptor of a Longitude object
Longitude object that cooresponds to the argumentpublic Latitude getLatitude(org.w3c.dom.Element lat_element)
Latitude object that cooresponds to the argument
lat_element - An xml descriptor of a Latitude object
Latitude object that cooresponds to the argumentpublic Length getLength(org.w3c.dom.Element length_element)
Length object that cooresponds to the argument
length_element - An xml descriptor of a Length object
Length object that cooresponds to the argumentpublic Mass getMass(org.w3c.dom.Element mass_element)
Mass object that cooresponds to the argument
mass_element - An xml descriptor of a Mass object
Mass object that cooresponds to the argumentpublic Epoch getEpoch(org.w3c.dom.Element epoch_element)
Epoch that cooresponds to the argument
epoch_element - An xml descriptor of an Epoch object
Epoch object that cooresponds to the argumentpublic double getDoubleValue(org.w3c.dom.Element element)
double value of the argument element
element - The argument
double value
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||