org.openliberty.xmltooling.soapbinding
Class RelatesTo

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

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

The <wsa:RelatesTo> header block is defined in [WSAv1.0-SOAP]. The value of this header block establishes a relationship between the message that contains it and some other message. The type of relationship is specified in the RelationshipType attribute.

Decided not to directly support RelationshipType other than through the unknownAttributes map. The default usage of RelatesTo Header is as a RelationshipType: http://www.w3.org/2005/03/addressing/reply

  <xs:element name="RelatesTo" type="tns:RelatesToType"/>
  <xs:complexType name="RelatesToType">
      <xs:simpleContent>
          <xs:extension base="xs:anyURI">
              <xs:attribute name="RelationshipType" type="tns:RelationshipTypeOpenEnum"
                  use="optional" default="&nsuri;/reply"/>
              <xs:anyAttribute namespace="##other" processContents="lax"/>
          </xs:extension>
      </xs:simpleContent>
  </xs:complexType>
  
  <xs:simpleType name="RelationshipTypeOpenEnum">
      <xs:union memberTypes="tns:RelationshipType xs:anyURI"/>
  </xs:simpleType>
  
  <xs:simpleType name="RelationshipType">
      <xs:restriction base="xs:anyURI">
          <xs:enumeration value="&nsuri;/reply"/>
      </xs:restriction>
  </xs:simpleType>
 

Author:
asa

Nested Class Summary
static class RelatesTo.Builder
          Internal Builder
static class RelatesTo.Marshaller
          Internal Marshaller
static class RelatesTo.Unmarshaller
          Internal Unmarshaller
 
Field Summary
static java.lang.String ATT_RELATIONSHIP_TYPE
          &nsuri;/reply When the relationship is http://www.w3.org/2005/03/addressing/reply, the RelationshipType attribute may be omitted.
static java.lang.String LOCAL_NAME
           
private  org.opensaml.xml.util.AttributeMap otherAttributes
          Support for AttributeExtensibleXMLObject interface
private  java.lang.String value
           
 
Constructor Summary
  RelatesTo()
           
protected RelatesTo(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
           
 
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 value)
           
 
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

LOCAL_NAME

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

value

private java.lang.String value

otherAttributes

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


ATT_RELATIONSHIP_TYPE

public static final java.lang.String ATT_RELATIONSHIP_TYPE
&nsuri;/reply When the relationship is http://www.w3.org/2005/03/addressing/reply, the RelationshipType attribute may be omitted.

See Also:
Constant Field Values
Constructor Detail

RelatesTo

public RelatesTo()

RelatesTo

protected RelatesTo(java.lang.String namespaceURI,
                    java.lang.String elementLocalName,
                    java.lang.String namespacePrefix)
Method Detail

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

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