com.sun.ws.management.addressing
Class Addressing

java.lang.Object
  extended by com.sun.ws.management.Message
      extended by com.sun.ws.management.soap.SOAP
          extended by com.sun.ws.management.addressing.Addressing
Direct Known Subclasses:
Catalog, Enumeration, Eventing, Management, Metadata, Transfer

public class Addressing
extends SOAP


Field Summary
static javax.xml.namespace.QName ACTION
           
static javax.xml.namespace.QName ADDRESS
           
static java.lang.String ANONYMOUS_ENDPOINT_URI
           
static javax.xml.namespace.QName ENDPOINT_REFERENCE
           
static ObjectFactory FACTORY
           
static java.lang.String FAULT_ACTION_URI
           
static javax.xml.namespace.QName FAULT_TO
           
static javax.xml.namespace.QName FROM
           
static javax.xml.namespace.QName MESSAGE_ID
           
static java.lang.String NS_PREFIX
           
static java.lang.String NS_URI
           
static javax.xml.namespace.QName RELATES_TO
           
static javax.xml.namespace.QName REPLY_TO
           
static javax.xml.namespace.QName RETRY_AFTER
           
static javax.xml.namespace.QName TO
           
static java.lang.String UNSPECIFIED_MESSAGE_ID
           
 
Fields inherited from class com.sun.ws.management.soap.SOAP
BODY, FALSE, FAULT, MUST_UNDERSTAND, RECEIVER, SENDER, TEXT, TRUE
 
Fields inherited from class com.sun.ws.management.Message
COLON
 
Constructor Summary
Addressing()
           
Addressing(Addressing addr)
           
Addressing(java.io.InputStream is)
           
Addressing(javax.xml.soap.SOAPMessage msg)
           
 
Method Summary
 void addHeaders(ReferenceParametersType params)
           
 void addHeaders(ReferencePropertiesType props)
           
 void addRelatesTo(java.lang.String relationshipURI)
           
 void addRelatesTo(java.lang.String relationshipURI, javax.xml.namespace.QName relationshipType)
           
static EndpointReferenceType createEndpointReference(java.lang.String address, ReferencePropertiesType props, ReferenceParametersType params, AttributedQName portType, ServiceNameType serviceName)
           
static ReferenceParametersType createReferenceParametersType(javax.xml.namespace.QName container, java.lang.String content)
          This is a convenience method to create a ReferenceParametersType from a QName and content value.
static ReferencePropertiesType createReferencePropertyType(javax.xml.namespace.QName container, java.lang.String content)
          This is a convenience method to create a ReferencePropertyType from a QName and content value.
 java.lang.String getAction()
           
 EndpointReferenceType getEndpointReference(javax.xml.soap.SOAPElement parent, javax.xml.namespace.QName... qname)
           
 EndpointReferenceType getFaultTo()
           
 EndpointReferenceType getFrom()
           
 javax.xml.soap.SOAPElement[] getHeaders()
           
 java.lang.String getMessageId()
           
 Relationship[] getRelatesTo()
           
 EndpointReferenceType getReplyTo()
           
 java.lang.String getTo()
           
 void setAction(java.lang.String action)
           
 void setFaultTo(EndpointReferenceType epr)
           
 void setFaultTo(java.lang.String uri)
           
 void setFrom(EndpointReferenceType epr)
           
 void setFrom(java.lang.String uri)
           
 void setMessageId(java.lang.String msgId)
           
 void setReplyTo(EndpointReferenceType epr)
           
 void setReplyTo(java.lang.String uri)
           
 void setTo(java.lang.String to)
           
 org.w3c.dom.Node[] unwrapEndpointReference(org.w3c.dom.Node wrappedEPR)
           
 void validate()
           
 
Methods inherited from class com.sun.ws.management.soap.SOAP
createFaultDetail, getAllMustUnderstand, getChildren, getFault, getXmlBinding, setFault, setXmlBinding
 
Methods inherited from class com.sun.ws.management.Message
addNamespaceDeclarations, createElement, getBody, getContentType, getDocumentBuilder, getEnvelope, getHeader, getMessage, newDocument, prettyPrint, setAttribute, setContentType, toString, writeTo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NS_PREFIX

public static final java.lang.String NS_PREFIX
See Also:
Constant Field Values

NS_URI

public static final java.lang.String NS_URI
See Also:
Constant Field Values

UNSPECIFIED_MESSAGE_ID

public static final java.lang.String UNSPECIFIED_MESSAGE_ID
See Also:
Constant Field Values

ANONYMOUS_ENDPOINT_URI

public static final java.lang.String ANONYMOUS_ENDPOINT_URI
See Also:
Constant Field Values

FAULT_ACTION_URI

public static final java.lang.String FAULT_ACTION_URI
See Also:
Constant Field Values

ACTION

public static final javax.xml.namespace.QName ACTION

TO

public static final javax.xml.namespace.QName TO

MESSAGE_ID

public static final javax.xml.namespace.QName MESSAGE_ID

REPLY_TO

public static final javax.xml.namespace.QName REPLY_TO

FAULT_TO

public static final javax.xml.namespace.QName FAULT_TO

FROM

public static final javax.xml.namespace.QName FROM

ADDRESS

public static final javax.xml.namespace.QName ADDRESS

RELATES_TO

public static final javax.xml.namespace.QName RELATES_TO

RETRY_AFTER

public static final javax.xml.namespace.QName RETRY_AFTER

ENDPOINT_REFERENCE

public static final javax.xml.namespace.QName ENDPOINT_REFERENCE

FACTORY

public static final ObjectFactory FACTORY
Constructor Detail

Addressing

public Addressing()
           throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

Addressing

public Addressing(Addressing addr)
           throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

Addressing

public Addressing(java.io.InputStream is)
           throws javax.xml.soap.SOAPException,
                  java.io.IOException
Throws:
javax.xml.soap.SOAPException
java.io.IOException

Addressing

public Addressing(javax.xml.soap.SOAPMessage msg)
           throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException
Method Detail

validate

public void validate()
              throws javax.xml.soap.SOAPException,
                     javax.xml.bind.JAXBException,
                     FaultException
Overrides:
validate in class SOAP
Throws:
javax.xml.soap.SOAPException
javax.xml.bind.JAXBException
FaultException

createEndpointReference

public static EndpointReferenceType createEndpointReference(java.lang.String address,
                                                            ReferencePropertiesType props,
                                                            ReferenceParametersType params,
                                                            AttributedQName portType,
                                                            ServiceNameType serviceName)

unwrapEndpointReference

public org.w3c.dom.Node[] unwrapEndpointReference(org.w3c.dom.Node wrappedEPR)

addHeaders

public void addHeaders(ReferenceParametersType params)
                throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

addHeaders

public void addHeaders(ReferencePropertiesType props)
                throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

setAction

public void setAction(java.lang.String action)
               throws javax.xml.bind.JAXBException,
                      javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

setTo

public void setTo(java.lang.String to)
           throws javax.xml.bind.JAXBException,
                  javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

setMessageId

public void setMessageId(java.lang.String msgId)
                  throws javax.xml.bind.JAXBException,
                         javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

setReplyTo

public void setReplyTo(java.lang.String uri)
                throws javax.xml.bind.JAXBException,
                       javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

setReplyTo

public void setReplyTo(EndpointReferenceType epr)
                throws javax.xml.bind.JAXBException,
                       javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

setFaultTo

public void setFaultTo(java.lang.String uri)
                throws javax.xml.bind.JAXBException,
                       javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

setFaultTo

public void setFaultTo(EndpointReferenceType epr)
                throws javax.xml.bind.JAXBException,
                       javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

setFrom

public void setFrom(java.lang.String uri)
             throws javax.xml.bind.JAXBException,
                    javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

setFrom

public void setFrom(EndpointReferenceType epr)
             throws javax.xml.bind.JAXBException,
                    javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

addRelatesTo

public void addRelatesTo(java.lang.String relationshipURI)
                  throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

addRelatesTo

public void addRelatesTo(java.lang.String relationshipURI,
                         javax.xml.namespace.QName relationshipType)
                  throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

getHeaders

public javax.xml.soap.SOAPElement[] getHeaders()
                                        throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

getAction

public java.lang.String getAction()
                           throws javax.xml.bind.JAXBException,
                                  javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

getTo

public java.lang.String getTo()
                       throws javax.xml.bind.JAXBException,
                              javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

getMessageId

public java.lang.String getMessageId()
                              throws javax.xml.bind.JAXBException,
                                     javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

getReplyTo

public EndpointReferenceType getReplyTo()
                                 throws javax.xml.bind.JAXBException,
                                        javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

getFaultTo

public EndpointReferenceType getFaultTo()
                                 throws javax.xml.bind.JAXBException,
                                        javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

getFrom

public EndpointReferenceType getFrom()
                              throws javax.xml.bind.JAXBException,
                                     javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

getRelatesTo

public Relationship[] getRelatesTo()
                            throws javax.xml.bind.JAXBException,
                                   javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

getEndpointReference

public EndpointReferenceType getEndpointReference(javax.xml.soap.SOAPElement parent,
                                                  javax.xml.namespace.QName... qname)
                                           throws javax.xml.bind.JAXBException,
                                                  javax.xml.soap.SOAPException
Throws:
javax.xml.bind.JAXBException
javax.xml.soap.SOAPException

createReferencePropertyType

public static ReferencePropertiesType createReferencePropertyType(javax.xml.namespace.QName container,
                                                                  java.lang.String content)
This is a convenience method to create a ReferencePropertyType from a QName and content value.

Parameters:
container - QName
content -
Returns:
ReferencePropertyType instance.

createReferenceParametersType

public static ReferenceParametersType createReferenceParametersType(javax.xml.namespace.QName container,
                                                                    java.lang.String content)
This is a convenience method to create a ReferenceParametersType from a QName and content value.

Parameters:
container - QName
content -
Returns:
ReferenceParametersType instance.