org.apache.axis.wsdl.gen
public class Parser extends Object
| Field Summary | |
|---|---|
| protected boolean | debug Field debug |
| protected boolean | imports Field imports |
| protected boolean | nowrap Field nowrap |
| protected String | password Field password |
| protected boolean | quiet Field quiet |
| protected String | username Field username |
| protected boolean | verbose Field verbose |
| protected boolean | wrapArrays If this is false, we'll prefer "String[]" to "ArrayOfString" for literal wrapped arrays |
| Method Summary | |
|---|---|
| Definition | getCurrentDefinition()
Return the current definition. |
| GeneratorFactory | getFactory()
Method getFactory
|
| String | getPassword()
Method getPassword
|
| SymbolTable | getSymbolTable()
Get the symbol table. |
| long | getTimeout()
Return the current timeout setting
|
| String | getUsername()
Method getUsername
|
| String | getWSDLURI()
Get the current WSDL URI. |
| boolean | isDebug()
Method isDebug
|
| boolean | isImports()
Method isImports
|
| boolean | isNowrap()
Method isNowrap
|
| boolean | isQuiet()
Method isQuiet
|
| boolean | isVerbose()
Method isVerbose
|
| void | run(String wsdlURI)
Parse a WSDL at a given URL.
|
| void | run(String context, Document doc)
Call this method if your WSDL document has already been parsed as an XML DOM document.
|
| protected void | sanityCheck(SymbolTable symbolTable)
Method sanityCheck
|
| void | setDebug(boolean debug)
Method setDebug
|
| void | setFactory(GeneratorFactory factory)
Method setFactory
|
| void | setImports(boolean imports)
Method setImports
|
| void | setNowrap(boolean nowrap)
Method setNowrap
|
| void | setPassword(String password)
Method setPassword
|
| void | setQuiet(boolean quiet)
Method setQuiet
|
| void | setTimeout(long timeout)
Set the timeout, in milliseconds
|
| void | setUsername(String username)
Method setUsername
|
| void | setVerbose(boolean verbose)
Method setVerbose
|
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Parameters: wsdlURI
Throws: Exception
Parameters: context context This is directory context for the Document. If the Document were from file "/x/y/z.wsdl" then the context could be "/x/y" (even "/x/y/z.wsdl" would work). If context is null, then the context becomes the current directory. doc doc This is the XML Document containing the WSDL.
Throws: IOException SAXException WSDLException ParserConfigurationException
Parameters: symbolTable
Parameters: debug
Parameters: factory
Parameters: imports
Parameters: nowrap
Parameters: password
Parameters: quiet
Parameters: timeout
Parameters: username
Parameters: verbose