Class EncryptedHeaderImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.soap.wssecurity.impl.AbstractWSSecurityObject
org.opensaml.soap.wssecurity.impl.EncryptedHeaderImpl
- All Implemented Interfaces:
XMLObject
,ActorBearing
,MustUnderstandBearing
,MustUnderstandBearing
,RelayBearing
,RoleBearing
,EncryptedHeader
,IdBearing
,WSSecurityObject
public class EncryptedHeaderImpl extends AbstractWSSecurityObject implements EncryptedHeader
Implementation of
EncryptedHeader
.-
Field Summary
Fields Modifier and Type Field Description private EncryptedData
encryptedData
EncryptedData child element.private String
soap11Actor
The@soap11:actor
atribute.private XSBooleanValue
soap11MustUnderstand
The@soap11:mustUnderstand
atribute.private XSBooleanValue
soap12MustUnderstand
The@soap12:mustUnderstand
atribute.private XSBooleanValue
soap12Relay
The@soap12:relay
atribute.private String
soap12Role
The@soap12:role
atribute.private String
wsuId
The@wsu:Id
atribute.Fields inherited from interface org.opensaml.soap.soap11.ActorBearing
SOAP11_ACTOR_ATTR_LOCAL_NAME, SOAP11_ACTOR_ATTR_NAME, SOAP11_ACTOR_NEXT
Fields inherited from interface org.opensaml.soap.wssecurity.EncryptedHeader
ELEMENT_LOCAL_NAME, ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
Fields inherited from interface org.opensaml.soap.wssecurity.IdBearing
WSU_ID_ATTR_LOCAL_NAME, WSU_ID_ATTR_NAME
Fields inherited from interface org.opensaml.soap.soap11.MustUnderstandBearing
SOAP11_MUST_UNDERSTAND_ATTR_LOCAL_NAME, SOAP11_MUST_UNDERSTAND_ATTR_NAME
Fields inherited from interface org.opensaml.soap.soap12.MustUnderstandBearing
SOAP12_MUST_UNDERSTAND_ATTR_LOCAL_NAME, SOAP12_MUST_UNDERSTAND_ATTR_NAME
Fields inherited from interface org.opensaml.soap.soap12.RelayBearing
SOAP12_RELAY_ATTR_LOCAL_NAME, SOAP12_RELAY_ATTR_NAME
Fields inherited from interface org.opensaml.soap.soap12.RoleBearing
SOAP12_ROLE_ATTR_LOCAL_NAME, SOAP12_ROLE_ATTR_NAME
-
Constructor Summary
Constructors Constructor Description EncryptedHeaderImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor. -
Method Summary
Modifier and Type Method Description EncryptedData
getEncryptedData()
Gets the EncryptedData child element.List<XMLObject>
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.String
getSOAP11Actor()
Get the attribute value.String
getSOAP12Role()
Get the attribute value.String
getWSUId()
Returns the@wsu:Id
attribute value.Boolean
isSOAP11MustUnderstand()
Get the attribute value.XSBooleanValue
isSOAP11MustUnderstandXSBoolean()
Get the attribute value.Boolean
isSOAP12MustUnderstand()
Get the attribute value.XSBooleanValue
isSOAP12MustUnderstandXSBoolean()
Get the attribute value.Boolean
isSOAP12Relay()
Get the attribute value.XSBooleanValue
isSOAP12RelayXSBoolean()
Get the attribute value.void
setEncryptedData(EncryptedData newEncryptedData)
Sets the EncryptedData child element.void
setSOAP11Actor(String newActor)
Set the attribute value.void
setSOAP11MustUnderstand(Boolean newMustUnderstand)
Set the attribute value.void
setSOAP11MustUnderstand(XSBooleanValue newMustUnderstand)
Set the attribute value.void
setSOAP12MustUnderstand(Boolean newMustUnderstand)
Set the attribute value.void
setSOAP12MustUnderstand(XSBooleanValue newMustUnderstand)
Set the attribute value.void
setSOAP12Relay(Boolean newRelay)
Set the attribute value.void
setSOAP12Relay(XSBooleanValue newRelay)
Set the attribute value.void
setSOAP12Role(String newRole)
Set the attribute value.void
setWSUId(String newId)
Sets the@wsu:Id
attribute value.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, 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, 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.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
encryptedData
EncryptedData child element. -
wsuId
The@wsu:Id
atribute. -
soap11MustUnderstand
The@soap11:mustUnderstand
atribute. -
soap11Actor
The@soap11:actor
atribute. -
soap12MustUnderstand
The@soap12:mustUnderstand
atribute. -
soap12Role
The@soap12:role
atribute. -
soap12Relay
The@soap12:relay
atribute.
-
-
Constructor Details
-
EncryptedHeaderImpl
Constructor.- Parameters:
namespaceURI
- namespace of the elementelementLocalName
- name of the elementnamespacePrefix
- namespace prefix of the element
-
-
Method Details
-
getEncryptedData
Gets the EncryptedData child element.- Specified by:
getEncryptedData
in interfaceEncryptedHeader
- Returns:
- the EncryptedData child element
-
setEncryptedData
Sets the EncryptedData child element.- Specified by:
setEncryptedData
in interfaceEncryptedHeader
- Parameters:
newEncryptedData
- the new EncryptedData child element
-
getWSUId
Returns the@wsu:Id
attribute value. -
setWSUId
Sets the@wsu:Id
attribute value. -
isSOAP11MustUnderstand
Get the attribute value.- Specified by:
isSOAP11MustUnderstand
in interfaceMustUnderstandBearing
- Returns:
- return the attribute vlue
-
isSOAP11MustUnderstandXSBoolean
Get the attribute value.- Specified by:
isSOAP11MustUnderstandXSBoolean
in interfaceMustUnderstandBearing
- Returns:
- return the attribute vlue
-
setSOAP11MustUnderstand
Set the attribute value.- Specified by:
setSOAP11MustUnderstand
in interfaceMustUnderstandBearing
- Parameters:
newMustUnderstand
- the new attribute value
-
setSOAP11MustUnderstand
Set the attribute value.- Specified by:
setSOAP11MustUnderstand
in interfaceMustUnderstandBearing
- Parameters:
newMustUnderstand
- the new attribute value
-
getSOAP11Actor
Get the attribute value.- Specified by:
getSOAP11Actor
in interfaceActorBearing
- Returns:
- return the attribute vlue
-
setSOAP11Actor
Set the attribute value.- Specified by:
setSOAP11Actor
in interfaceActorBearing
- Parameters:
newActor
- the new attribute value
-
isSOAP12MustUnderstand
Get the attribute value.- Specified by:
isSOAP12MustUnderstand
in interfaceMustUnderstandBearing
- Returns:
- return the attribute value
-
isSOAP12MustUnderstandXSBoolean
Get the attribute value.- Specified by:
isSOAP12MustUnderstandXSBoolean
in interfaceMustUnderstandBearing
- Returns:
- return the attribute value
-
setSOAP12MustUnderstand
Set the attribute value.- Specified by:
setSOAP12MustUnderstand
in interfaceMustUnderstandBearing
- Parameters:
newMustUnderstand
- the new attribute value
-
setSOAP12MustUnderstand
Set the attribute value.- Specified by:
setSOAP12MustUnderstand
in interfaceMustUnderstandBearing
- Parameters:
newMustUnderstand
- the new attribute value
-
getSOAP12Role
Get the attribute value.- Specified by:
getSOAP12Role
in interfaceRoleBearing
- Returns:
- return the attribute vlue
-
setSOAP12Role
Set the attribute value.- Specified by:
setSOAP12Role
in interfaceRoleBearing
- Parameters:
newRole
- the new attribute value
-
isSOAP12Relay
Get the attribute value.- Specified by:
isSOAP12Relay
in interfaceRelayBearing
- Returns:
- return the attribute vlue
-
isSOAP12RelayXSBoolean
Get the attribute value.- Specified by:
isSOAP12RelayXSBoolean
in interfaceRelayBearing
- Returns:
- return the attribute vlue
-
setSOAP12Relay
Set the attribute value.- Specified by:
setSOAP12Relay
in interfaceRelayBearing
- Parameters:
newRelay
- the new attribute value
-
setSOAP12Relay
Set the attribute value.- Specified by:
setSOAP12Relay
in interfaceRelayBearing
- Parameters:
newRelay
- the new attribute value
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Overrides:
getOrderedChildren
in classAbstractWSSecurityObject
- Returns:
- ordered list of child elements
-