Class AbstractWSDLToProcessor
- java.lang.Object
-
- org.apache.cxf.tools.misc.processor.AbstractWSDLToProcessor
-
- All Implemented Interfaces:
org.apache.cxf.tools.common.Processor
- Direct Known Subclasses:
WSDLToServiceProcessor,WSDLToSoapProcessor,WSDLToXMLProcessor
public class AbstractWSDLToProcessor extends Object implements org.apache.cxf.tools.common.Processor
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.cxf.tools.util.ClassCollectorclassColletorprotected org.apache.cxf.tools.common.ToolContextenvprotected javax.wsdl.extensions.ExtensionRegistryextRegprotected static LoggerLOGprotected static StringWSDL_FILE_NAME_EXTprotected javax.wsdl.DefinitionwsdlDefinitionprotected javax.wsdl.factory.WSDLFactorywsdlFactory
-
Constructor Summary
Constructors Constructor Description AbstractWSDLToProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(SAXParseException exception)voidfatalError(SAXParseException exception)org.apache.cxf.tools.common.ToolContextgetEnvironment()protected WritergetOutputWriter(String newNameExt)javax.wsdl.DefinitiongetWSDLDefinition()org.apache.cxf.wsdl.WSDLExtensibilityPlugingetWSDLPlugin(String key, Class<?> clz)voidinfo(SAXParseException exception)protected voidinit()protected voidparseWSDL(String wsdlURL)voidprocess()voidsetEnvironment(org.apache.cxf.tools.common.ToolContext penv)booleanvalidate(javax.wsdl.Definition def, org.apache.cxf.tools.common.ToolContext context, org.apache.cxf.Bus bus)voidvalidateWSDL()voidwarning(SAXParseException exception)
-
-
-
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 org.apache.cxf.tools.common.ToolContext env
-
wsdlFactory
protected javax.wsdl.factory.WSDLFactory wsdlFactory
-
extReg
protected javax.wsdl.extensions.ExtensionRegistry extReg
-
classColletor
protected org.apache.cxf.tools.util.ClassCollector classColletor
-
-
Method Detail
-
getOutputWriter
protected Writer getOutputWriter(String newNameExt) throws org.apache.cxf.tools.common.ToolException
- Throws:
org.apache.cxf.tools.common.ToolException
-
parseWSDL
protected void parseWSDL(String wsdlURL) throws org.apache.cxf.tools.common.ToolException
- Throws:
org.apache.cxf.tools.common.ToolException
-
getWSDLPlugin
public org.apache.cxf.wsdl.WSDLExtensibilityPlugin getWSDLPlugin(String key, 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:
processin interfaceorg.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:
setEnvironmentin interfaceorg.apache.cxf.tools.common.Processor
-
getEnvironment
public org.apache.cxf.tools.common.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, org.apache.cxf.tools.common.ToolContext context, org.apache.cxf.Bus bus) throws org.apache.cxf.tools.common.ToolException- Throws:
org.apache.cxf.tools.common.ToolException
-
-