Java Doc for WSDLGeneratorExtension.java in  » 6.0-JDK-Modules » jax-ws-runtime » com » sun » xml » ws » api » wsdl » 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 » 6.0 JDK Modules » jax ws runtime » com.sun.xml.ws.api.wsdl.writer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.xml.ws.api.wsdl.writer.WSDLGeneratorExtension

All known Subclasses:   com.sun.xml.ws.wsdl.writer.W3CAddressingWSDLGeneratorExtension,  com.sun.xml.ws.wsdl.writer.WSDLGeneratorExtensionFacade,
WSDLGeneratorExtension
abstract public class WSDLGeneratorExtension (Code)
This is a callback interface used to extend the WSDLGenerator. Implementors of this interface can add their own WSDL extensions to the generated WSDL. There are a number of methods that will be invoked allowing the extensions to be generated on various WSDL elements.

The JAX-WS WSDLGenerator uses TXW to serialize the WSDL out to XML. More information about TXW can be located at http://txw.dev.java.net.





Method Summary
public  voidaddBindingExtension(TypedXmlWriter binding)
     This method is invoked so that extensions to a wsdl:binding element can be generated.
public  voidaddBindingOperationExtension(TypedXmlWriter operation, JavaMethod method)
     This method is invoked so that extensions to a wsdl:binding/wsdl:operation element can be generated.
public  voidaddBindingOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce)
     This method is invoked so that extensions to a wsdl:binding/wsdl:operation/wsdl:fault element can be generated.
public  voidaddBindingOperationInputExtension(TypedXmlWriter input, JavaMethod method)
     This method is invoked so that extensions to a wsdl:binding/wsdl:operation/wsdl:input element can be generated.
public  voidaddBindingOperationOutputExtension(TypedXmlWriter output, JavaMethod method)
     This method is invoked so that extensions to a wsdl:binding/wsdl:operation/wsdl:output element can be generated.
public  voidaddDefinitionsExtension(TypedXmlWriter definitions)
     This method is invoked so that extensions to a wsdl:definitions element can be generated.
public  voidaddFaultMessageExtension(TypedXmlWriter message, JavaMethod method, CheckedException ce)
     This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:fault element can be generated.
public  voidaddInputMessageExtension(TypedXmlWriter message, JavaMethod method)
     This method is invoked so that extensions to an input wsdl:message element can be generated.
public  voidaddOperationExtension(TypedXmlWriter operation, JavaMethod method)
     This method is invoked so that extensions to a wsdl:portType/wsdl:operation element can be generated.
public  voidaddOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce)
     This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:fault element can be generated.
public  voidaddOperationInputExtension(TypedXmlWriter input, JavaMethod method)
     This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:input element can be generated.
public  voidaddOperationOutputExtension(TypedXmlWriter output, JavaMethod method)
     This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:output element can be generated.
public  voidaddOutputMessageExtension(TypedXmlWriter message, JavaMethod method)
     This method is invoked so that extensions to an output wsdl:message element can be generated.
public  voidaddPortExtension(TypedXmlWriter port)
     This method is invoked so that extensions to a wsdl:port element can be generated.
public  voidaddPortTypeExtension(TypedXmlWriter portType)
     This method is invoked so that extensions to a wsdl:portType element can be generated.
public  voidaddServiceExtension(TypedXmlWriter service)
     This method is invoked so that extensions to a wsdl:service element can be generated.
public  voidend(WSDLGenExtnContext ctxt)
     Called before writing .
public  voidstart(TypedXmlWriter root, SEIModel model, WSBinding binding, Container container)
     Called at the very beginning of the process.

This method is invoked so that the root element can be manipulated before any tags have been written.

public  voidstart(WSDLGenExtnContext ctxt)
     Called at the very beginning of the process.

This method is invoked so that the root element can be manipulated before any tags have been written.




Method Detail
addBindingExtension
public void addBindingExtension(TypedXmlWriter binding)(Code)
This method is invoked so that extensions to a wsdl:binding element can be generated.

TODO: Some other information may need to be passed
Parameters:
  binding - This is the wsdl:binding element that the extension can be added to.




addBindingOperationExtension
public void addBindingOperationExtension(TypedXmlWriter operation, JavaMethod method)(Code)
This method is invoked so that extensions to a wsdl:binding/wsdl:operation element can be generated.
Parameters:
  operation - This is the wsdl:binding/wsdl:operation element that theextension can be added to.
Parameters:
  method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation



addBindingOperationFaultExtension
public void addBindingOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce)(Code)
This method is invoked so that extensions to a wsdl:binding/wsdl:operation/wsdl:fault element can be generated.
Parameters:
  fault - This is the wsdl:binding/wsdl:operation/wsdl:fault or wsdl:portType/wsdl:output/wsdl:operation/wsdl:faultelement that the extension can be added to.
Parameters:
  method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation



addBindingOperationInputExtension
public void addBindingOperationInputExtension(TypedXmlWriter input, JavaMethod method)(Code)
This method is invoked so that extensions to a wsdl:binding/wsdl:operation/wsdl:input element can be generated.
Parameters:
  input - This is the wsdl:binding/wsdl:operation/wsdl:input element that theextension can be added to.
Parameters:
  method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation



addBindingOperationOutputExtension
public void addBindingOperationOutputExtension(TypedXmlWriter output, JavaMethod method)(Code)
This method is invoked so that extensions to a wsdl:binding/wsdl:operation/wsdl:output element can be generated.
Parameters:
  output - This is the wsdl:binding/wsdl:operation/wsdl:output element that theextension can be added to.
Parameters:
  method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation



addDefinitionsExtension
public void addDefinitionsExtension(TypedXmlWriter definitions)(Code)
This method is invoked so that extensions to a wsdl:definitions element can be generated.
Parameters:
  definitions - This is the wsdl:defintions element that the extension can be added to.



addFaultMessageExtension
public void addFaultMessageExtension(TypedXmlWriter message, JavaMethod method, CheckedException ce)(Code)
This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:fault element can be generated.
Parameters:
  message - This is the fault wsdl:message element that theextension can be added to.
Parameters:
  method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation
Parameters:
  ce - CheckedException that abstracts wsdl:fault



addInputMessageExtension
public void addInputMessageExtension(TypedXmlWriter message, JavaMethod method)(Code)
This method is invoked so that extensions to an input wsdl:message element can be generated.
Parameters:
  message - This is the input wsdl:message element that theextension can be added to.
Parameters:
  method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation



addOperationExtension
public void addOperationExtension(TypedXmlWriter operation, JavaMethod method)(Code)
This method is invoked so that extensions to a wsdl:portType/wsdl:operation element can be generated.
Parameters:
  operation - This is the wsdl:portType/wsdl:operation element that theextension can be added to.
Parameters:
  method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation



addOperationFaultExtension
public void addOperationFaultExtension(TypedXmlWriter fault, JavaMethod method, CheckedException ce)(Code)
This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:fault element can be generated.
Parameters:
  fault - This is the wsdl:portType/wsdl:operation/wsdl:fault element that theextension can be added to.
Parameters:
  method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation
Parameters:
  ce - CheckedException that abstracts wsdl:fault



addOperationInputExtension
public void addOperationInputExtension(TypedXmlWriter input, JavaMethod method)(Code)
This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:input element can be generated.
Parameters:
  input - This is the wsdl:portType/wsdl:operation/wsdl:input element that theextension can be added to.
Parameters:
  method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation



addOperationOutputExtension
public void addOperationOutputExtension(TypedXmlWriter output, JavaMethod method)(Code)
This method is invoked so that extensions to a wsdl:portType/wsdl:operation/wsdl:output element can be generated.
Parameters:
  output - This is the wsdl:portType/wsdl:operation/wsdl:output element that theextension can be added to.
Parameters:
  method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation



addOutputMessageExtension
public void addOutputMessageExtension(TypedXmlWriter message, JavaMethod method)(Code)
This method is invoked so that extensions to an output wsdl:message element can be generated.
Parameters:
  message - This is the output wsdl:message element that theextension can be added to.
Parameters:
  method - JavaMethod which captures all the information to generate wsdl:portType/wsdl:operation



addPortExtension
public void addPortExtension(TypedXmlWriter port)(Code)
This method is invoked so that extensions to a wsdl:port element can be generated.
Parameters:
  port - This is the wsdl:port element that the extension can be added to.



addPortTypeExtension
public void addPortTypeExtension(TypedXmlWriter portType)(Code)
This method is invoked so that extensions to a wsdl:portType element can be generated.


Parameters:
  portType - This is the wsdl:portType element that the extension can be added to.




addServiceExtension
public void addServiceExtension(TypedXmlWriter service)(Code)
This method is invoked so that extensions to a wsdl:service element can be generated.
Parameters:
  service - This is the wsdl:service element that the extension can be added to.



end
public void end(WSDLGenExtnContext ctxt)(Code)
Called before writing .
Parameters:
  ctxt -



start
public void start(TypedXmlWriter root, SEIModel model, WSBinding binding, Container container)(Code)
Called at the very beginning of the process.

This method is invoked so that the root element can be manipulated before any tags have been written. This allows to set e.g. namespace prefixes.

Another purpose of this method is to let extensions know what model we are generating a WSDL for.
Parameters:
  root - This is the root element of the generated WSDL.
Parameters:
  model - WSDL is being generated from this SEIModel.
Parameters:
  binding - The binding for which we generate WSDL. the binding WSBinding represents a particularconfiguration of JAXWS. This can be typically be overriden by
Parameters:
  container - The entry point to the external environment.If this extension is used at the runtime to generate WSDL, you get a Containerthat was given to WSEndpoint.create.TODO: think about tool side




start
public void start(WSDLGenExtnContext ctxt)(Code)
Called at the very beginning of the process.

This method is invoked so that the root element can be manipulated before any tags have been written. This allows to set e.g. namespace prefixes.

Another purpose of this method is to let extensions know what model we are generating a WSDL for.
Parameters:
  ctxt - Provides the context for the generator extensions




Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

w___w___w_.j__a___v___a2__s_._c_o__m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.