Class AbstractWSDLToProcessor
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected ClassCollectorclassColletorprotected 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)ToolContextgetEnvironment()protected WritergetOutputWriter(String newNameExt)javax.wsdl.DefinitiongetWSDLDefinition()WSDLExtensibilityPlugingetWSDLPlugin(String key, Class<?> clz)voidinfo(SAXParseException exception)protected voidinit()protected voidparseWSDL(String wsdlURL)voidprocess()voidsetEnvironment(ToolContext penv)booleanvalidate(javax.wsdl.Definition def, ToolContext context, 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 ToolContext env
-
wsdlFactory
protected javax.wsdl.factory.WSDLFactory wsdlFactory
-
extReg
protected javax.wsdl.extensions.ExtensionRegistry extReg
-
classColletor
protected ClassCollector classColletor
-
-
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:
processin interfaceProcessor- Throws:
ToolException
-
validateWSDL
public void validateWSDL() throws ToolException- Throws:
ToolException
-
setEnvironment
public void setEnvironment(ToolContext penv)
- Specified by:
setEnvironmentin interfaceProcessor
-
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
-
-