org.opensaml.xml.signature
Class AbstractSignableXMLObject

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.signature.AbstractSignableXMLObject
All Implemented Interfaces:
SignableXMLObject, XMLObject
Direct Known Subclasses:
AbstractValidatingSignableXMLObject

public abstract class AbstractSignableXMLObject
extends AbstractXMLObject
implements SignableXMLObject

Base for signable XMLObjects.


Constructor Summary
protected AbstractSignableXMLObject(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor
 
Method Summary
 Signature getSignature()
          Gets the Signature XMLObject.
 boolean isSigned()
          Checks to see if the element has been signed.
 void setSignature(Signature newSignature)
          Sets the Signature XMLObject.
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, 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, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

AbstractSignableXMLObject

protected AbstractSignableXMLObject(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

isSigned

public boolean isSigned()
Checks to see if the element has been signed.

Specified by:
isSigned in interface SignableXMLObject
Returns:
true if this element is signed, false if not

getSignature

public Signature getSignature()
Gets the Signature XMLObject.

Specified by:
getSignature in interface SignableXMLObject
Returns:
the Signature XMLObject

setSignature

public void setSignature(Signature newSignature)
Sets the Signature XMLObject.

Specified by:
setSignature in interface SignableXMLObject
Parameters:
newSignature - the Signature XMLObject


Copyright © 2006-2010 Internet2. All Rights Reserved.