Java Doc for JOnASDeployWriter.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas_ws » wsgen » generator » ews » wsdltoj2ee » writer » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » JOnAS 4.8.6 » org.objectweb.jonas_ws.wsgen.generator.ews.wsdltoj2ee.writer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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)


Field Summary
final protected static  StringWSDD_SUFFIX
    
protected  Useuse
    

Constructor Summary
public  JOnASDeployWriter(Emitter emitter, Definition definition, SymbolTable symbolTable)
     Constructor.

Method Summary
public static  intgetCount()
    
public  DefinitiongetDefinition()
    
protected  StringgetFileName()
    
public  JOnASJ2EEWebServicesContextgetJonasWSContext()
    
public  StringgetModeString(byte mode)
    
abstract protected  StringgetPrefix()
    
protected  PrintWritergetPrintWriter(String filename)
    
public  SymbolTablegetSymbolTable()
    
protected  voidwriteArrayTypeMapping(PrintWriter pw, String namespaceURI, String localPart, String javaType, String encodingStyle, QName innerType)
     Raw routine that writes out the arrayMapping.
abstract protected  voidwriteDeployServices(PrintWriter pw)
    
protected  voidwriteDeployTypes(PrintWriter pw, Binding binding, boolean hasLiteral, boolean hasMIME, Use use)
    
protected  voidwriteFileBody(PrintWriter pw)
     Write the body of the deploy.wsdd file.
protected  voidwriteFileHeader(PrintWriter pw)
     Replace the default file header with the deployment doc file header.
protected  voidwriteOperation(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  voidwriteTypeMapping(PrintWriter pw, String namespaceURI, String localPart, String javaType, String serializerFactory, String deserializerFactory, String encodingStyle)
     Raw routine that writes out the typeMapping.

Field Detail
WSDD_SUFFIX
final protected static String WSDD_SUFFIX(Code)
WSDD Extension suffix



use
protected Use use(Code)
Field use




Constructor Detail
JOnASDeployWriter
public JOnASDeployWriter(Emitter emitter, Definition definition, SymbolTable symbolTable)(Code)
Constructor.
Parameters:
  emitter - J2EE Emitter
Parameters:
  definition - Current Definition
Parameters:
  symbolTable - SymbolTable




Method Detail
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.



getJonasWSContext
public JOnASJ2EEWebServicesContext getJonasWSContext()(Code)
Returns the jonasWSContext.



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



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.