org.openliberty.xmltooling.soapbinding
Class To

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.signature.AbstractSignableXMLObject
          extended by org.openliberty.xmltooling.soapbinding.To
All Implemented Interfaces:
org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.signature.SignableXMLObject, org.opensaml.xml.XMLObject

public class To
extends org.opensaml.xml.signature.AbstractSignableXMLObject
implements org.opensaml.xml.AttributeExtensibleXMLObject

In the typical case that a WS-Addressing endpoint reference is used to address a message, the value of this header block is taken from the <wsa:Address> of the EndpointReference. If the <wsa:To> header block is not present, the value defaults to http://www.w3.org/2005/03/addressing/role/anonymous; so, when constructing a message, the header block can be omitted if this is the value that would be used. This typically allows the <wsa:To> header block to be omitted during synchronous request-response message exchanges over HTTP. Please refer to [WSAv1.0] for default processing rules in the absence of the <wsa:To> header block.

Author:
tguion, asa

Nested Class Summary
static class To.Builder
           
static class To.Marshaller
          Static internal Marshaller
static class To.Unmarshaller
          Static Internal Unmarshaller
 
Field Summary
static java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
          Local name of the SASL type.
static javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
          Default element name.
private  org.opensaml.xml.util.AttributeMap otherAttributes
          Support for AttributeExtensibleXMLObject interface
private  java.lang.String value
          Content: AttributedURIType
 
Constructor Summary
  To()
          Constructor
protected To(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
          Constructor
 
Method Summary
 java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
           
 org.opensaml.xml.util.AttributeMap getUnknownAttributes()
           
 java.lang.String getValue()
          
 void setValue(java.lang.String newValue)
          
 
Methods inherited from class org.opensaml.xml.signature.AbstractSignableXMLObject
getSignature, isSigned, setSignature
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

DEFAULT_ELEMENT_LOCAL_NAME

public static final java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
Local name of the SASL type.

See Also:
Constant Field Values

DEFAULT_ELEMENT_NAME

public static final javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
Default element name.


value

private java.lang.String value
Content: AttributedURIType


otherAttributes

private org.opensaml.xml.util.AttributeMap otherAttributes
Support for AttributeExtensibleXMLObject interface

Constructor Detail

To

public To()
Constructor


To

protected To(java.lang.String namespaceURI,
             java.lang.String elementLocalName,
             java.lang.String namespacePrefix)
Constructor

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getValue

public java.lang.String getValue()


setValue

public void setValue(java.lang.String newValue)


getUnknownAttributes

public org.opensaml.xml.util.AttributeMap getUnknownAttributes()
Specified by:
getUnknownAttributes in interface org.opensaml.xml.AttributeExtensibleXMLObject

getOrderedChildren

public java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject