org.opensaml.ws.wssecurity.impl
Class EncryptedHeaderImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.ws.wssecurity.impl.AbstractWSSecurityObject
              extended by org.opensaml.ws.wssecurity.impl.EncryptedHeaderImpl
All Implemented Interfaces:
ActorBearing, MustUnderstandBearing, RelayBearing, RoleBearing, EncryptedHeader, IdBearing, WSSecurityObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class EncryptedHeaderImpl
extends AbstractWSSecurityObject
implements EncryptedHeader

Implementation of EncryptedHeader.


Field Summary
 
Fields inherited from interface org.opensaml.ws.wssecurity.EncryptedHeader
ELEMENT_LOCAL_NAME, ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Fields inherited from interface org.opensaml.ws.wssecurity.IdBearing
WSU_ID_ATTR_LOCAL_NAME, WSU_ID_ATTR_NAME
 
Fields inherited from interface org.opensaml.ws.soap.soap11.MustUnderstandBearing
SOAP11_MUST_UNDERSTAND_ATTR_LOCAL_NAME, SOAP11_MUST_UNDERSTAND_ATTR_NAME
 
Fields inherited from interface org.opensaml.ws.soap.soap11.ActorBearing
SOAP11_ACTOR_ATTR_LOCAL_NAME, SOAP11_ACTOR_ATTR_NAME, SOAP11_ACTOR_NEXT
 
Fields inherited from interface org.opensaml.ws.soap.soap12.MustUnderstandBearing
SOAP12_MUST_UNDERSTAND_ATTR_LOCAL_NAME, SOAP12_MUST_UNDERSTAND_ATTR_NAME
 
Fields inherited from interface org.opensaml.ws.soap.soap12.RoleBearing
SOAP12_ROLE_ATTR_LOCAL_NAME, SOAP12_ROLE_ATTR_NAME
 
Fields inherited from interface org.opensaml.ws.soap.soap12.RelayBearing
SOAP12_RELAY_ATTR_LOCAL_NAME, SOAP12_RELAY_ATTR_NAME
 
