|
||||||||||
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 EntitiesDescriptor s. |
List<EntityDescriptor> |
getEntityDescriptors()
Gets a list of child EntityDescriptor s. |
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()
EntitiesDescriptor
s.
getEntitiesDescriptors
in interface EntitiesDescriptor
public List<EntityDescriptor> getEntityDescriptors()
EntityDescriptor
s.
getEntityDescriptors
in interface EntitiesDescriptor
public Extensions getExtensions()
getExtensions
in interface EntitiesDescriptor
public String getID()
getID
in interface EntitiesDescriptor
public String getName()
getName
in interface EntitiesDescriptor
public void setExtensions(Extensions extensions)
setExtensions
in interface EntitiesDescriptor
extensions
- the Extensions child of this objectpublic void setID(String newID)
setID
in interface EntitiesDescriptor
newID
- the ID of this entity grouppublic void setName(String name)
setName
in interface EntitiesDescriptor
name
- the name of this entity grouppublic String getSignatureReferenceID()
getSignatureReferenceID
in interface SignableSAMLObject
public Signature getSignature()
getSignature
in interface SignableXMLObject
public boolean isSigned()
isSigned
in interface SignableXMLObject
public void setSignature(Signature newSignature)
setSignature
in interface SignableXMLObject
public void addNamespace(Namespace namespace)
addNamespace
in interface XMLObject
public void detach()
detach
in interface XMLObject
public Element getDOM()
getDOM
in interface XMLObject
public QName getElementQName()
getElementQName
in interface XMLObject
public IDIndex getIDIndex()
getIDIndex
in interface XMLObject
public NamespaceManager getNamespaceManager()
getNamespaceManager
in interface XMLObject
public Set<Namespace> getNamespaces()
getNamespaces
in interface XMLObject
public String getNoNamespaceSchemaLocation()
getNoNamespaceSchemaLocation
in interface XMLObject
public List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
public XMLObject getParent()
getParent
in interface XMLObject
public String getSchemaLocation()
getSchemaLocation
in interface XMLObject
public QName getSchemaType()
getSchemaType
in interface XMLObject
public boolean hasChildren()
hasChildren
in interface XMLObject
public boolean hasParent()
hasParent
in interface XMLObject
public void releaseChildrenDOM(boolean propagateRelease)
releaseChildrenDOM
in interface XMLObject
public void releaseDOM()
releaseDOM
in interface XMLObject
public void releaseParentDOM(boolean propagateRelease)
releaseParentDOM
in interface XMLObject
public void removeNamespace(Namespace namespace)
removeNamespace
in interface XMLObject
public XMLObject resolveID(String id)
resolveID
in interface XMLObject
public XMLObject resolveIDFromRoot(String id)
resolveIDFromRoot
in interface XMLObject
public void setDOM(Element dom)
setDOM
in interface XMLObject
public void setNoNamespaceSchemaLocation(String location)
setNoNamespaceSchemaLocation
in interface XMLObject
public void setParent(XMLObject parent)
setParent
in interface XMLObject
public void setSchemaLocation(String location)
setSchemaLocation
in interface XMLObject
public void deregisterValidator(Validator validator)
deregisterValidator
in interface ValidatingXMLObject
public List<Validator> getValidators()
getValidators
in interface ValidatingXMLObject
public void registerValidator(Validator validator)
registerValidator
in interface ValidatingXMLObject
public void validate(boolean validateDescendants) throws ValidationException
validate
in interface ValidatingXMLObject
ValidationException
public org.joda.time.DateTime getValidUntil()
getValidUntil
in interface TimeBoundSAMLObject
public boolean isValid()
isValid
in interface TimeBoundSAMLObject
public void setValidUntil(org.joda.time.DateTime validUntil)
setValidUntil
in interface TimeBoundSAMLObject
validUntil
- the date until which this descriptor is validpublic Long getCacheDuration()
getCacheDuration
in interface CacheableSAMLObject
public void setCacheDuration(Long duration)
setCacheDuration
in interface CacheableSAMLObject
duration
- the maximum time that this descriptor should be cachedpublic Boolean isNil()
isNil
in interface XMLObject
public XSBooleanValue isNilXSBoolean()
isNilXSBoolean
in interface XMLObject
public void setNil(Boolean arg0)
setNil
in interface XMLObject
public void setNil(XSBooleanValue arg0)
setNil
in interface XMLObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |