|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.wsdl.codegen.writer.ClassWriter
Field Summary | |
protected static java.lang.String |
EXTENSION_SUFFIX
|
protected boolean |
fileExists
|
protected java.lang.String |
language
|
protected java.io.File |
outputFileLocation
|
protected static java.lang.String |
SEPERATOR_STRING
|
protected java.io.FileOutputStream |
stream
|
protected static java.lang.String |
TEMPLATE_SUFFIX
|
protected java.io.InputStream |
xsltStream
|
Constructor Summary | |
ClassWriter()
|
Method Summary | |
void |
createOutFile(java.lang.String packageName,
java.lang.String fileName)
Creates the output file |
protected java.lang.String |
findTemplate(java.util.Map languageSpecificPropertyMap)
|
protected java.lang.String |
getFileExtensionForLanguage(java.lang.String language)
Find the file name extension |
void |
loadTemplate()
Load the template |
void |
setLanguage(java.lang.String language)
Sets the language |
void |
writeOutFile(java.io.InputStream documentStream)
Writes the output file |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.io.File outputFileLocation
protected java.io.FileOutputStream stream
protected java.io.InputStream xsltStream
protected java.lang.String language
protected static final java.lang.String TEMPLATE_SUFFIX
protected static final java.lang.String EXTENSION_SUFFIX
protected static final java.lang.String SEPERATOR_STRING
protected boolean fileExists
Constructor Detail |
public ClassWriter()
Method Detail |
public void setLanguage(java.lang.String language)
language
- public void loadTemplate() throws CodeGenerationException
CodeGenerationException
protected java.lang.String findTemplate(java.util.Map languageSpecificPropertyMap)
public void createOutFile(java.lang.String packageName, java.lang.String fileName) throws java.lang.Exception
packageName
- fileName
-
java.lang.Exception
protected java.lang.String getFileExtensionForLanguage(java.lang.String language)
language
-
public void writeOutFile(java.io.InputStream documentStream) throws java.lang.Exception
documentStream
-
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |