public class RoleDescriptor extends Descriptor
RoleDescriptor metadata element.| Modifier | Constructor and Description |
|---|---|
|
RoleDescriptor(org.w3c.dom.Document owner)
Creates a new
RoleDescriptor instance. |
protected |
RoleDescriptor(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
Creates a new
RoleDescriptor instance. |
|
RoleDescriptor(org.w3c.dom.Element element)
Creates a new
RoleDescriptor instance from the given Element node. |
|
RoleDescriptor(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
RoleDescriptor instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addContactPerson(ContactPerson cp)
Adds a contact person.
|
void |
addKeyDescriptor(KeyDescriptor kd)
Adds a key descriptor.
|
java.util.List |
getContactPersons()
Gets the list of contact persons.
|
java.lang.String |
getErrorURL()
Returns the eror URL
|
java.util.List |
getKeyDescriptors()
Gets the list of key descriptors.
|
Organization |
getOrganization()
Gets the Organization .
|
java.lang.String[] |
getProtocolSupportEnumeration()
Returns the protocol support enumeration.
|
void |
setErrorURL(java.lang.String uri)
Sets the error URL.
|
void |
setOrganization(Organization org)
Adds a Organization.
|
void |
setProtocolSupportEnumeration(java.lang.String[] uri)
Sets the protocol support enumeration.
|
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 RoleDescriptor(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
RoleDescriptor instance from the given Element node.element - An RoleDescriptor element.org.w3c.dom.DOMException
public RoleDescriptor(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
RoleDescriptor instance from the given Element node.element - An RoleDescriptor element.systemId - The URI string system ID for the RoleDescriptor.org.w3c.dom.DOMException
public RoleDescriptor(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
RoleDescriptor instance.owner - The owner document of the new RoleDescriptor.org.w3c.dom.DOMException
protected RoleDescriptor(org.w3c.dom.Document owner,
java.lang.String nsURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
RoleDescriptor instance. This constructor is for use in subclass for extension of the RoleDescriptor element.owner - The owner document of the new RoleDescriptor.nsURI - The namespace URI in which the new RoleDescriptor is to be created.localName - The localName of the element represented by the class that extends this class.org.w3c.dom.DOMExceptionpublic void setErrorURL(java.lang.String uri)
uri - The URL reference.public java.lang.String getErrorURL()
null if not present.public void setProtocolSupportEnumeration(java.lang.String[] uri)
uri - An array of URLs.public java.lang.String[] getProtocolSupportEnumeration()
null if not present.public void addKeyDescriptor(KeyDescriptor kd)
kd - A KeyDescriptor object.public java.util.List getKeyDescriptors()
List of KeyDescriptor objects null if none were found.public void setOrganization(Organization org)
org - An Organization object.public Organization getOrganization()
Organization object or null if none was found.public void addContactPerson(ContactPerson cp)
cp - A ContactPerson object.public java.util.List getContactPersons()
List of ContactPerson objects null if none were found.