|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.saml2.metadata.provider.ChainingMetadataProvider.ChainingEntitiesDescriptor
private class ChainingMetadataProvider.ChainingEntitiesDescriptor
Class that wraps the currently list of providers and exposes it as an EntitiesDescriptors.
| Field Summary | |
|---|---|
private ArrayList<XMLObject> |
childDescriptors
Metadata from the child metadata providers. |
| Fields inherited from interface org.opensaml.saml2.metadata.EntitiesDescriptor |
|---|
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ELEMENT_QNAME, ID_ATTRIB_NAME, NAME_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME |
| Fields inherited from interface org.opensaml.saml2.common.TimeBoundSAMLObject |
|---|
VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAME |
| Fields inherited from interface org.opensaml.saml2.common.CacheableSAMLObject |
|---|
CACHE_DURATION_ATTRIB_NAME, CACHE_DURATION_ATTRIB_QNAME |
| Constructor Summary | |
|---|---|
ChainingMetadataProvider.ChainingEntitiesDescriptor()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addNamespace(Namespace namespace)
|
void |
deregisterValidator(Validator validator)
|
void |
detach()
|
Long |
getCacheDuration()
Gets the maximum time, in milliseconds, that this descriptor should be cached. |
Element |
getDOM()
|
QName |
getElementQName()
|
List<EntitiesDescriptor> |
getEntitiesDescriptors()
Gets a list of child EntitiesDescriptors. |
List<EntityDescriptor> |
getEntityDescriptors()
Gets a list of child EntityDescriptors. |
Extensions |
getExtensions()
Gets the Extensions child of this object. |
String |
getID()
Gets the ID of this entity group. |
IDIndex |
getIDIndex()
|
String |
getName()
Gets the name of this entity group. |
NamespaceManager |
getNamespaceManager()
|
Set<Namespace> |
getNamespaces()
|
String |
getNoNamespaceSchemaLocation()
|
List<XMLObject> |
getOrderedChildren()
|
XMLObject |
getParent()
|
String |
getSchemaLocation()
|
QName |
getSchemaType()
|
Signature |
getSignature()
|
String |
getSignatureReferenceID()
Gets the value of the ID attribute for this SAML object which will be used as its signature reference. |
List<Validator> |
getValidators()
|
org.joda.time.DateTime |
getValidUntil()
Gets the date until which this descriptor is valid. |
boolean |
hasChildren()
|
boolean |
hasParent()
|
Boolean |
isNil()
|
XSBooleanValue |
isNilXSBoolean()
|
boolean |
isSigned()
|
boolean |
isValid()
Checks to see if the current time is past the validUntil time. |
void |
registerValidator(Validator validator)
|
void |
releaseChildrenDOM(boolean propagateRelease)
|
void |
releaseDOM()
|
void |
releaseParentDOM(boolean propagateRelease)
|
void |
removeNamespace(Namespace namespace)
|
XMLObject |
resolveID(String id)
|
XMLObject |
resolveIDFromRoot(String id)
|
void |
setCacheDuration(Long duration)
Sets the maximum time, in milliseconds, that this descriptor should be cached. |
void |
setDOM(Element dom)
|
void |
setExtensions(Extensions extensions)
Sets the Extensions child of this object. |
void |
setID(String newID)
Sets the ID of this entity group. |
void |
setName(String name)
Sets the name of this entity group. |
void |
setNil(Boolean arg0)
|
void |
setNil(XSBooleanValue arg0)
|
void |
setNoNamespaceSchemaLocation(String location)
|
void |
setParent(XMLObject parent)
|
void |
setSchemaLocation(String location)
|
void |
setSignature(Signature newSignature)
|
void |
setValidUntil(org.joda.time.DateTime validUntil)
Sets the date until which this descriptor is valid. |
void |
validate(boolean validateDescendants)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ArrayList<XMLObject> childDescriptors
| Constructor Detail |
|---|
public ChainingMetadataProvider.ChainingEntitiesDescriptor()
| Method Detail |
|---|
public List<EntitiesDescriptor> getEntitiesDescriptors()
EntitiesDescriptors.
getEntitiesDescriptors in interface EntitiesDescriptorpublic List<EntityDescriptor> getEntityDescriptors()
EntityDescriptors.
getEntityDescriptors in interface EntitiesDescriptorpublic Extensions getExtensions()
getExtensions in interface EntitiesDescriptorpublic String getID()
getID in interface EntitiesDescriptorpublic String getName()
getName in interface EntitiesDescriptorpublic void setExtensions(Extensions extensions)
setExtensions in interface EntitiesDescriptorextensions - the Extensions child of this objectpublic void setID(String newID)
setID in interface EntitiesDescriptornewID - the ID of this entity grouppublic void setName(String name)
setName in interface EntitiesDescriptorname - the name of this entity grouppublic String getSignatureReferenceID()
getSignatureReferenceID in interface SignableSAMLObjectpublic Signature getSignature()
getSignature in interface SignableXMLObjectpublic boolean isSigned()
isSigned in interface SignableXMLObjectpublic void setSignature(Signature newSignature)
setSignature in interface SignableXMLObjectpublic void addNamespace(Namespace namespace)
addNamespace in interface XMLObjectpublic void detach()
detach in interface XMLObjectpublic Element getDOM()
getDOM in interface XMLObjectpublic QName getElementQName()
getElementQName in interface XMLObjectpublic IDIndex getIDIndex()
getIDIndex in interface XMLObjectpublic NamespaceManager getNamespaceManager()
getNamespaceManager in interface XMLObjectpublic Set<Namespace> getNamespaces()
getNamespaces in interface XMLObjectpublic String getNoNamespaceSchemaLocation()
getNoNamespaceSchemaLocation in interface XMLObjectpublic List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObjectpublic XMLObject getParent()
getParent in interface XMLObjectpublic String getSchemaLocation()
getSchemaLocation in interface XMLObjectpublic QName getSchemaType()
getSchemaType in interface XMLObjectpublic boolean hasChildren()
hasChildren in interface XMLObjectpublic boolean hasParent()
hasParent in interface XMLObjectpublic void releaseChildrenDOM(boolean propagateRelease)
releaseChildrenDOM in interface XMLObjectpublic void releaseDOM()
releaseDOM in interface XMLObjectpublic void releaseParentDOM(boolean propagateRelease)
releaseParentDOM in interface XMLObjectpublic void removeNamespace(Namespace namespace)
removeNamespace in interface XMLObjectpublic XMLObject resolveID(String id)
resolveID in interface XMLObjectpublic XMLObject resolveIDFromRoot(String id)
resolveIDFromRoot in interface XMLObjectpublic void setDOM(Element dom)
setDOM in interface XMLObjectpublic void setNoNamespaceSchemaLocation(String location)
setNoNamespaceSchemaLocation in interface XMLObjectpublic void setParent(XMLObject parent)
setParent in interface XMLObjectpublic void setSchemaLocation(String location)
setSchemaLocation in interface XMLObjectpublic void deregisterValidator(Validator validator)
deregisterValidator in interface ValidatingXMLObjectpublic List<Validator> getValidators()
getValidators in interface ValidatingXMLObjectpublic void registerValidator(Validator validator)
registerValidator in interface ValidatingXMLObject
public void validate(boolean validateDescendants)
throws ValidationException
validate in interface ValidatingXMLObjectValidationExceptionpublic org.joda.time.DateTime getValidUntil()
getValidUntil in interface TimeBoundSAMLObjectpublic boolean isValid()
isValid in interface TimeBoundSAMLObjectpublic void setValidUntil(org.joda.time.DateTime validUntil)
setValidUntil in interface TimeBoundSAMLObjectvalidUntil - the date until which this descriptor is validpublic Long getCacheDuration()
getCacheDuration in interface CacheableSAMLObjectpublic void setCacheDuration(Long duration)
setCacheDuration in interface CacheableSAMLObjectduration - the maximum time that this descriptor should be cachedpublic Boolean isNil()
isNil in interface XMLObjectpublic XSBooleanValue isNilXSBoolean()
isNilXSBoolean in interface XMLObjectpublic void setNil(Boolean arg0)
setNil in interface XMLObjectpublic void setNil(XSBooleanValue arg0)
setNil in interface XMLObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||