org.opensaml.common.impl
Class AbstractSAMLObject
java.lang.Object
org.opensaml.xml.AbstractXMLObject
org.opensaml.xml.validation.AbstractValidatingXMLObject
org.opensaml.common.impl.AbstractSAMLObject
- All Implemented Interfaces:
- ValidatingXMLObject, XMLObject
- Direct Known Subclasses:
- AbstractNameIDType, ActionImpl, ActionImpl, ActionNamespaceImpl, AdditionalMetadataLocationImpl, AdviceImpl, AdviceImpl, AffiliateMemberImpl, ArtifactImpl, AssertionArtifactImpl, AssertionIDReferenceImpl, AssertionIDRefImpl, AssertionURIRefImpl, AsynchronousImpl, AttributeConsumingServiceImpl, AttributeDesignatorImpl, AttributeImpl, AttributeProfileImpl, AttributeStatementImpl, AudienceImpl, AudienceImpl, AudienceRestrictionConditionImpl, AudienceRestrictionImpl, AuthenticatingAuthorityImpl, AuthnContextClassRefImpl, AuthnContextDeclImpl, AuthnContextDeclRefImpl, AuthnContextImpl, AuthnStatementImpl, AuthorityBindingImpl, AuthzDecisionStatementImpl, BaseIDImpl, CompanyImpl, ConditionsImpl, ConditionsImpl, ConfirmationMethodImpl, ContactPersonImpl, DelegateImpl, DelegationRestrictionTypeImpl, DiscoHintsImpl, DomainHintImpl, DoNotCacheConditionImpl, EmailAddressImpl, EncryptedElementTypeImpl, EndpointImpl, EntityAttributesImpl, EvidenceImpl, EvidenceImpl, ExtensionsImpl, GeolocationHintImpl, GetCompleteImpl, GivenNameImpl, IDPEntryImpl, IDPListImpl, IPHintImpl, KeyDescriptorImpl, KeywordsImpl, LocalizedNameImpl, LocalizedURIImpl, LogoImpl, NameIdentifierImpl, NameIDFormatImpl, NameIDPolicyImpl, NewIDImpl, OneTimeUseImpl, OrganizationDisplayNameImpl, OrganizationImpl, OrganizationNameImpl, OrganizationURLImpl, ProxyRestrictionImpl, ReferencedPoliciesTypeImpl, RequestAuthenticatedImpl, RequestedAuthnContextImpl, RequesterIDImpl, RequestImpl, RespondWithImpl, ResponseImpl, ScopingImpl, ServiceDescriptionImpl, ServiceNameImpl, SessionIndexImpl, SessionKeyImpl, StatusCodeImpl, StatusCodeImpl, StatusDetailImpl, StatusDetailImpl, StatusImpl, StatusImpl, StatusMessageImpl, StatusMessageImpl, SubjectConfirmationDataImpl, SubjectConfirmationImpl, SubjectConfirmationImpl, SubjectConfirmationImpl, SubjectImpl, SubjectImpl, SubjectLocalityImpl, SubjectLocalityImpl, SubjectQueryImpl, SubjectStatementImpl, SurNameImpl, TelephoneNumberImpl, TerminateImpl, UIInfoImpl, XACMLAuthzDecisionStatementTypeImpl, XACMLPolicyStatementTypeImpl
public abstract class AbstractSAMLObject
- extends AbstractValidatingXMLObject
An abstract implementation of SAMLObject.
|
Method Summary |
boolean |
equals(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. |
| 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 interface org.opensaml.xml.XMLObject |
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
AbstractSAMLObject
protected AbstractSAMLObject(String namespaceURI,
String elementLocalName,
String namespacePrefix)
- Constructor.
- Parameters:
namespaceURI - the namespace the element is inelementLocalName - the local name of the XML element this Object representsnamespacePrefix - the prefix for the given namespace
equals
public final boolean equals(Object obj)
-
- Overrides:
equals in class Object
hashCode
public int hashCode()
-
- Overrides:
hashCode in class Object
prepareForAssignment
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. Derived classes are expected to use this thus:
this.foo = prepareForAssignment(this.foo, foo);
This method will do a (null) safe compare of the objects and will also invalidate the DOM if appropriate
- Parameters:
oldValue - - current valuenewValue - - proposed new value
- Returns:
- The value to assign to the saved Object.
Copyright © 1999-2013. All Rights Reserved.