Constructor Summary
EncryptedHeaderImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 org.opensaml.xml.encryption.EncryptedData getEncryptedData()
          Gets the EncryptedData child element.
 List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 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.
 org.opensaml.xml.schema.XSBooleanValue isSOAP11MustUnderstandXSBoolean()
          Get the attribute value.
 Boolean isSOAP12MustUnderstand()
          Get the attribute value.
 org.opensaml.xml.schema.XSBooleanValue isSOAP12MustUnderstandXSBoolean()
          Get the attribute value.
 Boolean isSOAP12Relay()
          Get the attribute value.
 org.opensaml.xml.schema.XSBooleanValue isSOAP12RelayXSBoolean()
          Get the attribute value.
 void setEncryptedData(org.opensaml.xml.encryption.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(org.opensaml.xml.schema.XSBooleanValue newMustUnderstand)
          Set the attribute value.
 void setSOAP12MustUnderstand(Boolean newMustUnderstand)
          Set the attribute value.
 void setSOAP12MustUnderstand(org.opensaml.xml.schema.XSBooleanValue newMustUnderstand)
          Set the attribute value.
 void setSOAP12Relay(Boolean newRelay)
          Set the attribute value.
 void setSOAP12Relay(org.opensaml.xml.schema.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.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, 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.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

EncryptedHeaderImpl

public EncryptedHeaderImpl(String namespaceURI,
                           String elementLocalName,
                           String namespacePrefix)
Constructor.

Parameters:
namespaceURI - namespace of the element
elementLocalName - name of the element
namespacePrefix - namespace prefix of the element
Method Detail

getEncryptedData

public org.opensaml.xml.encryption.EncryptedData getEncryptedData()
Gets the EncryptedData child element.

Specified by:
getEncryptedData in interface EncryptedHeader
Returns:
the EncryptedData child element

setEncryptedData

public void setEncryptedData(org.opensaml.xml.encryption.EncryptedData newEncryptedData)
Sets the EncryptedData child element.

Specified by:
setEncryptedData in interface EncryptedHeader
Parameters:
newEncryptedData - the new EncryptedData child element

getWSUId

public String getWSUId()
Returns the @wsu:Id attribute value.

Specified by:
getWSUId in interface IdBearing
Returns:
The @wsu:Id attribute value or null.

setWSUId

public void setWSUId(String newId)
Sets the @wsu:Id attribute value.

Specified by:
setWSUId in interface IdBearing
Parameters:
newId - The @wsu:Id attribute value

isSOAP11MustUnderstand

public Boolean isSOAP11MustUnderstand()
Get the attribute value.

Returns:
return the attribute vlue

isSOAP11MustUnderstandXSBoolean

public org.opensaml.xml.schema.XSBooleanValue isSOAP11MustUnderstandXSBoolean()
Get the attribute value.

Returns:
return the attribute vlue

setSOAP11MustUnderstand

public void setSOAP11MustUnderstand(Boolean newMustUnderstand)
Set the attribute value.

Parameters:
newMustUnderstand - the new attribute value

setSOAP11MustUnderstand

public void setSOAP11MustUnderstand(org.opensaml.xml.schema.XSBooleanValue newMustUnderstand)
Set the attribute value.

Parameters:
newMustUnderstand - the new attribute value

getSOAP11Actor

public String getSOAP11Actor()
Get the attribute value.

Specified by:
getSOAP11Actor in interface ActorBearing
Returns:
return the attribute vlue

setSOAP11Actor

public void setSOAP11Actor(String newActor)
Set the attribute value.

Specified by:
setSOAP11Actor in interface ActorBearing
Parameters:
newActor - the new attribute value

isSOAP12MustUnderstand

public Boolean isSOAP12MustUnderstand()
Get the attribute value.

Specified by:
isSOAP12MustUnderstand in interface MustUnderstandBearing
Returns:
return the attribute value

isSOAP12MustUnderstandXSBoolean

public org.opensaml.xml.schema.XSBooleanValue isSOAP12MustUnderstandXSBoolean()
Get the attribute value.

Specified by:
isSOAP12MustUnderstandXSBoolean in interface MustUnderstandBearing
Returns:
return the attribute value

setSOAP12MustUnderstand

public void setSOAP12MustUnderstand(Boolean newMustUnderstand)
Set the attribute value.

Specified by:
setSOAP12MustUnderstand in interface MustUnderstandBearing
Parameters:
newMustUnderstand - the new attribute value

setSOAP12MustUnderstand

public void setSOAP12MustUnderstand(org.opensaml.xml.schema.XSBooleanValue newMustUnderstand)
Set the attribute value.

Specified by:
setSOAP12MustUnderstand in interface MustUnderstandBearing
Parameters:
newMustUnderstand - the new attribute value

getSOAP12Role

public String getSOAP12Role()
Get the attribute value.

Specified by:
getSOAP12Role in interface RoleBearing
Returns:
return the attribute vlue

setSOAP12Role

public void setSOAP12Role(String newRole)
Set the attribute value.

Specified by:
setSOAP12Role in interface RoleBearing
Parameters:
newRole - the new attribute value

isSOAP12Relay

public Boolean isSOAP12Relay()
Get the attribute value.

Specified by:
isSOAP12Relay in interface RelayBearing
Returns:
return the attribute vlue

isSOAP12RelayXSBoolean

public org.opensaml.xml.schema.XSBooleanValue isSOAP12RelayXSBoolean()
Get the attribute value.

Specified by:
isSOAP12RelayXSBoolean in interface RelayBearing
Returns:
return the attribute vlue

setSOAP12Relay

public void setSOAP12Relay(Boolean newRelay)
Set the attribute value.

Specified by:
setSOAP12Relay in interface RelayBearing
Parameters:
newRelay - the new attribute value

setSOAP12Relay

public void setSOAP12Relay(org.opensaml.xml.schema.XSBooleanValue newRelay)
Set the attribute value.

Specified by:
setSOAP12Relay in interface RelayBearing
Parameters:
newRelay - the new attribute value

getOrderedChildren

public List<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject
Overrides:
getOrderedChildren in class AbstractWSSecurityObject


Copyright © 2006-2013 Internet2. All Rights Reserved.