|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--xrel.xml.Convert
Traverses an XML document with DOM and translates it in an internal format tree.
| Field Summary | |
protected static java.lang.String |
DEFAULT_PARSER_NAME
Default parser name (Xerces). |
protected static ParserWrapper.DocumentInfo |
fDocumentInfo
Document information. |
| Fields inherited from interface xrel.parser.XRelParserTreeConstants |
JJTAS, JJTCASE, JJTCOMMA, JJTEMPTY, JJTEXPORTTP, JJTIDENTIFIER, JJTIMPORTST, jjtNodeName, JJTOPERATOR, JJTPAR, JJTPROGRAM, JJTSTATEMENTLIST, JJTSTRING, JJTSTRINGLITERAL, JJTSWITCHCASE, JJTTAG, JJTTYPEDECL, JJTVOID |
| Constructor Summary | |
Convert()
|
|
| Method Summary | |
static SimpleNode |
toInternalForm(java.lang.String filename)
The entry point of this class. |
protected static SimpleNode |
xmlSubtree(org.w3c.dom.Node node)
Traverses the specified node recursively and produces an equivalent internal subtree. This function phisically does the translation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static ParserWrapper.DocumentInfo fDocumentInfo
protected static final java.lang.String DEFAULT_PARSER_NAME
| Constructor Detail |
public Convert()
| Method Detail |
public static SimpleNode toInternalForm(java.lang.String filename)
filename - the name to convertprotected static SimpleNode xmlSubtree(org.w3c.dom.Node node)
Traverses the specified node recursively and produces an equivalent internal subtree.
This function phisically does the translation.
node - the DOM node to parse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||