org.opensaml.xml.signature.impl
Class PGPDataImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xml.signature.impl.PGPDataImpl
All Implemented Interfaces:
ElementExtensibleXMLObject, PGPData, ValidatingXMLObject, XMLObject

public class PGPDataImpl
extends AbstractValidatingXMLObject
implements PGPData

Concrete implementation of PGPData


Field Summary
 
Fields inherited from interface org.opensaml.xml.signature.PGPData
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected PGPDataImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor
 
Method Summary
 List<XMLObject> getOrderedChildren()
          Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
 PGPKeyID getPGPKeyID()
          Get PGPKeyID child element
 PGPKeyPacket getPGPKeyPacket()
          Get PGPKeyPacket child element
 List<XMLObject> getUnknownXMLObjects()
          Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.
 List<XMLObject> getUnknownXMLObjects(QName typeOrName)
          Gets the list of XMLObjects added to this XMLObject as part of the "any" content model, and which match the specified QName.
 void setPGPKeyID(PGPKeyID newPGPKeyID)
          Set PGPKeyID child element
 void setPGPKeyPacket(PGPKeyPacket newPGPKeyPacket)
          Set PGPKeyPacket child element
 
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.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
 

Constructor Detail

PGPDataImpl

protected PGPDataImpl(String namespaceURI,
                      String elementLocalName,
                      String namespacePrefix)
Constructor

Parameters:
namespaceURI -
elementLocalName -
namespacePrefix -
Method Detail

getPGPKeyID

public PGPKeyID getPGPKeyID()
Get PGPKeyID child element

Specified by:
getPGPKeyID in interface PGPData
Returns:
the PGPKeyID child element

setPGPKeyID

public void setPGPKeyID(PGPKeyID newPGPKeyID)
Set PGPKeyID child element

Specified by:
setPGPKeyID in interface PGPData
Parameters:
newPGPKeyID - the new PGPKeyID

getPGPKeyPacket

public PGPKeyPacket getPGPKeyPacket()
Get PGPKeyPacket child element

Specified by:
getPGPKeyPacket in interface PGPData
Returns:
the PGPKeyPacket child element

setPGPKeyPacket

public void setPGPKeyPacket(PGPKeyPacket newPGPKeyPacket)
Set PGPKeyPacket child element

Specified by:
setPGPKeyPacket in interface PGPData
Parameters:
newPGPKeyPacket - the new PGPKeyPacket

getUnknownXMLObjects

public List<XMLObject> getUnknownXMLObjects()
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.

Specified by:
getUnknownXMLObjects in interface ElementExtensibleXMLObject
Returns:
list of XMLObjects added to this XMLObject as part of the "any" content model

getUnknownXMLObjects

public List<XMLObject> getUnknownXMLObjects(QName typeOrName)
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model, and which match the specified QName.

Specified by:
getUnknownXMLObjects in interface ElementExtensibleXMLObject
Parameters:
typeOrName - the QName of the statements to return
Returns:
list of XMLObjects added to this XMLObject as part of the "any" content model

getOrderedChildren

public List<XMLObject> getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.

Specified by:
getOrderedChildren in interface XMLObject
Returns:
ordered list of child elements


Copyright © 2006-2011 Internet2. All Rights Reserved.