Class EntitiesDescriptorImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.signature.AbstractSignableXMLObject
org.opensaml.saml.common.AbstractSignableSAMLObject
org.opensaml.saml.saml2.metadata.impl.EntitiesDescriptorImpl
- All Implemented Interfaces:
XMLObject,SAMLObject,SignableSAMLObject,CacheableSAMLObject,TimeBoundSAMLObject,EntitiesDescriptor,SignableXMLObject
public class EntitiesDescriptorImpl
extends AbstractSignableSAMLObject
implements EntitiesDescriptor
Concrete implementation of
EntitiesDescriptor.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DurationcacheDurection attribute.private ExtensionsExtensions child.private StringID attribute.private StringName of this descriptor group.private final IndexedXMLObjectChildrenList<SAMLObject>Ordered set of child Entity/Entities Descriptors.private InstantvalidUntil attribute.Fields inherited from interface org.opensaml.saml.saml2.common.CacheableSAMLObject
CACHE_DURATION_ATTRIB_NAME, CACHE_DURATION_ATTRIB_QNAMEFields inherited from interface org.opensaml.saml.saml2.metadata.EntitiesDescriptor
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ELEMENT_QNAME, ID_ATTRIB_NAME, NAME_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAMEFields inherited from interface org.opensaml.saml.saml2.common.TimeBoundSAMLObject
VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEntitiesDescriptorImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetID()getName()booleanisValid()voidsetCacheDuration(Duration duration) voidsetExtensions(Extensions newExtensions) voidvoidvoidsetValidUntil(Instant newValidUntil) Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignatureMethods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSignedMethods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignatureMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
name
Name of this descriptor group. -
id
ID attribute. -
validUntil
validUntil attribute. -
cacheDuration
cacheDurection attribute. -
extensions
Extensions child. -
orderedDescriptors
Ordered set of child Entity/Entities Descriptors.
-
-
Constructor Details
-
EntitiesDescriptorImpl
protected EntitiesDescriptorImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable 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
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceEntitiesDescriptor
-
setName
- Specified by:
setNamein interfaceEntitiesDescriptor
-
getID
- Specified by:
getIDin interfaceEntitiesDescriptor
-
setID
- Specified by:
setIDin interfaceEntitiesDescriptor
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceTimeBoundSAMLObject
-
getValidUntil
- Specified by:
getValidUntilin interfaceTimeBoundSAMLObject
-
setValidUntil
- Specified by:
setValidUntilin interfaceTimeBoundSAMLObject
-
getCacheDuration
- Specified by:
getCacheDurationin interfaceCacheableSAMLObject
-
setCacheDuration
- Specified by:
setCacheDurationin interfaceCacheableSAMLObject
-
getExtensions
- Specified by:
getExtensionsin interfaceEntitiesDescriptor
-
setExtensions
- Specified by:
setExtensionsin interfaceEntitiesDescriptor
-
getEntitiesDescriptors
- Specified by:
getEntitiesDescriptorsin interfaceEntitiesDescriptor
-
getEntityDescriptors
- Specified by:
getEntityDescriptorsin interfaceEntitiesDescriptor
-
getSignatureReferenceID
- Specified by:
getSignatureReferenceIDin interfaceSignableSAMLObject
-
getOrderedChildren
- Specified by:
getOrderedChildrenin interfaceXMLObject
-