|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.designation.ReferenceFrameFactory
Factory for producing ReferenceFrames. Instantiation of
concrete instances is consolidated in this factory to ensure that only
a single instance of a particular reference frame object is produced and
that comparisons of the instantiated objects may be performed by reference.
| Constructor Summary | |
protected |
ReferenceFrameFactory()
Protected constructor |
| Method Summary | |
static ReferenceFrameFactory |
getInstance()
Return the factory instance |
PlatformReferenceFrame |
getPlatform(java.lang.String systemID,
java.lang.String frameID,
java.lang.String platformID)
Return a PlatformReferenceFrame cooresponding to the argument
identifiers. |
RootReferenceFrame |
getRoot(java.lang.String rootID)
Return a RootReferenceFrame for the argument identifier. |
SystemReferenceFrame |
getSystem(java.lang.String systemID,
java.lang.String frameID)
Return a SystemReferenceFrame cooresponding to the argument
identifiers. |
SystemReferenceFrame |
getSystem(java.lang.String systemID,
SystemFrame frame)
Return a SystemReferenceFrame cooresponding to the argument
identifiers. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected ReferenceFrameFactory()
| Method Detail |
public static ReferenceFrameFactory getInstance()
public RootReferenceFrame getRoot(java.lang.String rootID)
RootReferenceFrame for the argument identifier.
If the identifier is null, null will be returned.
rootID - The root identifier
RootReferenceFrame for the argument identifier
public SystemReferenceFrame getSystem(java.lang.String systemID,
SystemFrame frame)
SystemReferenceFrame cooresponding to the argument
identifiers. If either argument identifier is null, null will be returned.
systemID - The system identifierframe - The SystemFrame identifier
SystemReferenceFrame cooresponding to the argument
identifiers.
public SystemReferenceFrame getSystem(java.lang.String systemID,
java.lang.String frameID)
SystemReferenceFrame cooresponding to the argument
identifiers. If either argument identifier is null, null will be returned.
systemID - The system identifierframeID - The system frame identifier
SystemReferenceFrame cooresponding to the argument
identifiers.
public PlatformReferenceFrame getPlatform(java.lang.String systemID,
java.lang.String frameID,
java.lang.String platformID)
PlatformReferenceFrame cooresponding to the argument
identifiers. If any argument identifier is null, null will be returned.
systemID - The system identifierframeID - The system frame identifierplatformID - The platform frame identifier
PlatformReferenceFrame cooresponding to the argument
identifiers.
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||