public class EntitiesDescriptor extends Descriptor
EntitiesDescriptor metadata element.| Constructor and Description |
|---|
EntitiesDescriptor(org.w3c.dom.Document owner)
Creates a new
EntitiesDescriptor instance. |
EntitiesDescriptor(org.w3c.dom.Element element)
Creates a new
EntitiesDescriptor instance from the given Element node. |
EntitiesDescriptor(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
EntitiesDescriptor instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntitiesDescriptor(EntitiesDescriptor desc)
Adds an entities descriptor.
|
void |
addEntityDescriptor(EntityDescriptor desc)
Adds an entity descriptor.
|
java.util.List |
getEntitiesDescriptors()
Gets the list of EntitiesDescriptor values.
|
java.util.List |
getEntityDescriptors()
Gets the list of entity descriptors.
|
java.lang.String |
getName()
Returns the name.
|
void |
setName(java.lang.String name)
Sets the name.
|
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 EntitiesDescriptor(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
EntitiesDescriptor instance from the given Element node.element - An EntitiesDescriptor element.org.w3c.dom.DOMException
public EntitiesDescriptor(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
EntitiesDescriptor instance from the given Element node.element - An EntitiesDescriptor element.systemId - The URI string system ID for the EntitiesDescriptor.org.w3c.dom.DOMException
public EntitiesDescriptor(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
EntitiesDescriptor instance.owner - The owner document of the new EntitiesDescriptor.org.w3c.dom.DOMExceptionpublic void setName(java.lang.String name)
name - A name String.public java.lang.String getName()
null if not found.public void addEntitiesDescriptor(EntitiesDescriptor desc)
desc - A EntitiesDescriptor object.public java.util.List getEntitiesDescriptors()
List of EntitiesDescriptor objects or null if none were found.public void addEntityDescriptor(EntityDescriptor desc)
desc - A EntityDescriptor object.public java.util.List getEntityDescriptors()
List containing EntityDescriptor objects or null if none were found.