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 ofEncryptedHeader.
-
-
Field Summary
Fields Modifier and Type Field Description private EncryptedDataencryptedDataEncryptedData child element.private Stringsoap11ActorThe@soap11:actoratribute.private XSBooleanValuesoap11MustUnderstandThe@soap11:mustUnderstandatribute.private XSBooleanValuesoap12MustUnderstandThe@soap12:mustUnderstandatribute.private XSBooleanValuesoap12RelayThe@soap12:relayatribute.private Stringsoap12RoleThe@soap12:roleatribute.private StringwsuIdThe@wsu:Idatribute.-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptedDatagetEncryptedData()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.StringgetSOAP11Actor()Get the attribute value.StringgetSOAP12Role()Get the attribute value.StringgetWSUId()Returns the@wsu:Idattribute value.BooleanisSOAP11MustUnderstand()Get the attribute value.XSBooleanValueisSOAP11MustUnderstandXSBoolean()Get the attribute value.BooleanisSOAP12MustUnderstand()Get the attribute value.XSBooleanValueisSOAP12MustUnderstandXSBoolean()Get the attribute value.BooleanisSOAP12Relay()Get the attribute value.XSBooleanValueisSOAP12RelayXSBoolean()Get the attribute value.voidsetEncryptedData(EncryptedData newEncryptedData)Sets the EncryptedData child element.voidsetSOAP11Actor(String newActor)Set the attribute value.voidsetSOAP11MustUnderstand(Boolean newMustUnderstand)Set the attribute value.voidsetSOAP11MustUnderstand(XSBooleanValue newMustUnderstand)Set the attribute value.voidsetSOAP12MustUnderstand(Boolean newMustUnderstand)Set the attribute value.voidsetSOAP12MustUnderstand(XSBooleanValue newMustUnderstand)Set the attribute value.voidsetSOAP12Relay(Boolean newRelay)Set the attribute value.voidsetSOAP12Relay(XSBooleanValue newRelay)Set the attribute value.voidsetSOAP12Role(String newRole)Set the attribute value.voidsetWSUId(String newId)Sets the@wsu:Idattribute 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 Detail
-
encryptedData
private EncryptedData encryptedData
EncryptedData child element.
-
wsuId
private String wsuId
The@wsu:Idatribute.
-
soap11MustUnderstand
private XSBooleanValue soap11MustUnderstand
The@soap11:mustUnderstandatribute.
-
soap11Actor
private String soap11Actor
The@soap11:actoratribute.
-
soap12MustUnderstand
private XSBooleanValue soap12MustUnderstand
The@soap12:mustUnderstandatribute.
-
soap12Role
private String soap12Role
The@soap12:roleatribute.
-
soap12Relay
private XSBooleanValue soap12Relay
The@soap12:relayatribute.
-
-
Method Detail
-
getEncryptedData
public EncryptedData getEncryptedData()
Gets the EncryptedData child element.- Specified by:
getEncryptedDatain interfaceEncryptedHeader- Returns:
- the EncryptedData child element
-
setEncryptedData
public void setEncryptedData(EncryptedData newEncryptedData)
Sets the EncryptedData child element.- Specified by:
setEncryptedDatain interfaceEncryptedHeader- Parameters:
newEncryptedData- the new EncryptedData child element
-
getWSUId
public String getWSUId()
Returns the@wsu:Idattribute value.
-
setWSUId
public void setWSUId(String newId)
Sets the@wsu:Idattribute value.
-
isSOAP11MustUnderstand
public Boolean isSOAP11MustUnderstand()
Get the attribute value.- Specified by:
isSOAP11MustUnderstandin interfaceMustUnderstandBearing- Returns:
- return the attribute vlue
-
isSOAP11MustUnderstandXSBoolean
public XSBooleanValue isSOAP11MustUnderstandXSBoolean()
Get the attribute value.- Specified by:
isSOAP11MustUnderstandXSBooleanin interfaceMustUnderstandBearing- Returns:
- return the attribute vlue
-
setSOAP11MustUnderstand
public void setSOAP11MustUnderstand(Boolean newMustUnderstand)
Set the attribute value.- Specified by:
setSOAP11MustUnderstandin interfaceMustUnderstandBearing- Parameters:
newMustUnderstand- the new attribute value
-
setSOAP11MustUnderstand
public void setSOAP11MustUnderstand(XSBooleanValue newMustUnderstand)
Set the attribute value.- Specified by:
setSOAP11MustUnderstandin interfaceMustUnderstandBearing- Parameters:
newMustUnderstand- the new attribute value
-
getSOAP11Actor
public String getSOAP11Actor()
Get the attribute value.- Specified by:
getSOAP11Actorin interfaceActorBearing- Returns:
- return the attribute vlue
-
setSOAP11Actor
public void setSOAP11Actor(String newActor)
Set the attribute value.- Specified by:
setSOAP11Actorin interfaceActorBearing- Parameters:
newActor- the new attribute value
-
isSOAP12MustUnderstand
public Boolean isSOAP12MustUnderstand()
Get the attribute value.- Specified by:
isSOAP12MustUnderstandin interfaceMustUnderstandBearing- Returns:
- return the attribute value
-
isSOAP12MustUnderstandXSBoolean
public XSBooleanValue isSOAP12MustUnderstandXSBoolean()
Get the attribute value.- Specified by:
isSOAP12MustUnderstandXSBooleanin interfaceMustUnderstandBearing- Returns:
- return the attribute value
-
setSOAP12MustUnderstand
public void setSOAP12MustUnderstand(Boolean newMustUnderstand)
Set the attribute value.- Specified by:
setSOAP12MustUnderstandin interfaceMustUnderstandBearing- Parameters:
newMustUnderstand- the new attribute value
-
setSOAP12MustUnderstand
public void setSOAP12MustUnderstand(XSBooleanValue newMustUnderstand)
Set the attribute value.- Specified by:
setSOAP12MustUnderstandin interfaceMustUnderstandBearing- Parameters:
newMustUnderstand- the new attribute value
-
getSOAP12Role
public String getSOAP12Role()
Get the attribute value.- Specified by:
getSOAP12Rolein interfaceRoleBearing- Returns:
- return the attribute vlue
-
setSOAP12Role
public void setSOAP12Role(String newRole)
Set the attribute value.- Specified by:
setSOAP12Rolein interfaceRoleBearing- Parameters:
newRole- the new attribute value
-
isSOAP12Relay
public Boolean isSOAP12Relay()
Get the attribute value.- Specified by:
isSOAP12Relayin interfaceRelayBearing- Returns:
- return the attribute vlue
-
isSOAP12RelayXSBoolean
public XSBooleanValue isSOAP12RelayXSBoolean()
Get the attribute value.- Specified by:
isSOAP12RelayXSBooleanin interfaceRelayBearing- Returns:
- return the attribute vlue
-
setSOAP12Relay
public void setSOAP12Relay(Boolean newRelay)
Set the attribute value.- Specified by:
setSOAP12Relayin interfaceRelayBearing- Parameters:
newRelay- the new attribute value
-
setSOAP12Relay
public void setSOAP12Relay(XSBooleanValue newRelay)
Set the attribute value.- Specified by:
setSOAP12Relayin interfaceRelayBearing- Parameters:
newRelay- the new attribute value
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Overrides:
getOrderedChildrenin classAbstractWSSecurityObject- Returns:
- ordered list of child elements
-
-