|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjpl.mipl.mars.rmc.util.RmcElement
jpl.mipl.mars.rmc.util.Alias
public class Alias
Purpose: Implementation of Alias tag from RMC file.
Copyright 2003, California Institute of Technology. ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledge. 2003.============================================================================ Modification History : ---------------------- Date Who What ---------------------------------------------------------------------------- 06/06/2003 Nick Initial Release ============================================================================
| Constructor Summary | |
|---|---|
Alias()
|
|
Alias(Element node)
Constructor. |
|
Alias(List oldRmc,
List newRmc)
Constructor |
|
Alias(String xml)
Constructor |
|
Alias(String oldRmcStr,
String newRmcStr)
Constructor |
|
| Method Summary | |
|---|---|
int |
compareTo(Object obj)
Compares this object with the specified object for order. |
protected void |
formatNewRmc()
|
protected void |
formatOldRmc()
|
protected void |
formatRmcs()
|
List |
getNewRmc()
Returns the new RMC of the Alias object |
List |
getOldRmc()
Returns the old RMC of the Alias object |
int |
newRmcValueAt(int index)
Returns the new RMC value at index |
int |
oldRmcValueAt(int index)
Returns the old RMC value at index |
void |
setNewRmc(List newRmc)
Sets the new RMC of the Alias object |
void |
setOldRmc(List oldRmc)
Sets the old RMC of the Alias object |
Element |
toDOM()
Returns a DOM tree structure of a Alias element including nested elements. |
String |
toXML()
Returns an XML-formatted string of this object. |
| Methods inherited from class jpl.mipl.mars.rmc.util.RmcElement |
|---|
createEmptyDocument |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Alias()
public Alias(String xml)
xml - String representation of the XML element Solution
public Alias(List oldRmc,
List newRmc)
oldRmc - List of the old RMCnewRmc - List of the new RMC
public Alias(String oldRmcStr,
String newRmcStr)
oldRmcStr - String representation of a list of the old RMCnewRmcStr - String representation of a list of the new RMCpublic Alias(Element node)
node - DOM Element of type Alias| Method Detail |
|---|
public void setOldRmc(List oldRmc)
oldRmc - List of the old RMCpublic List getOldRmc()
public void setNewRmc(List newRmc)
newRmc - List of the old RMCpublic List getNewRmc()
public int oldRmcValueAt(int index)
index - Position of the RMC value
public int newRmcValueAt(int index)
index - Position of the RMC value
public String toXML()
toXML in class RmcElementpublic Element toDOM()
toDOM in class RmcElementprotected void formatRmcs()
protected void formatOldRmc()
protected void formatNewRmc()
public int compareTo(Object obj)
compareTo in interface ComparablecompareTo in class RmcElementobj - the Object to be compared.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||