|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.babel.parsers.xml.SymbolToDOM
Class SymbolToDOM
converts a SIDL symbol into an XML DOM
document. Utility function convert
takes a symbol and returns
a DOM document. The DOM representation is formatted with white space such
that a straight-forward DOM printer will generate pretty XML output.
Constructor Summary | |
SymbolToDOM(Symbol symbol)
Create a symbol to DOM converter object. |
Method Summary | |
static org.w3c.dom.Document |
convert(Symbol symbol)
This is a convenience utility function that converts the symbol into a DOM document. |
static java.lang.String |
convertToString(Symbol symbol)
This is a convenience utilility function that converts the symbol directly into a string. |
org.w3c.dom.Document |
getDocument()
Return the DOM document for the symbol specified in the constructor. |
static java.lang.String |
getDTDPath(java.lang.String dtd)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SymbolToDOM(Symbol symbol)
getDocument
.
symbol
- The symbol associated with an instance of this class.Method Detail |
public static org.w3c.dom.Document convert(Symbol symbol)
SymbolToDOM
.
symbol
- The symbol to be converted.public static java.lang.String convertToString(Symbol symbol)
symbol
- The symbol to be converted.public static java.lang.String getDTDPath(java.lang.String dtd)
public org.w3c.dom.Document getDocument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |