public abstract class AbstractSignableSAMLObject extends AbstractSignableXMLObject implements SignableSAMLObject
SignableXMLObject.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSignableSAMLObject(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
protected org.joda.time.DateTime |
prepareForAssignment(org.joda.time.DateTime oldValue,
org.joda.time.DateTime newValue)
A helper function for derived classes that checks to see if the old and new value are equal and if so releases
the cached dom.
|
void |
setSignature(Signature newSignature)
Sets the Signature XMLObject.
|
getSignature, isSigneddetach, 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, setSchemaTypeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetSignatureReferenceIDgetSignature, isSigneddetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationprotected AbstractSignableSAMLObject(@Nullable
java.lang.String namespaceURI,
@Nonnull @NotEmpty
java.lang.String elementLocalName,
@Nullable
java.lang.String namespacePrefix)
namespaceURI - the namespace the element is inelementLocalName - the local name of the XML element this Object representsnamespacePrefix - the prefix for the given namespacepublic final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void setSignature(@Nullable
Signature newSignature)
SAMLObjectContentReference
for the default digest algorithm and transforms that will be used. These default values may be
changed prior to marshalling this object.setSignature in interface SignableXMLObjectsetSignature in class AbstractSignableXMLObjectnewSignature - the Signature XMLObject@Nullable
protected org.joda.time.DateTime prepareForAssignment(@Nullable
org.joda.time.DateTime oldValue,
@Nullable
org.joda.time.DateTime newValue)
this.foo = prepareForAssignment(this.foo, foo);
This method will do a (null) safe compare of the objects and will also invalidate the DOM if appropriateoldValue - - current valuenewValue - - proposed new value