org.apache.cxf.tools.misc.processor
Class AbstractWSDLToProcessor
java.lang.Object
org.apache.cxf.tools.misc.processor.AbstractWSDLToProcessor
- All Implemented Interfaces:
- com.sun.tools.xjc.api.ErrorListener, org.apache.cxf.tools.common.Processor, org.xml.sax.ErrorHandler
- Direct Known Subclasses:
- WSDLToServiceProcessor, WSDLToSoapProcessor, WSDLToXMLProcessor
public class AbstractWSDLToProcessor
- extends java.lang.Object
- implements org.apache.cxf.tools.common.Processor, com.sun.tools.xjc.api.ErrorListener
|
Field Summary |
protected org.apache.cxf.tools.util.ClassCollector |
classColletor
|
protected org.apache.cxf.tools.common.ToolContext |
env
|
protected static java.util.logging.Logger |
LOG
|
protected static java.lang.String |
WSDL_FILE_NAME_EXT
|
protected javax.wsdl.Definition |
wsdlDefinition
|
protected javax.wsdl.factory.WSDLFactory |
wsdlFactory
|
protected javax.wsdl.xml.WSDLReader |
wsdlReader
|
|
Method Summary |
void |
error(org.xml.sax.SAXParseException exception)
|
void |
fatalError(org.xml.sax.SAXParseException exception)
|
org.apache.cxf.tools.common.ToolContext |
getEnvironment()
|
protected java.io.Writer |
getOutputWriter(java.lang.String newNameExt)
|
javax.wsdl.Definition |
getWSDLDefinition()
|
org.apache.cxf.wsdl.WSDLExtensibilityPlugin |
getWSDLPlugin(java.lang.String key,
java.lang.Class clz)
|
void |
info(org.xml.sax.SAXParseException exception)
|
protected void |
init()
|
protected void |
parseWSDL(java.lang.String wsdlURL)
|
void |
process()
|
void |
setEnvironment(org.apache.cxf.tools.common.ToolContext penv)
|
void |
validateWSDL()
|
void |
warning(org.xml.sax.SAXParseException exception)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final java.util.logging.Logger LOG
WSDL_FILE_NAME_EXT
protected static final java.lang.String WSDL_FILE_NAME_EXT
- See Also:
- Constant Field Values
wsdlDefinition
protected javax.wsdl.Definition wsdlDefinition
env
protected org.apache.cxf.tools.common.ToolContext env
wsdlFactory
protected javax.wsdl.factory.WSDLFactory wsdlFactory
wsdlReader
protected javax.wsdl.xml.WSDLReader wsdlReader
classColletor
protected org.apache.cxf.tools.util.ClassCollector classColletor
AbstractWSDLToProcessor
public AbstractWSDLToProcessor()
getOutputWriter
protected java.io.Writer getOutputWriter(java.lang.String newNameExt)
throws org.apache.cxf.tools.common.ToolException
- Throws:
org.apache.cxf.tools.common.ToolException
parseWSDL
protected void parseWSDL(java.lang.String wsdlURL)
throws org.apache.cxf.tools.common.ToolException
- Throws:
org.apache.cxf.tools.common.ToolException
getWSDLPlugin
public org.apache.cxf.wsdl.WSDLExtensibilityPlugin getWSDLPlugin(java.lang.String key,
java.lang.Class clz)
init
protected void init()
throws org.apache.cxf.tools.common.ToolException
- Throws:
org.apache.cxf.tools.common.ToolException
getWSDLDefinition
public javax.wsdl.Definition getWSDLDefinition()
process
public void process()
throws org.apache.cxf.tools.common.ToolException
- Specified by:
process in interface org.apache.cxf.tools.common.Processor
- Throws:
org.apache.cxf.tools.common.ToolException
validateWSDL
public void validateWSDL()
throws org.apache.cxf.tools.common.ToolException
- Throws:
org.apache.cxf.tools.common.ToolException
setEnvironment
public void setEnvironment(org.apache.cxf.tools.common.ToolContext penv)
- Specified by:
setEnvironment in interface org.apache.cxf.tools.common.Processor
getEnvironment
public org.apache.cxf.tools.common.ToolContext getEnvironment()
error
public void error(org.xml.sax.SAXParseException exception)
- Specified by:
error in interface com.sun.tools.xjc.api.ErrorListener- Specified by:
error in interface org.xml.sax.ErrorHandler
fatalError
public void fatalError(org.xml.sax.SAXParseException exception)
- Specified by:
fatalError in interface com.sun.tools.xjc.api.ErrorListener- Specified by:
fatalError in interface org.xml.sax.ErrorHandler
info
public void info(org.xml.sax.SAXParseException exception)
- Specified by:
info in interface com.sun.tools.xjc.api.ErrorListener
warning
public void warning(org.xml.sax.SAXParseException exception)
- Specified by:
warning in interface com.sun.tools.xjc.api.ErrorListener- Specified by:
warning in interface org.xml.sax.ErrorHandler
Apache CXF