com.sun.xml.ws.config.metro.parser.jsr109
Class AddressingType

java.lang.Object
  extended by com.sun.xml.ws.config.metro.parser.jsr109.AddressingType
All Implemented Interfaces:
Locatable

public class AddressingType
extends Object
implements Locatable

This specifies the WS-Addressing requirements for a JAX-WS web service. It corresponds to javax.xml.ws.soap.Addressing annotation or its feature javax.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
protected  TrueFalseType enabled
           
protected  Locator locator
           
protected  TrueFalseType required
           
protected  AddressingResponsesType responses
           
 
Constructor Summary
AddressingType()
           
 
Method Summary
 TrueFalseType getEnabled()
          Gets the value of the enabled property.
 TrueFalseType getRequired()
          Gets the value of the required property.
 AddressingResponsesType getResponses()
          Gets the value of the responses property.
 void setEnabled(TrueFalseType value)
          Sets the value of the enabled property.
 void setRequired(TrueFalseType value)
          Sets the value of the required property.
 void setResponses(AddressingResponsesType value)
          Sets the value of the responses property.
 void setSourceLocation(Locator newLocator)
           
 Locator sourceLocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

enabled

protected TrueFalseType enabled

required

protected TrueFalseType required

responses

protected AddressingResponsesType responses

locator

protected Locator locator
Constructor Detail

AddressingType

public AddressingType()
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 is TrueFalseType

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 is TrueFalseType

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 is AddressingResponsesType

sourceLocation

public Locator sourceLocation()
Specified by:
sourceLocation in interface Locatable
Returns:
null if the location information is unavaiable, or otherwise return a immutable valid Locator object.

setSourceLocation

public void setSourceLocation(Locator newLocator)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.