|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis.wsdl.gen.Parser
public class Parser
This is a class with no documentation.
| Field Summary | |
|---|---|
protected boolean |
debug
Field debug |
protected EntityResolver |
entityResolver
|
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 |
| Constructor Summary | |
|---|---|
Parser()
|
|
| Method Summary | |
|---|---|
javax.wsdl.Definition |
getCurrentDefinition()
Return the current definition. |
EntityResolver |
getEntityResolver()
Get the entity resolver configured for this parser. |
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 |
setEntityResolver(EntityResolver entityResolver)
Set the entity resolver for this parser. |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean debug
protected boolean quiet
protected boolean imports
protected boolean verbose
protected boolean nowrap
protected String username
protected String password
protected boolean wrapArrays
protected EntityResolver entityResolver
| Constructor Detail |
|---|
public Parser()
| Method Detail |
|---|
public boolean isDebug()
public void setDebug(boolean debug)
debug - public boolean isQuiet()
public void setQuiet(boolean quiet)
quiet - public boolean isImports()
public void setImports(boolean imports)
imports - public boolean isVerbose()
public void setVerbose(boolean verbose)
verbose - public boolean isNowrap()
public void setNowrap(boolean nowrap)
nowrap - public EntityResolver getEntityResolver()
null if no entity resolver is configuredpublic void setEntityResolver(EntityResolver entityResolver)
Document) and all imported WSDL and schema documents.
entityResolver - the entity resolver, or null to use a default entity resolverpublic long getTimeout()
public void setTimeout(long timeout)
timeout - public String getUsername()
public void setUsername(String username)
username - public String getPassword()
public void setPassword(String password)
password - public GeneratorFactory getFactory()
public void setFactory(GeneratorFactory factory)
factory - public SymbolTable getSymbolTable()
public javax.wsdl.Definition getCurrentDefinition()
public String getWSDLURI()
public void run(String wsdlURI)
throws Exception
wsdlURI -
Exception
public void run(String context,
Document doc)
throws IOException,
SAXException,
javax.wsdl.WSDLException,
ParserConfigurationException
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.
IOException
SAXException
javax.wsdl.WSDLException
ParserConfigurationExceptionprotected void sanityCheck(SymbolTable symbolTable)
symbolTable -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||