|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--alma.aedf.types.Table
A abstract class ancestor of all tables of AEDF instances.
Constructor Summary | |
Table(java.lang.String aedfType)
This constructor just defines the AEDF type of its content |
|
Table(java.lang.String aedfType,
java.lang.String itsUID,
java.lang.String projectUID)
A constructor with its AEDF type, its UID and the project's UID. |
Method Summary | |
int |
add(java.lang.Object row)
Append a row at the end of the table. |
java.lang.String |
getAedfType()
|
java.lang.String |
getAEDFXMLDirectory()
|
java.lang.String |
getProjectUID()
Returns the identifier of the project this table belongs to. |
java.lang.Object |
getRow(int index)
Returns the row at index in the table. |
java.lang.String |
getUID()
Returns the table's identifier. |
int |
nRows()
|
static Table |
parseXML(java.lang.String xmlString,
java.lang.String rules)
A constructor from an xml content. |
void |
setAEDFXMLDirectory(java.lang.String string)
|
void |
setProjectUID(java.lang.String projectUID)
Set the projectUID property. |
boolean |
setProperty(java.lang.String name,
java.lang.String value)
Set a property's value based on name/value pair. |
void |
setUID(java.lang.String itsUID)
Set the uid property. |
java.lang.String |
toXML()
Construct an XML representation of the table : which respects the VO Table schema, which respects the template defined for the particular type of AEDF being processed. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Table(java.lang.String aedfType)
aedfType
- a string representing the AEDF type of the table contentpublic Table(java.lang.String aedfType, java.lang.String itsUID, java.lang.String projectUID) throws java.lang.Exception
aedfType
- a string representing the AEDF type of the table contentitsUID
- The identifier of the table to create.projectUID
- The identifier of the project the table belongs to.Method Detail |
public static Table parseXML(java.lang.String xmlString, java.lang.String rules) throws java.lang.Exception
xmlString
- rules
-
java.lang.Exception
public boolean setProperty(java.lang.String name, java.lang.String value)
name
- The namevalue
- The valuepublic void setProjectUID(java.lang.String projectUID)
projectUID
- The identifier of the project this table belongs to.public void setUID(java.lang.String itsUID)
itsUID
- The identifier of this table .public java.lang.String getUID()
public java.lang.String getProjectUID()
public int add(java.lang.Object row)
row
-
public java.lang.Object getRow(int index)
index
-
public java.lang.String toXML()
public java.lang.String getAedfType()
public int nRows()
public java.lang.String getAEDFXMLDirectory()
public void setAEDFXMLDirectory(java.lang.String string)
string
- The directory containing all the XML files used in writing/parsing VOTables.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |