|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.omdocjdom.rephrase.RephraseGraph
public class RephraseGraph
Describes the possible cd-groups (vertices of the graph) and transitions between them (edges of the graph).
| Constructor Summary | |
|---|---|
RephraseGraph()
|
|
| Method Summary | |
|---|---|
void |
dump(Writer out)
|
List |
findAllCompatibleNodes(OJElement omobj)
Searches through the nodes for content-dictionary content-types that can contain all the symbols of the passwed OMOBJ. |
List |
findPath(OJElement sourceOM,
Iterator targetEncodings)
Walks through the possible target-CD-groups and finds the first applicable translation-path. |
void |
init(MBaseRef mbase,
Subconfiguration config)
Fills the graph with the rephrase-rules. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RephraseGraph()
| Method Detail |
|---|
public List findPath(OJElement sourceOM,
Iterator targetEncodings)
sourceOM - targetEncodings - iterates over ContentType objects
Edges.
public void init(MBaseRef mbase,
Subconfiguration config)
throws org.jdom.JDOMException,
MBaseException
org.jdom.JDOMException
MBaseExceptionpublic List findAllCompatibleNodes(OJElement omobj)
OMSDisambiguator in case.
omobj -
Nodes, in preferability order
public void dump(Writer out)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||