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


com.sun.xml.ws.api.addressing.AddressingVersion

AddressingVersion
public enum AddressingVersion (Code)
'Traits' object that absorbs differences of WS-Addressing versions.
author:
   Arun Gupta

Inner Class :final public static class EPR

Field Summary
 Enum ConstantMEMBER
    
final public static  StringUNSET_INPUT_ACTION
    
final public static  StringUNSET_OUTPUT_ACTION
    
 Enum ConstantW3C
    
final public  QNameactionMismatchTag
     Represents the QName of the fault code when Action is not supported at this endpoint.
final public  QNameactionNotSupportedTag
     Represents the QName of the fault code when Action is not supported at this endpoint.
final public  StringactionNotSupportedText
     Represents the text of the fault when Action is not supported at this endpoint.
final public  QNameactionTag
     Represents the Action QName in the SOAP message for a specific WS-Addressing Version.
final public  WSEndpointReferenceanonymousEpr
     Represents the anonymous EPR.
final public  StringanonymousUri
     Gets the anonymous URI value associated with this WS-Addressing version.
final public  EPReprType
     Representing either W3CEndpointReference or MemberSubmissionEndpointReference .
final public  QNamefaultDetailTag
     Represents the QName of the header element that is used to capture the fault detail if there is a fault processing WS-Addressing Message Addressing Property.
final public  QNamefaultToTag
     Represents the FaultTo QName for a specific WS-Addressing Version.
final public static  QNamefault_duplicateAddressInEpr
     Fault sub-sub-code that represents duplicate <Address> element in EPR.
final public  QNamefault_missingAddressInEpr
    
final public  QNamefromTag
     Represents the From QName in the SOAP message for a specific WS-Addressing Version.
final public  QNameinvalidAddressTag
     Represents the QName of the fault code when a header representing an address is not valid.
final public  QNameinvalidCardinalityTag
     Represents the QName of the fault code when a header representing a WS-Addressing Message Addressing Property occurs greater than expected number.
final public  QNameinvalidMapTag
     Represents the QName of the fault code when a header representing a WS-Addressing Message Addressing Property is invalid and cannot be processed.
final public  QNameisReferenceParameterTag
     Represents the QName of the reference parameter in a SOAP message.
final public  QNamemapRequiredTag
     Represents the QName of the fault code when a required header representing a WS-Addressing Message Addressing Property is not present.
final public  QNamemessageIDTag
     Represents the MessageID QName in the SOAP message for a specific WS-Addressing Version.
final public  StringnoneUri
     Gets the none URI value associated with this WS-Addressing version.
final public  StringnsUri
    
final public  StringpolicyNsUri
    
final public  QNameproblemActionTag
     Represents the QName of the element that conveys additional information if Action is not matching with that expected.
final public  QNameproblemHeaderQNameTag
     Represents the QName of the element that conveys additional information on the pre-defined WS-Addressing faults.
final public  QNamerelatesToTag
     Represents the RelatesTo QName in the SOAP message for a specific WS-Addressing Version.
final public  QNamereplyToTag
     Represents the ReplyTo QName in the SOAP message for a specific WS-Addressing Version.
final public  QNametoTag
     Represents the To QName in the SOAP message for a specific WS-Addressing Version.
final public  QNamewsdlActionTag
     Represents the Action QName in the WSDL for a specific WS-Addressing Version.
final public  QNamewsdlAnonymousTag
     Represents the WSDL anonymous QName for a specific WS-Addressing Version.
final public  QNamewsdlExtensionTag
     Represents the WSDL extension QName for a specific WS-Addressing Version.
final public  StringwsdlNsUri
    


Method Summary
abstract  HeadercreateReferenceParameterHeader(XMLStreamBuffer mark, String nsUri, String localName)
     Creates an outbound Header from a reference parameter.
public static  AddressingVersionfromBinding(WSBinding binding)
    
public static  AddressingVersionfromFeature(WebServiceFeature af)
    
public static  AddressingVersionfromNsUri(String nsUri)
     Returns AddressingVersion whose AddressingVersion.nsUri equals to the given string. This method does not perform input string validation.
Parameters:
  nsUri - must not be null.
public static  AddressingVersionfromPort(WSDLPort port)
    
public static  AddressingVersionfromSpecClass(Class<? extends EndpointReference> eprClass)
     Gets the corresponding AddressingVersion instance from the EPR class.
abstract  StringgetActionMismatchLocalName()
    
final public  StringgetAnonymousUri()
     Gets the anonymous URI value associated with this WS-Addressing version.
public  StringgetDefaultFaultAction()
     Gets the default fault Action value associated with this WS-Addressing version.
public static  WebServiceFeaturegetFeature(String nsUri, boolean enabled, boolean required)
     Gets the WebServiceFeature corresponding to the namespace URI of WS-Addressing policy assertion in the WSDL.
abstract public  Class<? extends WebServiceFeature>getFeatureClass()
    
abstract  StringgetInvalidAddressLocalName()
     Gets the local name of the fault when a header representing anaddress is invalid.
abstract  StringgetInvalidCardinalityLocalName()
     Gets the local name of the fault when a header representing a WS-Addressing Message Addresing Property occurs greater than expected number.
abstract  StringgetInvalidMapLocalName()
     Gets the local name of the fault when a header representing a WS-Addressing Message Addresing Property is invalid and cannot be processed.
abstract public  StringgetInvalidMapText()
     Gets the description text when a header representing a WS-Addressing Message Addressing Property is invalid and cannot be processed.
abstract  StringgetIsReferenceParameterLocalName()
     Gets the local name for wsa:IsReferenceParameter.
abstract  StringgetMapRequiredLocalName()
     Gets the local name of the fault when a header representing a WS-Addressing Message Addresing Property is absent.
abstract public  StringgetMapRequiredText()
     Gets the description text when a required WS-Addressing header representing a Message Addressing Property is absent.
final public  StringgetNoneUri()
     Gets the none URI value associated with this WS-Addressing version.
public  StringgetNsUri()
    
abstract public  StringgetPrefix()
    
abstract public  WsaTubeHelpergetWsaHelper(WSDLPort wsdlPort, SEIModel seiModel, WSBinding binding)
     Returns WsaTubeHelper for the WS-Addressing version identified by binding WSBinding and for the WSDLPort port.
abstract  StringgetWsdlAnonymousLocalName()
    
abstract public  StringgetWsdlPrefix()
    
public static  booleanisEnabled(WSBinding binding)
     Returns true if binding contains either a AddressingFeature or MemberSubmissionAddressingFeature and is enabled.
abstract public  booleanisReferenceParameter(String localName)
     Returns true if the given local name is considered as a reference parameter in EPR.
public static  booleanisRequired(WebServiceFeature wsf)
     Returns true if the WebServiceFeature is either a AddressingFeature or MemberSubmissionAddressingFeature and is required.
public static  booleanisRequired(WSBinding binding)
     Returns true if binding contains either a AddressingFeature or MemberSubmissionAddressingFeature and is required.

Field Detail
MEMBER
Enum Constant MEMBER(Code)



UNSET_INPUT_ACTION
final public static String UNSET_INPUT_ACTION(Code)



UNSET_OUTPUT_ACTION
final public static String UNSET_OUTPUT_ACTION(Code)



W3C
Enum Constant W3C(Code)



actionMismatchTag
final public QName actionMismatchTag(Code)
Represents the QName of the fault code when Action is not supported at this endpoint.



actionNotSupportedTag
final public QName actionNotSupportedTag(Code)
Represents the QName of the fault code when Action is not supported at this endpoint.



actionNotSupportedText
final public String actionNotSupportedText(Code)
Represents the text of the fault when Action is not supported at this endpoint.



actionTag
final public QName actionTag(Code)
Represents the Action QName in the SOAP message for a specific WS-Addressing Version.



anonymousEpr
final public WSEndpointReference anonymousEpr(Code)
Represents the anonymous EPR.



anonymousUri
final public String anonymousUri(Code)
Gets the anonymous URI value associated with this WS-Addressing version.



eprType
final public EPR eprType(Code)
Representing either W3CEndpointReference or MemberSubmissionEndpointReference .



faultDetailTag
final public QName faultDetailTag(Code)
Represents the QName of the header element that is used to capture the fault detail if there is a fault processing WS-Addressing Message Addressing Property. This is only used for SOAP 1.1.



faultToTag
final public QName faultToTag(Code)
Represents the FaultTo QName for a specific WS-Addressing Version.



fault_duplicateAddressInEpr
final public static QName fault_duplicateAddressInEpr(Code)
Fault sub-sub-code that represents duplicate <Address> element in EPR. This is a fault code not defined in the spec.



fault_missingAddressInEpr
final public QName fault_missingAddressInEpr(Code)
Fault sub-sub-code that represents "Specifies that the invalid header was expected to be an EPR but did not contain an [address]."



fromTag
final public QName fromTag(Code)
Represents the From QName in the SOAP message for a specific WS-Addressing Version.



invalidAddressTag
final public QName invalidAddressTag(Code)
Represents the QName of the fault code when a header representing an address is not valid.



invalidCardinalityTag
final public QName invalidCardinalityTag(Code)
Represents the QName of the fault code when a header representing a WS-Addressing Message Addressing Property occurs greater than expected number.



invalidMapTag
final public QName invalidMapTag(Code)
Represents the QName of the fault code when a header representing a WS-Addressing Message Addressing Property is invalid and cannot be processed.



isReferenceParameterTag
final public QName isReferenceParameterTag(Code)
Represents the QName of the reference parameter in a SOAP message. This is only valid for W3C WS-Addressing.



mapRequiredTag
final public QName mapRequiredTag(Code)
Represents the QName of the fault code when a required header representing a WS-Addressing Message Addressing Property is not present.



messageIDTag
final public QName messageIDTag(Code)
Represents the MessageID QName in the SOAP message for a specific WS-Addressing Version.



noneUri
final public String noneUri(Code)
Gets the none URI value associated with this WS-Addressing version.



nsUri
final public String nsUri(Code)
Namespace URI



policyNsUri
final public String policyNsUri(Code)
Namespace URI for the WSDL Binding



problemActionTag
final public QName problemActionTag(Code)
Represents the QName of the element that conveys additional information if Action is not matching with that expected.



problemHeaderQNameTag
final public QName problemHeaderQNameTag(Code)
Represents the QName of the element that conveys additional information on the pre-defined WS-Addressing faults.



relatesToTag
final public QName relatesToTag(Code)
Represents the RelatesTo QName in the SOAP message for a specific WS-Addressing Version.



replyToTag
final public QName replyToTag(Code)
Represents the ReplyTo QName in the SOAP message for a specific WS-Addressing Version.



toTag
final public QName toTag(Code)
Represents the To QName in the SOAP message for a specific WS-Addressing Version.



wsdlActionTag
final public QName wsdlActionTag(Code)
Represents the Action QName in the WSDL for a specific WS-Addressing Version.



wsdlAnonymousTag
final public QName wsdlAnonymousTag(Code)
Represents the WSDL anonymous QName for a specific WS-Addressing Version.



wsdlExtensionTag
final public QName wsdlExtensionTag(Code)
Represents the WSDL extension QName for a specific WS-Addressing Version.



wsdlNsUri
final public String wsdlNsUri(Code)
Namespace URI for the WSDL Binding





Method Detail
createReferenceParameterHeader
abstract Header createReferenceParameterHeader(XMLStreamBuffer mark, String nsUri, String localName)(Code)
Creates an outbound Header from a reference parameter.



fromBinding
public static AddressingVersion fromBinding(WSBinding binding)(Code)
Gets the AddressingVersion from a WSBinding
Parameters:
  binding - WSDL bindingaddresing version enabled, or null if none is enabled.



fromFeature
public static AddressingVersion fromFeature(WebServiceFeature af)(Code)



fromNsUri
public static AddressingVersion fromNsUri(String nsUri)(Code)
Returns AddressingVersion whose AddressingVersion.nsUri equals to the given string. This method does not perform input string validation.
Parameters:
  nsUri - must not be null. always non-null.



fromPort
public static AddressingVersion fromPort(WSDLPort port)(Code)
Gets the AddressingVersion from a WSDLPort
Parameters:
  port - WSDL port addresing version



fromSpecClass
public static AddressingVersion fromSpecClass(Class<? extends EndpointReference> eprClass)(Code)
Gets the corresponding AddressingVersion instance from the EPR class.



getActionMismatchLocalName
abstract String getActionMismatchLocalName()(Code)
Gets the local name of the fault when a header representing a WS-Addressing Action is not same as SOAPAction local name



getAnonymousUri
final public String getAnonymousUri()(Code)
Gets the anonymous URI value associated with this WS-Addressing version. AddressingVersion.anonymousUri



getDefaultFaultAction
public String getDefaultFaultAction()(Code)
Gets the default fault Action value associated with this WS-Addressing version. default fault Action value



getFeature
public static WebServiceFeature getFeature(String nsUri, boolean enabled, boolean required)(Code)
Gets the WebServiceFeature corresponding to the namespace URI of WS-Addressing policy assertion in the WSDL. enabled and required are used to initialize the value of the feature.
Parameters:
  nsUri - namespace URI of the WS-Addressing policy assertion in the WSDL
Parameters:
  enabled - true if feature is to be enabled, false otherwise
Parameters:
  required - true if feature is required, false otherwise. Correspondsto wsdl:required on the extension/assertion. WebServiceFeature corresponding to the assertion namespace URI
throws:
  WebServiceException - if an unsupported namespace URI is passed



getFeatureClass
abstract public Class<? extends WebServiceFeature> getFeatureClass()(Code)



getInvalidAddressLocalName
abstract String getInvalidAddressLocalName()(Code)
Gets the local name of the fault when a header representing anaddress is invalid. local name



getInvalidCardinalityLocalName
abstract String getInvalidCardinalityLocalName()(Code)
Gets the local name of the fault when a header representing a WS-Addressing Message Addresing Property occurs greater than expected number. local name



getInvalidMapLocalName
abstract String getInvalidMapLocalName()(Code)
Gets the local name of the fault when a header representing a WS-Addressing Message Addresing Property is invalid and cannot be processed. local name



getInvalidMapText
abstract public String getInvalidMapText()(Code)
Gets the description text when a header representing a WS-Addressing Message Addressing Property is invalid and cannot be processed. description text



getIsReferenceParameterLocalName
abstract String getIsReferenceParameterLocalName()(Code)
Gets the local name for wsa:IsReferenceParameter. This method will return a valid value only valid for W3C WS-Addressing. For Member Submission WS-Addressing, this method returns null.



getMapRequiredLocalName
abstract String getMapRequiredLocalName()(Code)
Gets the local name of the fault when a header representing a WS-Addressing Message Addresing Property is absent. local name



getMapRequiredText
abstract public String getMapRequiredText()(Code)
Gets the description text when a required WS-Addressing header representing a Message Addressing Property is absent. description text



getNoneUri
final public String getNoneUri()(Code)
Gets the none URI value associated with this WS-Addressing version. none URI valueAddressingVersion.noneUri



getNsUri
public String getNsUri()(Code)
Returns AddressingVersion.nsUri associated with this AddressingVersion namespace URIAddressingVersion.nsUri



getPrefix
abstract public String getPrefix()(Code)



getWsaHelper
abstract public WsaTubeHelper getWsaHelper(WSDLPort wsdlPort, SEIModel seiModel, WSBinding binding)(Code)
Returns WsaTubeHelper for the WS-Addressing version identified by binding WSBinding and for the WSDLPort port. WS-A version specific helper



getWsdlAnonymousLocalName
abstract String getWsdlAnonymousLocalName()(Code)



getWsdlPrefix
abstract public String getWsdlPrefix()(Code)



isEnabled
public static boolean isEnabled(WSBinding binding)(Code)
Returns true if binding contains either a AddressingFeature or MemberSubmissionAddressingFeature and is enabled.
Parameters:
  binding - The binding true if WS-Addressing is enabled for binding.



isReferenceParameter
abstract public boolean isReferenceParameter(String localName)(Code)
Returns true if the given local name is considered as a reference parameter in EPR. For W3C, this means "ReferenceParameters", and for the member submission version, this means either "ReferenceParameters" or "ReferenceProperties".



isRequired
public static boolean isRequired(WebServiceFeature wsf)(Code)
Returns true if the WebServiceFeature is either a AddressingFeature or MemberSubmissionAddressingFeature and is required.
Parameters:
  wsf - The WebServiceFeature encaps
throws:
  WebServiceException - if wsf does not contain either AddressingFeature orMemberSubmissionAddressingFeature true if wsf requires WS-Addressing



isRequired
public static boolean isRequired(WSBinding binding)(Code)
Returns true if binding contains either a AddressingFeature or MemberSubmissionAddressingFeature and is required.
Parameters:
  binding - The binding true if binding requires WS-Addressing



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