|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.grogra.mtg.MTGTranslator
public class MTGTranslator
Main Class for parsing and translating the MTG file data into a graph
| Constructor Summary | |
|---|---|
MTGTranslator(java.io.Reader reader,
java.lang.String sysId)
MTGTranslator constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getErrorMessage()
|
MTGNode |
getFirstNode()
|
int |
getLineCounter()
|
MTGNode |
getMTGRootNode()
Allows other classes to obtain the root node of the graph generated from translating MTG data file. |
RGGRoot |
getRootNode()
|
Sphere |
getSphere()
|
int |
translateMTGFile()
Translates the MTG file into a graph. |
int |
translateMTGFileBody()
|
int |
translateMTGFileHeader()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MTGTranslator(java.io.Reader reader,
java.lang.String sysId)
reader - Reader instance from the MTGFilter.
File resources are loaded into FilterSource objects in GroIMP.
The MTGFilter is constructed with a member FilterSource variable.| Method Detail |
|---|
public java.lang.String getErrorMessage()
public MTGNode getFirstNode()
public int getLineCounter()
public MTGNode getMTGRootNode()
public RGGRoot getRootNode()
public Sphere getSphere()
public int translateMTGFile()
MTGError.MTGPlantFrameExceptionpublic int translateMTGFileBody()
public int translateMTGFileHeader()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||