| org.objectweb.jonas_ws.wsgen.generator.ews.wsdltoj2ee.writer.JOnASDeployWriter
All known Subclasses: org.objectweb.jonas_ws.wsgen.generator.ews.wsdltoj2ee.writer.J2EEServerDeployWriter, org.objectweb.jonas_ws.wsgen.generator.ews.wsdltoj2ee.writer.J2EEClientDeployWriter,
JOnASDeployWriter | abstract public class JOnASDeployWriter extends JavaWriter (Code) | | JOnAS Base DeployWriter. It's a placeholder for commonly used methods and fields.
author: Guillaume Sauthier author: Based on J2eeDeployWriter from Ias author: (http://cvs.apache.org/viewcvs.cgi/ws-axis/contrib/ews/src/org/apache/geronimo/ews/ws4j2ee/toWs/ws/J2eeDeployWriter.java?rev=1.13&view=markup) |
Constructor Summary | |
public | JOnASDeployWriter(Emitter emitter, Definition definition, SymbolTable symbolTable) Constructor. |
Method Summary | |
public static int | getCount() | public Definition | getDefinition() | protected String | getFileName() | public JOnASJ2EEWebServicesContext | getJonasWSContext() | public String | getModeString(byte mode) | abstract protected String | getPrefix() | protected PrintWriter | getPrintWriter(String filename) | public SymbolTable | getSymbolTable() | protected void | writeArrayTypeMapping(PrintWriter pw, String namespaceURI, String localPart, String javaType, String encodingStyle, QName innerType) Raw routine that writes out the arrayMapping. | abstract protected void | writeDeployServices(PrintWriter pw) | protected void | writeDeployTypes(PrintWriter pw, Binding binding, boolean hasLiteral, boolean hasMIME, Use use) | 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, 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. |
WSDD_SUFFIX | final protected static String WSDD_SUFFIX(Code) | | WSDD Extension suffix
|
use | protected Use use(Code) | | Field use
|
JOnASDeployWriter | public JOnASDeployWriter(Emitter emitter, Definition definition, SymbolTable symbolTable)(Code) | | Constructor.
Parameters: emitter - J2EE Emitter Parameters: definition - Current Definition Parameters: symbolTable - SymbolTable |
getCount | public static int getCount()(Code) | | Returns the count. |
getDefinition | public Definition getDefinition()(Code) | | Returns the definition. |
getFileName | protected String getFileName()(Code) | | Returns the fully-qualified name of the deploy.wsdd file to be generated. |
getModeString | public String getModeString(byte mode)(Code) | | Method getModeString
Parameters: mode - Parameter mode (IN, INOUT, OUT) Parameter Mode String representation |
getPrefix | abstract protected String getPrefix()(Code) | | Returns the filename prefix. |
getPrintWriter | protected PrintWriter getPrintWriter(String filename) throws IOException(Code) | | Method getPrintWriter
Parameters: filename - file to open Returns the printWriter for the file throws: IOException - When File cannot be open/written |
getSymbolTable | public SymbolTable getSymbolTable()(Code) | | Returns the symbolTable. |
writeArrayTypeMapping | protected void writeArrayTypeMapping(PrintWriter pw, String namespaceURI, String localPart, String javaType, String encodingStyle, QName innerType)(Code) | | Raw routine that writes out the arrayMapping.
Parameters: pw - PrintWriter Parameters: namespaceURI - xml type namespace Parameters: localPart - xml type localpart Parameters: javaType - java classname Parameters: encodingStyle - encoding style Parameters: innerType - array component type QName |
writeDeployServices | abstract protected void writeDeployServices(PrintWriter pw) throws IOException(Code) | | Writes te list of wsdd:service
Parameters: pw - PrintWriter throws: IOException - implementation may throw IOException |
writeDeployTypes | protected void writeDeployTypes(PrintWriter pw, Binding binding, boolean hasLiteral, boolean hasMIME, Use use)(Code) | | Write out bean mappings for each type
Parameters: pw - PrintWriter Parameters: binding - wsdl:binding Parameters: hasLiteral - has a literal type ? Parameters: hasMIME - has MIME type ? Parameters: use - Use |
writeFileBody | protected void writeFileBody(PrintWriter pw) throws IOException(Code) | | Write the body of the deploy.wsdd file.
Parameters: pw - PrintWriter throws: IOException - thrown by writeDeployServices |
writeFileHeader | protected void writeFileHeader(PrintWriter pw) throws IOException(Code) | | Replace the default file header with the deployment doc file header.
Parameters: pw - PrintWriter where descriptor has to be written throws: IOException - not thrown |
writeOperation | protected void writeOperation(PrintWriter pw, String javaOperName, QName elementQName, QName returnQName, QName returnType, Parameters params, ArrayList faults, String soapAction)(Code) | | Raw routine that writes out the operation and parameters.
Parameters: pw - PrintWriter Parameters: javaOperName - java method name Parameters: elementQName - wsdl operation qname Parameters: returnQName - wsdl return type qname Parameters: returnType - java return type classname ? Parameters: params - list of params used by this operation Parameters: faults - list of faults thrown by this operation Parameters: soapAction - soapAction value |
writeTypeMapping | protected void writeTypeMapping(PrintWriter pw, String namespaceURI, String localPart, String javaType, String serializerFactory, String deserializerFactory, String encodingStyle)(Code) | | Raw routine that writes out the typeMapping.
Parameters: pw - PrintWriter Parameters: namespaceURI - xml type namespace Parameters: localPart - xml type localpart Parameters: javaType - java classname Parameters: serializerFactory - java serializer factory classname Parameters: deserializerFactory - java deserializer factory classname Parameters: encodingStyle - encoding style |
|
|