|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ucla.stat.SOCR.TG_distributome.editor.TreeTableCodec
public class TreeTableCodec
Codec for converting between trees and Table Models.
Constructor Summary | |
---|---|
TreeTableCodec()
Construct a Tree-Table Codec. |
Method Summary | |
---|---|
int |
getEdgeCount()
|
ElementTableModel[] |
getEdgeTableModels()
|
int |
getFormulaCount()
|
ElementTableModel[] |
getFormulaTableModels()
|
int |
getNodeCount()
|
ElementTableModel[] |
getNodeTableModels()
|
int |
getRefCount()
|
ElementTableModel[] |
getRefTableModels()
|
void |
loadEdge(int index,
SOCREdge edge)
|
void |
loadEdge(SOCREdge edge)
|
void |
loadFormula(int index,
SOCRFormula formula)
|
void |
loadFormula(SOCRFormula formula)
|
void |
loadNode(int index,
SOCRNode node)
|
void |
loadNode(SOCRNode node)
|
void |
loadRef(int index,
SOCRReference ref)
|
void |
loadRef(SOCRReference ref)
|
void |
toTableModels(org.w3c.dom.Node rootNode)
Converts the DOM Node to Table Models. |
static java.lang.String |
toXml(ElementTableModel[] nodeModels,
ElementTableModel[] edgeModels,
ElementTableModel[] formulaModels,
ElementTableModel[] refModels)
Converts the Table Models to a XML-encoded string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeTableCodec()
Method Detail |
---|
public ElementTableModel[] getNodeTableModels()
public ElementTableModel[] getEdgeTableModels()
public ElementTableModel[] getFormulaTableModels()
public ElementTableModel[] getRefTableModels()
public int getNodeCount()
public int getEdgeCount()
public int getFormulaCount()
public int getRefCount()
public void loadNode(SOCRNode node)
public void loadNode(int index, SOCRNode node)
public void loadEdge(SOCREdge edge)
public void loadEdge(int index, SOCREdge edge)
public void loadFormula(SOCRFormula formula)
public void loadFormula(int index, SOCRFormula formula)
public void loadRef(SOCRReference ref)
public void loadRef(int index, SOCRReference ref)
public static java.lang.String toXml(ElementTableModel[] nodeModels, ElementTableModel[] edgeModels, ElementTableModel[] formulaModels, ElementTableModel[] refModels)
tableModels
- Table models of provenance data.
public void toTableModels(org.w3c.dom.Node rootNode)
rootNode
- Root Node of provenance data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |