|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.wsdl.toJava.JavaWriter org.ow2.jonas.generators.wsgen.generator.ews.wsdltoj2ee.writer.JOnASDeployWriter
public abstract class JOnASDeployWriter
JOnAS Base DeployWriter. It's a placeholder for commonly used methods and fields.
Field Summary | |
---|---|
protected org.apache.axis.constants.Use |
use
Field use |
protected static String |
WSDD_SUFFIX
WSDD Extension suffix |
Fields inherited from class org.apache.axis.wsdl.toJava.JavaWriter |
---|
emitter, LINE_LENGTH, type |
Constructor Summary | |
---|---|
JOnASDeployWriter(org.apache.axis.wsdl.toJava.Emitter emitter,
javax.wsdl.Definition definition,
org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
Constructor. |
Method Summary | |
---|---|
static int |
getCount()
|
javax.wsdl.Definition |
getDefinition()
|
protected String |
getFileName()
|
JOnASJ2EEWebServicesContext |
getJonasWSContext()
|
String |
getModeString(byte mode)
Method getModeString |
protected abstract String |
getPrefix()
|
protected PrintWriter |
getPrintWriter(String filename)
Method getPrintWriter |
org.apache.axis.wsdl.symbolTable.SymbolTable |
getSymbolTable()
|
protected void |
writeArrayTypeMapping(PrintWriter pw,
String namespaceURI,
String localPart,
String javaType,
String encodingStyle,
QName innerType)
Raw routine that writes out the arrayMapping. |
protected abstract void |
writeDeployServices(PrintWriter pw)
Writes te list of wsdd:service |
protected void |
writeDeployTypes(PrintWriter pw,
javax.wsdl.Binding binding,
boolean hasLiteral,
boolean hasMIME,
org.apache.axis.constants.Use use)
Write out bean mappings for each type |
protected void |
writeFileBody(PrintWriter pw)
Write the body of the deploy.wsdd file. |
protected void |
writeFileHeader(PrintWriter pw)
Replace the default file header with the deployment doc file header. |
protected void |
writeOperation(PrintWriter pw,
String javaOperName,
QName elementQName,
QName returnQName,
QName returnType,
org.apache.axis.wsdl.symbolTable.Parameters params,
ArrayList faults,
String soapAction)
Raw routine that writes out the operation and parameters. |
protected void |
writeTypeMapping(PrintWriter pw,
String namespaceURI,
String localPart,
String javaType,
String serializerFactory,
String deserializerFactory,
String encodingStyle)
Raw routine that writes out the typeMapping. |
Methods inherited from class org.apache.axis.wsdl.toJava.JavaWriter |
---|
closePrintWriter, generate, getJavadocDescriptionPart, isFileGenerated, registerFile, verboseMessage, writeComment, writeComment, writeFileFooter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String WSDD_SUFFIX
protected org.apache.axis.constants.Use use
Constructor Detail |
---|
public JOnASDeployWriter(org.apache.axis.wsdl.toJava.Emitter emitter, javax.wsdl.Definition definition, org.apache.axis.wsdl.symbolTable.SymbolTable symbolTable)
emitter
- J2EE Emitterdefinition
- Current DefinitionsymbolTable
- SymbolTableMethod Detail |
---|
protected String getFileName()
getFileName
in class org.apache.axis.wsdl.toJava.JavaWriter
protected void writeFileHeader(PrintWriter pw) throws IOException
writeFileHeader
in class org.apache.axis.wsdl.toJava.JavaWriter
pw
- PrintWriter where descriptor has to be written
IOException
- not thrownprotected void writeFileBody(PrintWriter pw) throws IOException
writeFileBody
in class org.apache.axis.wsdl.toJava.JavaWriter
pw
- PrintWriter
IOException
- thrown by writeDeployServicesprotected abstract String getPrefix()
protected abstract void writeDeployServices(PrintWriter pw) throws IOException
pw
- PrintWriter
IOException
- implementation may throw IOExceptionprotected void writeTypeMapping(PrintWriter pw, String namespaceURI, String localPart, String javaType, String serializerFactory, String deserializerFactory, String encodingStyle)
pw
- PrintWriternamespaceURI
- xml type namespacelocalPart
- xml type localpartjavaType
- java classnameserializerFactory
- java serializer factory classnamedeserializerFactory
- java deserializer factory classnameencodingStyle
- encoding styleprotected void writeOperation(PrintWriter pw, String javaOperName, QName elementQName, QName returnQName, QName returnType, org.apache.axis.wsdl.symbolTable.Parameters params, ArrayList faults, String soapAction)
pw
- PrintWriterjavaOperName
- java method nameelementQName
- wsdl operation qnamereturnQName
- wsdl return type qnamereturnType
- java return type classname ?params
- list of params used by this operationfaults
- list of faults thrown by this operationsoapAction
- soapAction valueprotected void writeDeployTypes(PrintWriter pw, javax.wsdl.Binding binding, boolean hasLiteral, boolean hasMIME, org.apache.axis.constants.Use use)
pw
- PrintWriterbinding
- wsdl:bindinghasLiteral
- has a literal type ?hasMIME
- has MIME type ?use
- Useprotected void writeArrayTypeMapping(PrintWriter pw, String namespaceURI, String localPart, String javaType, String encodingStyle, QName innerType)
pw
- PrintWriternamespaceURI
- xml type namespacelocalPart
- xml type localpartjavaType
- java classnameencodingStyle
- encoding styleinnerType
- array component type QNamepublic String getModeString(byte mode)
mode
- Parameter mode (IN, INOUT, OUT)
protected PrintWriter getPrintWriter(String filename) throws IOException
getPrintWriter
in class org.apache.axis.wsdl.toJava.JavaWriter
filename
- file to open
IOException
- When File cannot be open/writtenpublic static int getCount()
public javax.wsdl.Definition getDefinition()
public JOnASJ2EEWebServicesContext getJonasWSContext()
public org.apache.axis.wsdl.symbolTable.SymbolTable getSymbolTable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |