|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.AbstractXMLObject
org.opensaml.xml.validation.AbstractValidatingXMLObject
org.opensaml.ws.soap.common.AbstractExtensibleSOAPObject
org.openliberty.xmltooling.soapbinding.UsageDirective
public class UsageDirective
Participants in the ID-WSF framework may need to indicate the privacy policy associated with a message. To facilitate this, senders, acting as either a client or a server, may add one or more <UsageDirective> header blocks to the SOAP Header of the message being sent. A <UsageDirective> appearing in a SOAP-based ID-* request message expresses intended usage. A <UsageDirective> appearing in a response expresses how the receiver of the response is to use the response data. A <UsageDirective> in a response message containing no ID-WSF response message data, a fault response for example, may be used to express policies acceptable to the responder.
<xs:complexType name="UsageDirectiveType">
<xs:sequence>
<xs:any namespace="##other" processContents="lax"
maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="ref" type="xs:IDREF" use="required"/>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
<xs:element name="UsageDirective" type="UsageDirectiveType"/>
| Nested Class Summary | |
|---|---|
static class |
UsageDirective.Builder
Internal Builder |
static class |
UsageDirective.Marshaller
Internal Marshaller |
static class |
UsageDirective.Unmarshaller
Internal Unmarshaller |
| Field Summary | |
|---|---|
static java.lang.String |
ATT_REF
|
static java.lang.String |
LOCAL_NAME
|
private java.lang.String |
ref
An attribute referring to an element of the SOAP-based ID-* message to which the usage directive applies. |
| Constructor Summary | |
|---|---|
|
UsageDirective()
|
protected |
UsageDirective(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
|
| Method Summary | |
|---|---|
java.lang.String |
getRef()
|
void |
setRef(java.lang.String ref)
|
| Methods inherited from class org.opensaml.ws.soap.common.AbstractExtensibleSOAPObject |
|---|
getOrderedChildren, getUnknownAttributes, getUnknownXMLObjects, getUnknownXMLObjects |
| Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject |
|---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
| 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.validation.ValidatingXMLObject |
|---|
deregisterValidator, getValidators, registerValidator, validate |
| 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 |
|---|
public static final java.lang.String LOCAL_NAME
private java.lang.String ref
public static final java.lang.String ATT_REF
| Constructor Detail |
|---|
public UsageDirective()
protected UsageDirective(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
| Method Detail |
|---|
public java.lang.String getRef()
public void setRef(java.lang.String ref)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||