|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcreek.cke.importexport.xml.DefaultGeneralParser
jcreek.cke.importexport.jcxml.JCXMLexportParser
Does the parsing of the Creek Knowledge Model and extracts the complete model to JCXML.
Field Summary |
Fields inherited from class jcreek.cke.importexport.xml.DefaultGeneralParser |
DEFFERED_DOM, INCLUDE_IGNORABLE_WHITESPACE, NAMESPACES, SCHEMA_FULL_SUPPORT, SCHEMA_SUPPORT, VALIDATION |
Constructor Summary | |
JCXMLexportParser(java.lang.String fileName,
KnowledgeModel km,
boolean abortOnFatalErrors,
ProcessStatusWindowInterface statusWindow)
Does set some basic settings before any parsing may begin. |
Method Summary | |
protected void |
createBasicDocument()
Creates a basic document. |
boolean |
didFatalErrorOccur()
Checks if an fatal error did occur. |
protected void |
handleAboutElement()
Does the handling of the general information about the knowledge model. |
protected void |
handleCaseElement()
Does the handling of the cases. |
protected void |
handleEntityElement()
Does the handling of the entities (concepts) of the knowledge model. |
protected void |
handleNewRelationElement()
Handels the relations that are an extension to the isopod model, that is new relations. |
protected void |
handleRelationElement()
Does the handling of the relations among the entities. |
boolean |
isAbortOnFatalErrorsEnabled()
Checks if abortOnFatalErrors is set or not. |
void |
startCreate()
Starts the creation of the JCXML document. |
void |
writeToDisk()
Writes the DOM document to disk. |
Methods inherited from class jcreek.cke.importexport.xml.DefaultGeneralParser |
anyFaults, getAllFaultMsg, getErrorsMsg, getFatalErrorsMsg, getNumberOfErrors, getNumberOfFatalErrors, getNumberOfWarnings, getWarningsMsg, initParser, parse, parse, parse, parse, setFeature |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JCXMLexportParser(java.lang.String fileName, KnowledgeModel km, boolean abortOnFatalErrors, ProcessStatusWindowInterface statusWindow)
fileName
- the name and path of the output filekm
- the Knowledge Model in Creek to exportabortOnFatalErrors
- set to true if the export should be
aborted in case of a fatal error, if not set to falsestatusWindow
- the window where the process status
messages should be displayedMethod Detail |
public void startCreate()
public boolean isAbortOnFatalErrorsEnabled()
public boolean didFatalErrorOccur()
public void writeToDisk()
protected void createBasicDocument()
protected void handleAboutElement()
protected void handleNewRelationElement()
protected void handleEntityElement()
protected void handleRelationElement()
Does not add relations that are not directly connected between two entities.
protected void handleCaseElement()
Does in the same process take care of the findings and the possible solution of the case as well. If the case doesn't have a solution then no solution will be added. A solution might either have as status 'solved' or 'unsolved'. If the case got a description then that is added as well. If the 'importance' or the 'predictiveStrength' values of the findings or the solution then these values are added as well.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |