|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AddressingVersion>
com.sun.xml.ws.api.addressing.AddressingVersion
public enum AddressingVersion
'Traits' object that absorbs differences of WS-Addressing versions.
Nested Class Summary | |
---|---|
static class |
AddressingVersion.EPR
|
Enum Constant Summary | |
---|---|
MEMBER
|
|
W3C
|
Field Summary | |
---|---|
javax.xml.namespace.QName |
actionMismatchTag
Represents the QName of the fault code when Action is not supported at this endpoint. |
javax.xml.namespace.QName |
actionNotSupportedTag
Represents the QName of the fault code when Action is not supported at this endpoint. |
java.lang.String |
actionNotSupportedText
Represents the text of the fault when Action is not supported at this endpoint. |
javax.xml.namespace.QName |
actionTag
Represents the Action QName in the SOAP message for a specific WS-Addressing Version. |
WSEndpointReference |
anonymousEpr
Represents the anonymous EPR. |
java.lang.String |
anonymousUri
Gets the anonymous URI value associated with this WS-Addressing version. |
AddressingVersion.EPR |
eprType
Representing either W3CEndpointReference or
MemberSubmissionEndpointReference . |
static javax.xml.namespace.QName |
fault_duplicateAddressInEpr
Fault sub-sub-code that represents duplicate <Address> element in EPR. |
javax.xml.namespace.QName |
fault_missingAddressInEpr
Fault sub-sub-code that represents "Specifies that the invalid header was expected to be an EPR but did not contain an [address]." |
javax.xml.namespace.QName |
faultDetailTag
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. |
javax.xml.namespace.QName |
faultToTag
Represents the FaultTo QName for a specific WS-Addressing Version. |
javax.xml.namespace.QName |
fromTag
Represents the From QName in the SOAP message for a specific WS-Addressing Version. |
javax.xml.namespace.QName |
invalidAddressTag
Represents the QName of the fault code when a header representing an address is not valid. |
javax.xml.namespace.QName |
invalidCardinalityTag
Represents the QName of the fault code when a header representing a WS-Addressing Message Addressing Property occurs greater than expected number. |
javax.xml.namespace.QName |
invalidMapTag
Represents the QName of the fault code when a header representing a WS-Addressing Message Addressing Property is invalid and cannot be processed. |
javax.xml.namespace.QName |
isReferenceParameterTag
Represents the QName of the reference parameter in a SOAP message. |
javax.xml.namespace.QName |
mapRequiredTag
Represents the QName of the fault code when a required header representing a WS-Addressing Message Addressing Property is not present. |
javax.xml.namespace.QName |
messageIDTag
Represents the MessageID QName in the SOAP message for a specific WS-Addressing Version. |
java.lang.String |
noneUri
Gets the none URI value associated with this WS-Addressing version. |
java.lang.String |
nsUri
Namespace URI |
java.lang.String |
policyNsUri
Namespace URI for the WSDL Binding |
javax.xml.namespace.QName |
problemActionTag
Represents the QName of the element that conveys additional information if Action is not matching with that expected. |
javax.xml.namespace.QName |
problemHeaderQNameTag
Represents the QName of the element that conveys additional information on the pre-defined WS-Addressing faults. |
javax.xml.namespace.QName |
relatesToTag
Represents the RelatesTo QName in the SOAP message for a specific WS-Addressing Version. |
javax.xml.namespace.QName |
replyToTag
Represents the ReplyTo QName in the SOAP message for a specific WS-Addressing Version. |
javax.xml.namespace.QName |
toTag
Represents the To QName in the SOAP message for a specific WS-Addressing Version. |
static java.lang.String |
UNSET_INPUT_ACTION
|
static java.lang.String |
UNSET_OUTPUT_ACTION
|
javax.xml.namespace.QName |
wsdlActionTag
Represents the Action QName in the WSDL for a specific WS-Addressing Version. |
javax.xml.namespace.QName |
wsdlAnonymousTag
Represents the WSDL anonymous QName for a specific WS-Addressing Version. |
javax.xml.namespace.QName |
wsdlExtensionTag
Represents the WSDL extension QName for a specific WS-Addressing Version. |
java.lang.String |
wsdlNsUri
Namespace URI for the WSDL Binding |
Method Summary | |
---|---|
static AddressingVersion |
fromBinding(WSBinding binding)
Gets the AddressingVersion from a WSBinding |
static AddressingVersion |
fromFeature(javax.xml.ws.WebServiceFeature af)
|
static AddressingVersion |
fromNsUri(java.lang.String nsUri)
Returns AddressingVersion whose nsUri equals to
the given string. |
static AddressingVersion |
fromPort(WSDLPort port)
Gets the AddressingVersion from a WSDLPort |
static AddressingVersion |
fromSpecClass(java.lang.Class<? extends javax.xml.ws.EndpointReference> eprClass)
Gets the corresponding AddressingVersion instance from the
EPR class. |
java.lang.String |
getAnonymousUri()
Deprecated. Use anonymousUri |
java.lang.String |
getDefaultFaultAction()
Gets the default fault Action value associated with this WS-Addressing version. |
static javax.xml.ws.WebServiceFeature |
getFeature(java.lang.String nsUri,
boolean enabled,
boolean required)
Gets the WebServiceFeature corresponding to the namespace URI of
WS-Addressing policy assertion in the WSDL. |
abstract java.lang.Class<? extends javax.xml.ws.WebServiceFeature> |
getFeatureClass()
|
abstract java.lang.String |
getInvalidMapText()
Gets the description text when a header representing a WS-Addressing Message Addressing Property is invalid and cannot be processed. |
abstract java.lang.String |
getMapRequiredText()
Gets the description text when a required WS-Addressing header representing a Message Addressing Property is absent. |
java.lang.String |
getNoneUri()
Deprecated. Use noneUri . |
java.lang.String |
getNsUri()
Deprecated. Use nsUri . |
abstract java.lang.String |
getPrefix()
|
abstract WsaTubeHelper |
getWsaHelper(WSDLPort wsdlPort,
SEIModel seiModel,
WSBinding binding)
Deprecated. TODO why are we exposing implementation specificc class through api? TODO Remove it if no one elase uses it. |
abstract java.lang.String |
getWsdlPrefix()
|
static boolean |
isEnabled(WSBinding binding)
Returns true if binding contains either a AddressingFeature or
MemberSubmissionAddressingFeature and is enabled. |
abstract boolean |
isReferenceParameter(java.lang.String localName)
Returns true if the given local name is considered as a reference parameter in EPR. |
static boolean |
isRequired(javax.xml.ws.WebServiceFeature wsf)
Returns true if the WebServiceFeature is either a AddressingFeature or
MemberSubmissionAddressingFeature and is required. |
static boolean |
isRequired(WSBinding binding)
Returns true if binding contains either a AddressingFeature or
MemberSubmissionAddressingFeature and is required. |
static AddressingVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AddressingVersion[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AddressingVersion W3C
public static final AddressingVersion MEMBER
Field Detail |
---|
public final java.lang.String nsUri
public final java.lang.String wsdlNsUri
public final AddressingVersion.EPR eprType
W3CEndpointReference
or
MemberSubmissionEndpointReference
.
public final java.lang.String policyNsUri
@NotNull public final java.lang.String anonymousUri
@NotNull public final java.lang.String noneUri
public final WSEndpointReference anonymousEpr
public final javax.xml.namespace.QName toTag
public final javax.xml.namespace.QName fromTag
public final javax.xml.namespace.QName replyToTag
public final javax.xml.namespace.QName faultToTag
public final javax.xml.namespace.QName actionTag
public final javax.xml.namespace.QName messageIDTag
public final javax.xml.namespace.QName relatesToTag
public final javax.xml.namespace.QName mapRequiredTag
public final javax.xml.namespace.QName actionMismatchTag
public final javax.xml.namespace.QName actionNotSupportedTag
public final java.lang.String actionNotSupportedText
public final javax.xml.namespace.QName invalidMapTag
public final javax.xml.namespace.QName invalidCardinalityTag
public final javax.xml.namespace.QName invalidAddressTag
public final javax.xml.namespace.QName problemHeaderQNameTag
public final javax.xml.namespace.QName problemActionTag
public final javax.xml.namespace.QName faultDetailTag
public final javax.xml.namespace.QName fault_missingAddressInEpr
public final javax.xml.namespace.QName wsdlActionTag
public final javax.xml.namespace.QName wsdlExtensionTag
public final javax.xml.namespace.QName wsdlAnonymousTag
public final javax.xml.namespace.QName isReferenceParameterTag
public static final java.lang.String UNSET_OUTPUT_ACTION
public static final java.lang.String UNSET_INPUT_ACTION
public static final javax.xml.namespace.QName fault_duplicateAddressInEpr
Method Detail |
---|
public static AddressingVersion[] values()
for (AddressingVersion c : AddressingVersion.values()) System.out.println(c);
public static AddressingVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static AddressingVersion fromNsUri(java.lang.String nsUri)
AddressingVersion
whose nsUri
equals to
the given string.
This method does not perform input string validation.
nsUri
- must not be null.
@Nullable public static AddressingVersion fromBinding(WSBinding binding)
AddressingVersion
from a WSBinding
binding
- WSDL binding
public static AddressingVersion fromPort(WSDLPort port)
AddressingVersion
from a WSDLPort
port
- WSDL port
public java.lang.String getNsUri()
nsUri
.
nsUri
associated with this AddressingVersion
public abstract boolean isReferenceParameter(java.lang.String localName)
public abstract WsaTubeHelper getWsaHelper(WSDLPort wsdlPort, SEIModel seiModel, WSBinding binding)
binding
WSBinding
and for the WSDLPort
port.
public final java.lang.String getNoneUri()
noneUri
.
public final java.lang.String getAnonymousUri()
anonymousUri
public java.lang.String getDefaultFaultAction()
public abstract java.lang.String getMapRequiredText()
public abstract java.lang.String getInvalidMapText()
public abstract java.lang.String getPrefix()
public abstract java.lang.String getWsdlPrefix()
public abstract java.lang.Class<? extends javax.xml.ws.WebServiceFeature> getFeatureClass()
public static AddressingVersion fromFeature(javax.xml.ws.WebServiceFeature af)
@NotNull public static javax.xml.ws.WebServiceFeature getFeature(java.lang.String nsUri, boolean enabled, boolean required)
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.
nsUri
- namespace URI of the WS-Addressing policy assertion in the WSDLenabled
- true if feature is to be enabled, false otherwiserequired
- true if feature is required, false otherwise. Corresponds
to wsdl:required on the extension/assertion.
javax.xml.ws.WebServiceException
- if an unsupported namespace URI is passed@NotNull public static AddressingVersion fromSpecClass(java.lang.Class<? extends javax.xml.ws.EndpointReference> eprClass)
AddressingVersion
instance from the
EPR class.
public static boolean isRequired(javax.xml.ws.WebServiceFeature wsf)
AddressingFeature
or
MemberSubmissionAddressingFeature
and is required.
wsf
- The WebServiceFeature encaps
wsf
requires WS-Addressing
javax.xml.ws.WebServiceException
- if wsf
does not contain either AddressingFeature
or
MemberSubmissionAddressingFeature
public static boolean isRequired(WSBinding binding)
binding
contains either a AddressingFeature
or
MemberSubmissionAddressingFeature
and is required.
binding
- The binding
binding
requires WS-Addressingpublic static boolean isEnabled(WSBinding binding)
binding
contains either a AddressingFeature
or
MemberSubmissionAddressingFeature
and is enabled.
binding
- The binding
binding
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |