|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mascoptLib.io.graph.MGLReader
Constructor Summary | |
MGLReader(String file)
Creates a reader on an MGL file. |
|
MGLReader(String file,
boolean validate)
Creates a reader on an MGL file validating the DTD or not. |
Method Summary | |
Iterator |
getAbstractChains()
Gives an iterator on AbstractChains read. |
Iterator |
getAbstractEdges()
Gives an iterator on AbstractEdges read. |
Iterator |
getAbstractEdgeSets()
Gives an iterator on AbstractEdgeSets read. |
Iterator |
getAbstractGraphs()
Gives an iterator on AbstractGraphs read. |
Iterator |
getAbstractNodes()
Gives an iterator on AbstractNodes read. |
Iterator |
getAbstractNodeSets()
Gives an iterator on AbstractNodeSets read. |
Iterator |
getAllObjects()
Gives an iterator on other objects. |
int |
getNumberOfGraphs()
Get the number of graphs parsed by the MGLReader . |
void |
parse()
Parse the MGL file and create in memory all objects contained in it. |
void |
setSuperEdgeSets()
|
void |
setSuperGraphs()
|
void |
setSuperNodeSets()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MGLReader(String file)
file
- the file to read.public MGLReader(String file, boolean validate)
file
- the file to read.validate
- if true the DTD is validated.Method Detail |
public void parse() throws Exception
Exception
public int getNumberOfGraphs()
MGLReader
.
MGLReader
in the file.public void setSuperNodeSets()
public void setSuperEdgeSets()
public void setSuperGraphs()
public Iterator getAbstractNodes()
ReaderInterface
getAbstractNodes
in interface ReaderInterface
public Iterator getAbstractEdges()
ReaderInterface
getAbstractEdges
in interface ReaderInterface
public Iterator getAbstractNodeSets()
ReaderInterface
getAbstractNodeSets
in interface ReaderInterface
public Iterator getAbstractEdgeSets()
ReaderInterface
getAbstractEdgeSets
in interface ReaderInterface
public Iterator getAbstractChains()
ReaderInterface
getAbstractChains
in interface ReaderInterface
public Iterator getAbstractGraphs()
ReaderInterface
getAbstractGraphs
in interface ReaderInterface
public Iterator getAllObjects()
ReaderInterface
getAllObjects
in interface ReaderInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |