Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.axis.wsdl.gen
Class Parser  view Parser download Parser.java

java.lang.Object
  extended byorg.apache.axis.wsdl.gen.Parser

public class Parser
extends java.lang.Object

This is a class with no documentation.


Nested Class Summary
private  class Parser.WSDLRunnable
          Class WSDLRunnable
 
Field Summary
protected  boolean debug
          Field debug
private  GeneratorFactory genFactory
          Field genFactory
protected  boolean imports
          Field imports
protected  boolean nowrap
          Field nowrap
protected  java.lang.String password
          Field password
protected  boolean quiet
          Field quiet
private  org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable
          Field symbolTable
private  long timeoutms
          Field timeoutms
protected  java.lang.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
private  void generate(org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
          Method generate
private  void generateTypes(org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
          Generate bindings (classes and class holders) for the complex types.
 Definition getCurrentDefinition()
          Return the current definition.
 GeneratorFactory getFactory()
          Method getFactory
 java.lang.String getPassword()
          Method getPassword
 org.apache.axis.wsdl.symbolTable.SymbolTable getSymbolTable()
          Get the symbol table.
 long getTimeout()
          Return the current timeout setting
 java.lang.String getUsername()
          Method getUsername
 java.lang.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(java.lang.String wsdlURI)
          Parse a WSDL at a given URL.
 void run(java.lang.String context, org.w3c.dom.Document doc)
          Call this method if your WSDL document has already been parsed as an XML DOM document.
protected  void sanityCheck(org.apache.axis.wsdl.symbolTable.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(java.lang.String password)
          Method setPassword
 void setQuiet(boolean quiet)
          Method setQuiet
 void setTimeout(long timeout)
          Set the timeout, in milliseconds
 void setUsername(java.lang.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

debug

protected boolean debug
Field debug


quiet

protected boolean quiet
Field quiet


imports

protected boolean imports
Field imports


verbose

protected boolean verbose
Field verbose


nowrap

protected boolean nowrap
Field nowrap


username

protected java.lang.String username
Field username


password

protected java.lang.String password
Field password


wrapArrays

protected boolean wrapArrays
If this is false, we'll prefer "String[]" to "ArrayOfString" for literal wrapped arrays


timeoutms

private long timeoutms
Field timeoutms


genFactory

private GeneratorFactory genFactory
Field genFactory


symbolTable

private org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable
Field symbolTable

Constructor Detail

Parser

public Parser()
Method Detail

isDebug

public boolean isDebug()
Method isDebug


setDebug

public void setDebug(boolean debug)
Method setDebug


isQuiet

public boolean isQuiet()
Method isQuiet


setQuiet

public void setQuiet(boolean quiet)
Method setQuiet


isImports

public boolean isImports()
Method isImports


setImports

public void setImports(boolean imports)
Method setImports


isVerbose

public boolean isVerbose()
Method isVerbose


setVerbose

public void setVerbose(boolean verbose)
Method setVerbose


isNowrap

public boolean isNowrap()
Method isNowrap


setNowrap

public void setNowrap(boolean nowrap)
Method setNowrap


getTimeout

public long getTimeout()
Return the current timeout setting


setTimeout

public void setTimeout(long timeout)
Set the timeout, in milliseconds


getUsername

public java.lang.String getUsername()
Method getUsername


setUsername

public void setUsername(java.lang.String username)
Method setUsername


getPassword

public java.lang.String getPassword()
Method getPassword


setPassword

public void setPassword(java.lang.String password)
Method setPassword


getFactory

public GeneratorFactory getFactory()
Method getFactory


setFactory

public void setFactory(GeneratorFactory factory)
Method setFactory


getSymbolTable

public org.apache.axis.wsdl.symbolTable.SymbolTable getSymbolTable()
Get the symbol table. The symbol table is null until run is called.


getCurrentDefinition

public Definition getCurrentDefinition()
Return the current definition. The current definition is null until run is called.


getWSDLURI

public java.lang.String getWSDLURI()
Get the current WSDL URI. The WSDL URI is null until run is called.


run

public void run(java.lang.String wsdlURI)
         throws java.lang.Exception
Parse a WSDL at a given URL.

This method will time out after the number of milliseconds specified by our timeoutms member.


run

public void run(java.lang.String context,
                org.w3c.dom.Document doc)
         throws java.io.IOException,
                org.xml.sax.SAXException,
                WSDLException,
                javax.xml.parsers.ParserConfigurationException
Call this method if your WSDL document has already been parsed as an XML DOM document.


sanityCheck

protected void sanityCheck(org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Method sanityCheck


generate

private void generate(org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
               throws java.io.IOException
Method generate


generateTypes

private void generateTypes(org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
                    throws java.io.IOException
Generate bindings (classes and class holders) for the complex types. If generating serverside (skeleton) spit out beanmappings