Class AddressingType
- java.lang.Object
-
- com.sun.xml.ws.config.metro.parser.jsr109.AddressingType
-
- All Implemented Interfaces:
org.glassfish.jaxb.core.Locatable
public class AddressingType extends Object implements org.glassfish.jaxb.core.Locatable
This specifies the WS-Addressing requirements for a JAX-WS web service. It corresponds to jakarta.xml.ws.soap.Addressing annotation or its feature jakarta.xml.ws.soap.AddressingFeature. If the "enabled" element is "true", WS-Addressing is enabled. It means that the endpoint supports WS-Addressing but does not require its use. The default value for "enabled" is "true". If the WS-Addressing is enabled and the "required" element is "true", it means that the endpoint requires WS-Addressing. The default value for "required" is "false". If WS-Addressing is enabled, the "responses" element determines if an endpoint requires the use of only anonymous responses, or only non-anonymous responses, or all. The value of the "responses" element must be one of the following: ANONYMOUS NON_ANONYMOUS ALL The default value for the "responses" is ALL.Java class for addressingType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="addressingType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="enabled" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/> <element name="required" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/> <element name="responses" type="{http://java.sun.com/xml/ns/javaee}addressing-responsesType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected TrueFalseTypeenabledprotected Locatorlocatorprotected TrueFalseTyperequiredprotected AddressingResponsesTyperesponses
-
Constructor Summary
Constructors Constructor Description AddressingType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrueFalseTypegetEnabled()Gets the value of the enabled property.TrueFalseTypegetRequired()Gets the value of the required property.AddressingResponsesTypegetResponses()Gets the value of the responses property.voidsetEnabled(TrueFalseType value)Sets the value of the enabled property.voidsetRequired(TrueFalseType value)Sets the value of the required property.voidsetResponses(AddressingResponsesType value)Sets the value of the responses property.voidsetSourceLocation(Locator newLocator)LocatorsourceLocation()
-
-
-
Field Detail
-
enabled
protected TrueFalseType enabled
-
required
protected TrueFalseType required
-
responses
protected AddressingResponsesType responses
-
locator
protected Locator locator
-
-
Method Detail
-
getEnabled
public TrueFalseType getEnabled()
Gets the value of the enabled property.- Returns:
- possible object is
TrueFalseType
-
setEnabled
public void setEnabled(TrueFalseType value)
Sets the value of the enabled property.- Parameters:
value- allowed object isTrueFalseType
-
getRequired
public TrueFalseType getRequired()
Gets the value of the required property.- Returns:
- possible object is
TrueFalseType
-
setRequired
public void setRequired(TrueFalseType value)
Sets the value of the required property.- Parameters:
value- allowed object isTrueFalseType
-
getResponses
public AddressingResponsesType getResponses()
Gets the value of the responses property.- Returns:
- possible object is
AddressingResponsesType
-
setResponses
public void setResponses(AddressingResponsesType value)
Sets the value of the responses property.- Parameters:
value- allowed object isAddressingResponsesType
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocationin interfaceorg.glassfish.jaxb.core.Locatable
-
setSourceLocation
public void setSourceLocation(Locator newLocator)
-
-