|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mro.util.experimentation.ResultTableStructure
public class ResultTableStructure
A class for handling xml tables.
Field Summary | |
---|---|
private java.lang.String |
caption
|
private Table<java.lang.String> |
columnTitles
|
private MeasureAbbreviationTable |
measureAbbreviationTable
|
private PathTable |
pathTable
|
private RelativeTable |
relativeTable
|
private Table<java.lang.String> |
rowTitles
|
Constructor Summary | |
---|---|
ResultTableStructure()
|
Method Summary | |
---|---|
private static void |
badInput()
|
java.lang.String |
getCaption()
|
Table<java.lang.String> |
getColumnTitles()
|
java.lang.String |
getCommonPath()
|
MeasureAbbreviationTable |
getMeasureAbbreviationTable()
|
PathTable |
getPathTable()
|
RelativeTable |
getRelativeTable()
|
Table<java.lang.String> |
getRowTitles()
|
static ResultTableStructure |
load(java.io.File file)
Loads a ResultTableStructure-object from the specified file. |
static ResultTableStructure |
load(java.lang.String fileName)
Loads a ResultTableStructure-object from a file with the specified file name. |
static ResultTableStructure |
loadXML(org.xml.sax.InputSource source)
Loads a ResultTableStructure-object from an java.io.InputSource . |
static void |
main(java.lang.String[] args)
|
static void |
printDTD(java.io.PrintWriter pw)
Prints the complete DTD of a ResultTableStructure-XML-file to a PrintWriter . |
void |
printPartXML(java.io.PrintWriter pw)
|
static void |
printResultTableStructureXSLReference(java.io.PrintWriter pw)
Prints a reference to the ResultTableStructure-XSL-file to a PrintWriter . |
void |
printXML(java.io.PrintWriter pw)
Prints the ResultTableStructure to a PrintWriter . |
void |
printXSL(java.io.PrintWriter pw)
Prints a basic XSL-file for ResultTableStructure XML-files to a PrintWriter . |
void |
save(java.io.File file)
Saves a ResultTableStructure-object to the specified file. |
void |
save(java.lang.String fileName)
Saves a ResultTableStructure-object to a file with the specified file name. |
protected void |
setCaption(java.lang.String caption)
|
protected void |
setColumnTitles(Table<java.lang.String> columnTitles)
|
protected void |
setCommonPath(java.lang.String commonPath)
|
void |
setMeasureAbbreviationTable(MeasureAbbreviationTable measureAbbreviationTable)
|
protected void |
setPaths(PathTable pathTable)
|
void |
setRelativeTable(RelativeTable relativeTable)
|
protected void |
setRowTitles(Table<java.lang.String> rowTitles)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String caption
private MeasureAbbreviationTable measureAbbreviationTable
private Table<java.lang.String> columnTitles
private Table<java.lang.String> rowTitles
private PathTable pathTable
private RelativeTable relativeTable
Constructor Detail |
---|
public ResultTableStructure()
Method Detail |
---|
protected void setCaption(java.lang.String caption)
protected void setCommonPath(java.lang.String commonPath)
protected void setColumnTitles(Table<java.lang.String> columnTitles)
protected void setRowTitles(Table<java.lang.String> rowTitles)
protected void setPaths(PathTable pathTable)
public void setRelativeTable(RelativeTable relativeTable)
public void setMeasureAbbreviationTable(MeasureAbbreviationTable measureAbbreviationTable)
public java.lang.String getCaption()
public java.lang.String getCommonPath()
public Table<java.lang.String> getColumnTitles()
public Table<java.lang.String> getRowTitles()
public PathTable getPathTable()
public RelativeTable getRelativeTable()
public MeasureAbbreviationTable getMeasureAbbreviationTable()
public void save(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public void save(java.io.File file) throws java.io.IOException
java.io.IOException
public static void printDTD(java.io.PrintWriter pw) throws java.io.IOException
PrintWriter
.
java.io.IOException
public static void printResultTableStructureXSLReference(java.io.PrintWriter pw) throws java.io.IOException
PrintWriter
.
java.io.IOException
private static void badInput()
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public void printXML(java.io.PrintWriter pw) throws java.io.IOException
PrintWriter
.
java.io.IOException
public void printPartXML(java.io.PrintWriter pw) throws java.io.IOException
java.io.IOException
public void printXSL(java.io.PrintWriter pw) throws java.io.IOException
PrintWriter
.
java.io.IOException
public static ResultTableStructure load(java.lang.String fileName) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public static ResultTableStructure load(java.io.File file) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public static ResultTableStructure loadXML(org.xml.sax.InputSource source) throws java.io.IOException, org.xml.sax.SAXException
java.io.InputSource
.
java.io.IOException
org.xml.sax.SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |