|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.llnl.babel.parsers.xml.ParseSymbolXML
Class ParseSymbolXML converts an XML document into a SIDL
symbol. Utility function convert takes either an input
stream or a validated DOM tree and generates a SIDL symbol. Any errors
in format generate a ParseSymbolException.
| Constructor Summary | |
ParseSymbolXML(org.w3c.dom.Document doc)
Create a DOM document to SIDL symbol converter object. |
|
ParseSymbolXML(org.xml.sax.InputSource is)
Create an XML input stream to SIDL symbol converter object. |
|
| Method Summary | |
static Symbol |
convert(org.w3c.dom.Document doc)
This is a convenience utility function that converts a DOM document into a SIDL symbol. |
static Symbol |
convert(org.xml.sax.InputSource is)
This is a convenience utility function that converts an XML input stream into a SIDL symbol. |
Symbol |
getSymbol()
Return the SIDL symbol for the XML or DOM given in the constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ParseSymbolXML(org.xml.sax.InputSource is)
throws ParseSymbolException
getSymbol. Any errors will throw a parse symbol
exception.
public ParseSymbolXML(org.w3c.dom.Document doc)
throws ParseSymbolException
getSymbol.
Any errors will throw a parse symbol exception.
| Method Detail |
public static Symbol convert(org.xml.sax.InputSource is)
throws ParseSymbolException
ParseSymbolException. Since this
method is static, it may be called without explicity creating an
object.
ParseSymbolException
public static Symbol convert(org.w3c.dom.Document doc)
throws ParseSymbolException
ParseSymbolException. Since this
method is static, it may be called without explicity creating an
object.
ParseSymbolExceptionpublic Symbol getSymbol()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||