org.opensaml.saml2.core.impl
Class EncryptedElementTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.saml2.core.impl.EncryptedElementTypeImpl
All Implemented Interfaces:
SAMLObject, EncryptedElementType, ValidatingXMLObject, XMLObject
Direct Known Subclasses:
EncryptedAssertionImpl, EncryptedAttributeImpl, EncryptedIDImpl, NewEncryptedIDImpl

public class EncryptedElementTypeImpl
extends AbstractSAMLObject
implements EncryptedElementType

A concrete implementation of EncryptedElementType.


Field Summary
private  EncryptedData encryptedData
          EncryptedData child element.
private  XMLObjectChildrenList<EncryptedKey> encryptedKeys
          EncryptedKey children.
 
Fields inherited from interface org.opensaml.saml2.core.EncryptedElementType
TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected EncryptedElementTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 EncryptedData getEncryptedData()
          Get the EncryptedData child element.
 List<EncryptedKey> getEncryptedKeys()
          A list of EncryptedKey child elements.
 List<XMLObject> getOrderedChildren()
          
 void setEncryptedData(EncryptedData newEncryptedData)
          Set the EncryptedData child element.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, hashCode, prepareForAssignment
 
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, finalize, getClass, 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, 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
 

Field Detail

encryptedData

private EncryptedData encryptedData
EncryptedData child element.


encryptedKeys

private final XMLObjectChildrenList<EncryptedKey> encryptedKeys
EncryptedKey children.

Constructor Detail

EncryptedElementTypeImpl

protected EncryptedElementTypeImpl(String namespaceURI,
                                   String elementLocalName,
                                   String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getEncryptedData

public EncryptedData getEncryptedData()
Get the EncryptedData child element.

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

setEncryptedData

public void setEncryptedData(EncryptedData newEncryptedData)
Set the EncryptedData child element.

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

getEncryptedKeys

public List<EncryptedKey> getEncryptedKeys()
A list of EncryptedKey child elements.

Specified by:
getEncryptedKeys in interface EncryptedElementType
Returns:
a list of EncryptedKey child elements

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.