Apache CXF API

org.apache.cxf.tools.misc.processor
Class AbstractWSDLToProcessor

java.lang.Object
  extended by org.apache.cxf.tools.misc.processor.AbstractWSDLToProcessor
All Implemented Interfaces:
Processor
Direct Known Subclasses:
WSDLToServiceProcessor, WSDLToSoapProcessor, WSDLToXMLProcessor

public class AbstractWSDLToProcessor
extends Object
implements Processor


Field Summary
protected  ClassCollector classColletor
           
protected  ToolContext env
           
protected  javax.wsdl.extensions.ExtensionRegistry extReg
           
protected static Logger LOG
           
protected static String WSDL_FILE_NAME_EXT
           
protected  javax.wsdl.Definition wsdlDefinition
           
protected  javax.wsdl.factory.WSDLFactory wsdlFactory
           
 
Constructor Summary
AbstractWSDLToProcessor()
           
 
Method Summary
 void error(SAXParseException exception)
           
 void fatalError(SAXParseException exception)
           
 ToolContext getEnvironment()
           
protected  Writer getOutputWriter(String newNameExt)
           
 javax.wsdl.Definition getWSDLDefinition()
           
 WSDLExtensibilityPlugin getWSDLPlugin(String key, Class clz)
           
 void info(SAXParseException exception)
           
protected  void init()
           
protected  void parseWSDL(String wsdlURL)
           
 void process()
           
 void setEnvironment(ToolContext penv)
           
 boolean validate(javax.wsdl.Definition def, ToolContext context, Bus bus)
           
 void validateWSDL()
           
 void warning(SAXParseException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final Logger LOG

WSDL_FILE_NAME_EXT

protected static final String WSDL_FILE_NAME_EXT
See Also:
Constant Field Values

wsdlDefinition

protected javax.wsdl.Definition wsdlDefinition

env

protected ToolContext env

wsdlFactory

protected javax.wsdl.factory.WSDLFactory wsdlFactory

extReg

protected javax.wsdl.extensions.ExtensionRegistry extReg

classColletor

protected ClassCollector classColletor
Constructor Detail

AbstractWSDLToProcessor

public AbstractWSDLToProcessor()
Method Detail

getOutputWriter

protected Writer getOutputWriter(String newNameExt)
                          throws ToolException
Throws:
ToolException

parseWSDL

protected void parseWSDL(String wsdlURL)
                  throws ToolException
Throws:
ToolException

getWSDLPlugin

public WSDLExtensibilityPlugin getWSDLPlugin(String key,
                                             Class clz)

init

protected void init()
             throws ToolException
Throws:
ToolException

getWSDLDefinition

public javax.wsdl.Definition getWSDLDefinition()

process

public void process()
             throws ToolException
Specified by:
process in interface Processor
Throws:
ToolException

validateWSDL

public void validateWSDL()
                  throws ToolException
Throws:
ToolException

setEnvironment

public void setEnvironment(ToolContext penv)
Specified by:
setEnvironment in interface Processor

getEnvironment

public ToolContext getEnvironment()

error

public void error(SAXParseException exception)

fatalError

public void fatalError(SAXParseException exception)

info

public void info(SAXParseException exception)

warning

public void warning(SAXParseException exception)

validate

public boolean validate(javax.wsdl.Definition def,
                        ToolContext context,
                        Bus bus)
                 throws ToolException
Throws:
ToolException

Apache CXF API

Apache CXF