|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.forms.util.xmltools.XML2Forms
| Constructor Summary | |
XML2Forms(java.net.URL xmlIn)
Constructor - Takes the URL of the XML ready for parsing. |
|
| Method Summary | |
void |
commandLine(java.lang.Boolean printTree)
Lets the tool know that it's been invoked from the command line, it therefore outputs progress indicators to the System.out. |
void |
connectToDatabase(java.lang.String dbConnectString)
Connects to a database with the given connection string. |
JdapiModule |
createModule()
Parses the XML at the URL given to the Constructor and returns the module. |
void |
endElement(oracle.xml.parser.v2.XMLElement element)
This method is excuted by the parser after every XML element. |
static void |
main(java.lang.String[] args)
Takes an XML filename or set of filenames to process. |
void |
parseXML()
This method is excuted by the parser to start the parsing process. |
void |
startElement(oracle.xml.parser.v2.XMLElement element)
This method is excuted by the parser at the start of every XML element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XML2Forms(java.net.URL xmlIn)
xmlIn - the URL of the XML| Method Detail |
public void commandLine(java.lang.Boolean printTree)
printTree - the tool prints an object tree if true.public void connectToDatabase(java.lang.String dbConnectString)
dbConnectString - user/pass@database
public JdapiModule createModule()
throws oracle.xml.parser.v2.XMLParseException,
oracle.xml.parser.schema.XSDException,
org.xml.sax.SAXException,
java.io.IOException
java.io.IOException - if the URL isn't valid.
org.xml.sax.SAXException - if the XML isn't valid.
java.io.UTFDataFormatException - if the XML isn't a valid format.
oracle.xml.parser.v2.XMLParseException - if the XML isn't valid.
oracle.xml.parser.schema.XSDException - if there was an error in the Schema Builder.
public void parseXML()
throws java.io.UTFDataFormatException,
oracle.xml.parser.v2.XMLParseException,
org.xml.sax.SAXException,
java.io.IOException,
oracle.xml.parser.schema.XSDException
java.io.IOException - if the URL isn't valid.
org.xml.sax.SAXException - if the XML isn't valid.
java.io.UTFDataFormatException - if the XML isn't a valid format.
oracle.xml.parser.v2.XMLParseException - if the XML isn't valid.
oracle.xml.parser.schema.XSDException - if there was an error in the Schema Builder.public void startElement(oracle.xml.parser.v2.XMLElement element)
public void endElement(oracle.xml.parser.v2.XMLElement element)
public static void main(java.lang.String[] args)
args - command line arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||