public abstract class AbstractSAMLObject
extends org.opensaml.core.xml.AbstractXMLObject
Modifier | Constructor and Description |
---|---|
protected |
AbstractSAMLObject(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
protected DateTime |
prepareForAssignment(DateTime oldValue,
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.
|
detach, 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, setSchemaType
protected AbstractSAMLObject(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix)
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespace@Nullable protected DateTime prepareForAssignment(@Nullable DateTime oldValue, @Nullable 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 valueCopyright © 1999–2015 JBoss by Red Hat. All rights reserved.