|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.simulation.Marshal
The marshaler for atlas elements. Marshal converts Java objects into xml descriptions.
Angle,
Epoch,
Attitude,
Polar,
Ellipsoid,
Length,
Mass,
OrbitalElements,
Satellite,
ReferenceFrame,
Color,
Document,
Element| Constructor Summary | |
Marshal(org.w3c.dom.Document doc)
Construct a marshaler. |
|
| Method Summary | |
org.w3c.dom.Element |
createAttitude(Attitude attitude)
Create and return an Element cooresponding to the argument
Attitude object |
org.w3c.dom.Element |
createBox(boolean sensor,
Length scale,
java.awt.Color color)
Create and return a descriptor of a Box |
org.w3c.dom.Element |
createCartesian(Cartesian cartesian)
Create and return an Element cooresponding to the argument
Cartesian object |
org.w3c.dom.Element |
createColorCode(java.awt.Color color)
Create and return an Element cooresponding to the argument
Color object |
org.w3c.dom.Element |
createCone(boolean sensor,
Length scale,
java.awt.Color color)
Create and return a descriptor of a Cone |
org.w3c.dom.Element |
createCoveragePlatformComponent(java.lang.String name,
ReferenceFrame refFrame,
java.awt.Color color)
Create and return a platform component Element |
org.w3c.dom.Element |
createDecimalAngle(java.lang.String tag,
DecimalAngleUnit unit,
Angle angle)
Create and return an Element cooresponding to the argument
Angle object |
org.w3c.dom.Element |
createEllipsoid(Ellipsoid ellipsoid)
Create and return an Element cooresponding to the argument
Ellipsoid object |
org.w3c.dom.Element |
createEllipsoidal(Ellipsoidal ellipsoidal)
Create and return an Element cooresponding to the argument
Ellipsoidal object |
org.w3c.dom.Element |
createEllipticPathSystemComponent(java.lang.String name,
ReferenceFrame refFrame,
OrbitalElements oe,
java.awt.Color color)
Create and return an elliptic path component Element (a type of system component) |
org.w3c.dom.Element |
createEpoch(java.lang.String tag,
Epoch epoch)
Create and return an Element cooresponding to the argument
Epoch object |
org.w3c.dom.Element |
createEpoch(java.lang.String tag,
EpochFormatStyle style,
double julianDay)
Create and return an Element cooresponding to the arguments |
org.w3c.dom.Element |
createEpoch(java.lang.String tag,
EpochFormatStyle style,
Epoch epoch)
Create and return an Element cooresponding to the argument
Epoch object |
org.w3c.dom.Element |
createIdentification(Identification ident)
Create and return an identification Element |
org.w3c.dom.Element |
createInlinePlatformComponent(java.lang.String name,
java.lang.String type,
ReferenceFrame refFrame,
java.lang.String platformName,
Length scale,
org.w3c.dom.Element[] urlList)
Create and return a platform component Element |
org.w3c.dom.Element |
createInlineSystemComponent(java.lang.String name,
java.lang.String type,
ReferenceFrame refFrame,
Length scale,
org.w3c.dom.Element[] urlList)
Create and return a system component Element |
org.w3c.dom.Element |
createLength(java.lang.String tag,
Length length)
Create and return an Element cooresponding to the argument
Length object |
org.w3c.dom.Element |
createOrbitalElements(OrbitalElements orbitalElements)
Create and return an orbital element Element |
org.w3c.dom.Element |
createOrbitalLocator(SimNode from,
SimNode to)
Create and return an Element that contains the path to and
identifier of an SimNode component |
org.w3c.dom.Element |
createOrientation(Attitude attitude)
Create and return an orientation Element |
org.w3c.dom.Element |
createOrientationTrack(SimNode from,
SimNode to)
Create and return an orientation Element |
org.w3c.dom.Element |
createPosition(Polar coordinate)
Create and return a position Element |
org.w3c.dom.Element |
createPositionShadow(SimNode from,
SimNode to,
Length distance)
Create and return a position Element |
org.w3c.dom.Element |
createReferenceFrame(ReferenceFrame refFrame)
Create and return an Element cooresponding to the argument
ReferenceFrame object |
org.w3c.dom.Element |
createSatellite(Satellite satellite)
Create and return a satellite component Element |
org.w3c.dom.Element |
createSphere(boolean sensor,
Length scale,
java.awt.Color color)
Create and return a descriptor of a Sphere |
org.w3c.dom.Element |
createSpherePlatformComponent(java.lang.String name,
java.lang.String type,
ReferenceFrame refFrame,
boolean sensor,
Length scale,
java.awt.Color color)
Create and return a platform component Element |
org.w3c.dom.Element |
createSphereSystemComponent(java.lang.String name,
java.lang.String type,
ReferenceFrame refFrame,
boolean sensor,
Length scale,
java.awt.Color color)
Create and return a sphere component Element (a type of system component) |
org.w3c.dom.Element |
createSpherical(Spherical spherical)
Create and return an Element cooresponding to the argument
Spherical object |
org.w3c.dom.Element |
createUrl(java.lang.String path)
Create and return an Element cooresponding to the argument
url string |
org.w3c.dom.Element |
createViewpoint(java.lang.String name,
ReferenceFrame refFrame,
Polar position,
Attitude attitude)
Create and return a viewpoint Element at a fixed position and orientation |
org.w3c.dom.Element |
createViewpoint(java.lang.String name,
ReferenceFrame refFrame,
Polar position,
SimNode home,
SimNode target)
Create and return a viewpoint Element at a fixed position with an orientation
that tracks a target orbital object |
org.w3c.dom.Element |
createViewpoint(java.lang.String name,
ReferenceFrame refFrame,
SimNode home,
SimNode target,
Length distance,
Attitude attitude)
Create and return a viewpoint Element at a fixed orientation with a position
that shadows a target orbital object as viewed from a separate orbital object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Marshal(org.w3c.dom.Document doc)
| Method Detail |
public org.w3c.dom.Element createViewpoint(java.lang.String name,
ReferenceFrame refFrame,
Polar position,
Attitude attitude)
Element at a fixed position and orientation
name - the identifier of the viewpointrefFrame - the reference frame of the viewpointposition - the position coordinate of the viewpoint within the system and reference frameattitude - the orientation coordinate of the viewpoint within the system and reference frame
Element
public org.w3c.dom.Element createViewpoint(java.lang.String name,
ReferenceFrame refFrame,
SimNode home,
SimNode target,
Length distance,
Attitude attitude)
Element at a fixed orientation with a position
that shadows a target orbital object as viewed from a separate orbital object
name - the identifier of the viewpointrefFrame - the reference frame of the viewpointhome - the SimNode from which to shadow the target orbital objecttarget - the SimNode to be shadoweddistance - the distance from the origin of the home system to shadow the target systemattitude - the orientation coordinate of the viewpoint within the system and reference frame
Element
public org.w3c.dom.Element createViewpoint(java.lang.String name,
ReferenceFrame refFrame,
Polar position,
SimNode home,
SimNode target)
Element at a fixed position with an orientation
that tracks a target orbital object
name - the identifier of the viewpointrefFrame - the reference frame of the viewpointposition - the position coordinate of the viewpoint within the system and reference framehome - the SimNode from which to track the target orbital objecttarget - the SimNode to be tracked
Elementpublic org.w3c.dom.Element createPosition(Polar coordinate)
Element
coordinate - the position coordinate within the reference frame
Element
public org.w3c.dom.Element createPositionShadow(SimNode from,
SimNode to,
Length distance)
Element
from - the SimNode component that the position will shadow fromto - the SimNode component that the position will shadowdistance - the Length distance from the home world to shadow the orbiter at. If
the distance is null, the position will be shadowed at the orbiter's position
Element
public org.w3c.dom.Element createOrbitalLocator(SimNode from,
SimNode to)
Element that contains the path to and
identifier of an SimNode component
from - the source SimNode componentto - the target SimNode component
Elementpublic org.w3c.dom.Element createOrientation(Attitude attitude)
Element
attitude - the orientation coordinate within the reference frame
Element
public org.w3c.dom.Element createOrientationTrack(SimNode from,
SimNode to)
Element
from - the source SimNode componentto - the target SimNode component
Elementpublic org.w3c.dom.Element createOrbitalElements(OrbitalElements orbitalElements)
Element
orbitalElements - the orbital elements
Element
public org.w3c.dom.Element createInlineSystemComponent(java.lang.String name,
java.lang.String type,
ReferenceFrame refFrame,
Length scale,
org.w3c.dom.Element[] urlList)
Element
name - the identifier of the componenttype - the identifier of the type of componentrefFrame - the reference frame of the componentscale - the scale to which the component has been createdurlList - an array of urls for the X3D content of the component
Element
public org.w3c.dom.Element createEllipticPathSystemComponent(java.lang.String name,
ReferenceFrame refFrame,
OrbitalElements oe,
java.awt.Color color)
Element (a type of system component)
name - the identifier of the componentrefFrame - the reference frame of the componentoe - the orbital elements that describe the elliptic pathcolor - the color to create the path model
Element
public org.w3c.dom.Element createSphereSystemComponent(java.lang.String name,
java.lang.String type,
ReferenceFrame refFrame,
boolean sensor,
Length scale,
java.awt.Color color)
Element (a type of system component)
name - the identifier of the componenttype - the identifier of the type of componentrefFrame - the reference frame of the componentsensor - flag indicating that this component should be a navigational markerscale - the scale to which the component will be createdcolor - the color of the component
Elementpublic org.w3c.dom.Element createColorCode(java.awt.Color color)
Element cooresponding to the argument
Color object
color - the Color object
Element
public org.w3c.dom.Element createInlinePlatformComponent(java.lang.String name,
java.lang.String type,
ReferenceFrame refFrame,
java.lang.String platformName,
Length scale,
org.w3c.dom.Element[] urlList)
Element
name - the identifier of the componenttype - the identifier of the type of platformrefFrame - the reference frame of the componentplatformName - the identifier of the platform (e.g. Satellite) to which
this component should be addedscale - the scale to which the component has been createdurlList - an array of urls for the X3D content of the component
Element
public org.w3c.dom.Element createSpherePlatformComponent(java.lang.String name,
java.lang.String type,
ReferenceFrame refFrame,
boolean sensor,
Length scale,
java.awt.Color color)
Element
name - the identifier of the componenttype - the identifier of the type of platformrefFrame - the reference frame of the componentsensor - flag indicating that this component should be a navigational markerscale - the scale of the componentcolor - the color of the component
Element
public org.w3c.dom.Element createCoveragePlatformComponent(java.lang.String name,
ReferenceFrame refFrame,
java.awt.Color color)
Element
name - the identifier of the componentrefFrame - the reference frame of the componentcolor - the color of the component
Element
public org.w3c.dom.Element createBox(boolean sensor,
Length scale,
java.awt.Color color)
sensor - flag indicating that this component should be a navigational markerscale - the scale of the componentcolor - the color of the component
Element
public org.w3c.dom.Element createCone(boolean sensor,
Length scale,
java.awt.Color color)
sensor - flag indicating that this component should be a navigational markerscale - the scale of the componentcolor - the color of the component
Element
public org.w3c.dom.Element createSphere(boolean sensor,
Length scale,
java.awt.Color color)
sensor - flag indicating that this component should be a navigational markerscale - the scale of the componentcolor - the color of the component
Elementpublic org.w3c.dom.Element createSatellite(Satellite satellite)
Element
satellite - the properties object describing the satellite
Elementpublic org.w3c.dom.Element createIdentification(Identification ident)
Element
ident - the Identification object
Elementpublic org.w3c.dom.Element createUrl(java.lang.String path)
Element cooresponding to the argument
url string
path - the url string
Elementpublic org.w3c.dom.Element createReferenceFrame(ReferenceFrame refFrame)
Element cooresponding to the argument
ReferenceFrame object
refFrame - the ReferenceFrame object
Elementpublic org.w3c.dom.Element createEllipsoid(Ellipsoid ellipsoid)
Element cooresponding to the argument
Ellipsoid object
ellipsoid - the Ellipsoid object
Elementpublic org.w3c.dom.Element createAttitude(Attitude attitude)
Element cooresponding to the argument
Attitude object
attitude - the Attitude object
Elementpublic org.w3c.dom.Element createCartesian(Cartesian cartesian)
Element cooresponding to the argument
Cartesian object
cartesian - the Cartesian object
Elementpublic org.w3c.dom.Element createSpherical(Spherical spherical)
Element cooresponding to the argument
Spherical object
spherical - the Spherical object
Elementpublic org.w3c.dom.Element createEllipsoidal(Ellipsoidal ellipsoidal)
Element cooresponding to the argument
Ellipsoidal object
ellipsoidal - the Ellipsoidal object
Element
public org.w3c.dom.Element createDecimalAngle(java.lang.String tag,
DecimalAngleUnit unit,
Angle angle)
Element cooresponding to the argument
Angle object
tag - the tag name to use for the elementunit - the DecimalAngleUnit descriptor to useangle - the Angle object
Element
public org.w3c.dom.Element createLength(java.lang.String tag,
Length length)
Element cooresponding to the argument
Length object
tag - the tag name to use for the elementlength - the Length object
Element
public org.w3c.dom.Element createEpoch(java.lang.String tag,
Epoch epoch)
Element cooresponding to the argument
Epoch object
tag - the tag name to use for the elementepoch - the Epoch object
Element
public org.w3c.dom.Element createEpoch(java.lang.String tag,
EpochFormatStyle style,
Epoch epoch)
Element cooresponding to the argument
Epoch object
tag - the tag name to use for the elementstyle - the EpochFormatStyle objectepoch - the Epoch object
Element
public org.w3c.dom.Element createEpoch(java.lang.String tag,
EpochFormatStyle style,
double julianDay)
Element cooresponding to the arguments
tag - the tag name to use for the elementstyle - the EpochFormatStyle objectjulianDay - the epoch value
Element
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||