public class EntityDescriptor extends Descriptor
EntityDescriptor metadata element.| Modifier | Constructor and Description |
|---|---|
|
EntityDescriptor(org.w3c.dom.Document owner)
Creates a new
EntityDescriptor instance. |
protected |
EntityDescriptor(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
Creates a new
EntityDescriptor instance. |
|
EntityDescriptor(org.w3c.dom.Element element)
Creates a new
EntityDescriptor instance from the given Element node. |
|
EntityDescriptor(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
EntityDescriptor instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addAdditionalMetadataLocation(AdditionalMetadataLocation aml)
Adds the location for additional metadata.
|
void |
addContactPerson(ContactPerson cp)
Adds a contact person.
|
void |
addRoleDescriptor(RoleDescriptor rd)
Adds a
RoleDescriptor. |
java.util.List |
getAdditionalMetadataLocations()
Returns the list of locations for additional metadata.
|
AffiliationDescriptor |
getAffiliationDescriptor()
Returns the
PDPDescriptor list. |
java.util.List |
getAttributeAuthorityDescriptors()
Returns the
AttributeAuthorityDescriptor list. |
java.util.List |
getAuthnAuthorityDescriptors()
Returns the
AuthnAuthorityDescriptor list. |
java.util.List |
getContactPersons()
Returns the list of contact persons.
|
java.lang.String |
getEntityID()
Returns the entity identifier.
|
java.util.List |
getIDPSSODescriptors()
Returns the
IDPSSODescriptor list. |
Organization |
getOrganization()
Returns the
Organization. |
java.util.List |
getPDPDescriptors()
Returns the
PDPDescriptor list. |
java.util.List |
getRoleDescriptors()
Returns the
EntityDescriptor list. |
java.util.List |
getSPSSODescriptors()
Returns the
SPSSODescriptor list. |
void |
setAffiliationDescriptor(AffiliationDescriptor ad)
Sets the affiliation information.
|
void |
setEntityID(EntityID entity)
Sets the entity identifier.
|
void |
setOrganization(Organization org)
Sets the Organization information.
|
addSignature, addSignature, clearSignature, getCacheDuration, getExtensions, getID, getSignature, getValidUntil, isSigned, setCacheDuration, setExtensions, setID, setValidUntil, sign, sign, verify, verifyaddNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefixappendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML
public EntityDescriptor(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
EntityDescriptor instance from the given Element node.element - An EntityDescriptor element.org.w3c.dom.DOMException
public EntityDescriptor(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
EntityDescriptor instance from the given Element node.element - An EntityDescriptor element.systemId - The URI string system ID for the EntityDescriptor.org.w3c.dom.DOMException
public EntityDescriptor(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
EntityDescriptor instance.owner - The owner document of the new EntityDescriptor.org.w3c.dom.DOMException
protected EntityDescriptor(org.w3c.dom.Document owner,
java.lang.String nsURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
EntityDescriptor instance. This constructor is for use in subclass for extension of the EntityDescriptor element.owner - The owner document of the new EntityDescriptor.nsURI - The namespace URI in which the new EntityDescriptor is to be created.localName - The localName of the element represented by the class that extends this class.org.w3c.dom.DOMExceptionpublic void addRoleDescriptor(RoleDescriptor rd)
RoleDescriptor.
The AffiliationDescriptor element will be deleted.
rd - The RoleDescriptor.public java.util.List getRoleDescriptors()
EntityDescriptor list.List of EntityDescriptor objects or null if none were found.public java.util.List getIDPSSODescriptors()
IDPSSODescriptor list.List of IDPSSODescriptor objects or null if none were found.public java.util.List getSPSSODescriptors()
SPSSODescriptor list.List of SPSSODescriptor objects or null if none were found.public java.util.List getAuthnAuthorityDescriptors()
AuthnAuthorityDescriptor list.List of AuthnAuthorityDescriptor objects or null if none were found.public java.util.List getAttributeAuthorityDescriptors()
AttributeAuthorityDescriptor list.List of AttributeAuthorityDescriptor objects or null if none were found.public java.util.List getPDPDescriptors()
PDPDescriptor list.List of PDPDescriptor objects or null if none were found.public void setAffiliationDescriptor(AffiliationDescriptor ad)
All RoleDescriptor elements will be deleted.
ad - A AffiliationDescriptor object.public AffiliationDescriptor getAffiliationDescriptor()
PDPDescriptor list.List of PDPDescriptor objects or null if none were found.public void setOrganization(Organization org)
org - A Organization object.public Organization getOrganization()
Organization.Organization object or null if not was found.public void addContactPerson(ContactPerson cp)
cp - A ContactPerson.public java.util.List getContactPersons()
List of ContactPerson objects or null if none was found.public void addAdditionalMetadataLocation(AdditionalMetadataLocation aml)
aml - The AdditionalMetadataLocation object to add.public java.util.List getAdditionalMetadataLocations()
List of AdditionalMetadataLocation objects or null if none were found.public void setEntityID(EntityID entity)
entity - The entity identifier.public java.lang.String getEntityID()