Package org.apache.cxf.tools.wsdlto.core
Class AbstractGenerator
java.lang.Object
org.apache.cxf.tools.wsdlto.core.AbstractGenerator
- All Implemented Interfaces:
FrontEndGenerator
- Direct Known Subclasses:
AbstractJaxwsGenerator,AbstractJAXWSGenerator,AbstractSimpleGenerator,AntGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ToolContextprotected Stringprotected VelocityGenerator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidgetName()protected booleanisCollision(String packageName, String filename) protected booleanisCollision(String packageName, String filename, String ext) protected WriterparseOutputName(String packageName, String filename) protected WriterparseOutputName(String packageName, String filename, String ext) abstract voidregister(ClassCollector collector, String packageName, String fileName) protected voidsetAttributes(String n, Object value) protected voidvoidsetEnvironment(ToolContext penv) protected booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.tools.common.FrontEndGenerator
generate
-
Field Details
-
env
-
name
-
velocity
-
-
Constructor Details
-
AbstractGenerator
public AbstractGenerator()
-
-
Method Details
-
doWrite
- Throws:
ToolException
-
isCollision
- Throws:
ToolException
-
isCollision
- Throws:
ToolException
-
wantToKeep
protected boolean wantToKeep() -
parseOutputName
protected Writer parseOutputName(String packageName, String filename, String ext) throws ToolException - Throws:
ToolException
-
register
-
parseOutputName
- Throws:
ToolException
-
setAttributes
-
setCommonAttributes
protected void setCommonAttributes() -
clearAttributes
protected void clearAttributes() -
setEnvironment
-
getEnvironment
-
getOutputDir
-
getName
- Specified by:
getNamein interfaceFrontEndGenerator
-