|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcreek.cke.importexport.jcxml.JCXMLimportParser
Takes as input a DOM Document of a JCXML XML file that is assumed valid, and traverses that document. Finds tags that are valid according to the Schema of JCXML and constructs a Knowledge Model of the content of the JCXML. if the abortOnFatalErrors is set to true the process will be aborted if a fatal error should occur.
Constructor Summary | |
JCXMLimportParser(org.w3c.dom.Document document,
KnowledgeModel km,
boolean abortOnFatalErrors,
ProcessStatusWindowInterface statusWindow)
Constructor that takes as input a DOM Document of a JCXML XML file that is assumed valid, and traverses that document. |
Method Summary | |
boolean |
didFatalErrorOccur()
Checks if an fatal error did occur. |
boolean |
isAbortOnFatalErrorsEnabled()
Checks if abortOnFatalErrors is enabled or not. |
void |
startTraverse()
Starts the traversal of the DOM document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JCXMLimportParser(org.w3c.dom.Document document, KnowledgeModel km, boolean abortOnFatalErrors, ProcessStatusWindowInterface statusWindow)
document
- the DOM document containing the JavaCreek Knowledge Model.km
- the knowledge model to buildabortOnFatalErrors
- abort if a fatal error occurs or just continue?statusWindow
- the window where the process information should be displayedMethod Detail |
public void startTraverse()
public boolean isAbortOnFatalErrorsEnabled()
public boolean didFatalErrorOccur()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |