public class RelatesTo
extends org.opensaml.xmlsec.signature.AbstractSignableXMLObject
implements org.opensaml.core.xml.AttributeExtensibleXMLObject
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>
| Modifier and Type | Class and Description |
|---|---|
static class |
RelatesTo.Builder
Internal Builder
|
static class |
RelatesTo.Marshaller
Internal Marshaller
|
static class |
RelatesTo.Unmarshaller
Internal Unmarshaller
|
| Modifier and Type | Field and Description |
|---|---|
static 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 String |
LOCAL_NAME |
private org.opensaml.core.xml.util.AttributeMap |
otherAttributes
Support for AttributeExtensibleXMLObject interface
|
private String |
value |
| Modifier | Constructor and Description |
|---|---|
|
RelatesTo() |
protected |
RelatesTo(String namespaceURI,
String elementLocalName,
String namespacePrefix) |
| Modifier and Type | Method and Description |
|---|---|
List<org.opensaml.core.xml.XMLObject> |
getOrderedChildren() |
org.opensaml.core.xml.util.AttributeMap |
getUnknownAttributes() |
String |
getValue() |
void |
setValue(String value) |
getSignature, isSigned, setSignaturedetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationpublic static final String LOCAL_NAME
private String value
private org.opensaml.core.xml.util.AttributeMap otherAttributes
public static final String ATT_RELATIONSHIP_TYPE
public String getValue()
public void setValue(String value)
public org.opensaml.core.xml.util.AttributeMap getUnknownAttributes()
getUnknownAttributes in interface org.opensaml.core.xml.AttributeExtensibleXMLObjectpublic List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
getOrderedChildren in interface org.opensaml.core.xml.XMLObjectCopyright © 1999–2015. All rights reserved.