|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmro.util.experimentation.PathTable
public class PathTable
Path Table. A class for handling a xml-table of paths.
Field Summary | |
---|---|
private java.lang.String |
commonPath
|
private GenericOrderedDoubleHashMap<java.lang.Integer,java.lang.Integer,PathEntry> |
map
|
Constructor Summary | |
---|---|
PathTable()
|
Method Summary | |
---|---|
java.util.Vector<java.lang.String> |
getAllPathsWithCommonPath()
|
java.lang.String |
getCommonPath()
|
GenericOrderedDoubleHashMap<java.lang.Integer,java.lang.Integer,PathEntry> |
getGenericOrderedDoubleHashMap()
|
void |
print()
|
static void |
printDTD(java.io.PrintWriter pw)
Prints the complete DTD of a Table-XML-file to a PrintWriter . |
static void |
printPartDTD(java.io.PrintWriter pw)
Prints the DTD of a Table-XML-file to a PrintWriter . |
void |
printPartXML(java.io.PrintWriter pw)
|
static void |
printTableXSLReference(java.io.PrintWriter pw)
Prints a reference to the Table-XSL-file to a PrintWriter . |
void |
printXML(java.io.PrintWriter pw)
Prints the Table to a PrintWriter . |
void |
printXSL(java.io.PrintWriter pw)
Prints a basic XSL-file for Table XML-files to a PrintWriter . |
void |
put(int r,
int c,
PathEntry pe)
|
void |
save(java.io.File file)
Saves a Table-object to the specified file. |
void |
save(java.lang.String fileName)
Saves a Table-object to a file with the specified file name. |
void |
setCommonPath(java.lang.String commonPath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String commonPath
private GenericOrderedDoubleHashMap<java.lang.Integer,java.lang.Integer,PathEntry> map
Constructor Detail |
---|
public PathTable()
Method Detail |
---|
public void put(int r, int c, PathEntry pe)
public java.lang.String getCommonPath()
public void setCommonPath(java.lang.String commonPath)
public GenericOrderedDoubleHashMap<java.lang.Integer,java.lang.Integer,PathEntry> getGenericOrderedDoubleHashMap()
public java.util.Vector<java.lang.String> getAllPathsWithCommonPath()
public void print()
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 printPartDTD(java.io.PrintWriter pw) throws java.io.IOException
PrintWriter
. Only the elements.
This method may be used when the Table-XML should
be part of a larger XML.
java.io.IOException
public static void printTableXSLReference(java.io.PrintWriter pw) throws java.io.IOException
PrintWriter
.
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |