Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


oracle.security.xmlsec.saml2.metadata
Class EntitiesDescriptor

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.saml2.metadata.Descriptor
              extended byoracle.security.xmlsec.saml2.metadata.EntitiesDescriptor


public class EntitiesDescriptor
extends Descriptor

Represents the EntitiesDescriptor metadata element.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
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.

 

Method Summary
 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.

 

Methods inherited from class oracle.security.xmlsec.saml2.metadata.Descriptor
addSignature, addSignature, clearSignature, getCacheDuration, getExtensions, getID, getSignature, getValidUntil, isSigned, setCacheDuration, setExtensions, setID, setValidUntil, sign, sign, verify, verify

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix

 

Methods inherited from class oracle.security.xmlsec.util.XMLNode
appendChild, 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

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

EntitiesDescriptor

public EntitiesDescriptor(org.w3c.dom.Element element)
                   throws org.w3c.dom.DOMException
Creates a new EntitiesDescriptor instance from the given Element node.
Parameters:
element - An EntitiesDescriptor element.

EntitiesDescriptor

public EntitiesDescriptor(org.w3c.dom.Element element,
                          java.lang.String systemId)
                   throws org.w3c.dom.DOMException
Creates a new EntitiesDescriptor instance from the given Element node.
Parameters:
element - An EntitiesDescriptor element.
systemId - The URI string system ID for the EntitiesDescriptor.

EntitiesDescriptor

public EntitiesDescriptor(org.w3c.dom.Document owner)
                   throws org.w3c.dom.DOMException
Creates a new EntitiesDescriptor instance.
Parameters:
owner - The owner document of the new EntitiesDescriptor.

Method Detail

setName

public void setName(java.lang.String name)
Sets the name.
Parameters:
name - A name String.

getName

public java.lang.String getName()
Returns the name.
Returns:
A name String or null if not found.

addEntitiesDescriptor

public void addEntitiesDescriptor(EntitiesDescriptor desc)
Adds an entities descriptor.
Parameters:
desc - A EntitiesDescriptor object.

getEntitiesDescriptors

public java.util.List getEntitiesDescriptors()
Gets the list of EntitiesDescriptor values.
Returns:
A List of EntitiesDescriptor objects or null if none were found.

addEntityDescriptor

public void addEntityDescriptor(EntityDescriptor desc)
Adds an entity descriptor.
Parameters:
desc - A EntityDescriptor object.

getEntityDescriptors

public java.util.List getEntityDescriptors()
Gets the list of entity descriptors.
Returns:
A List containing EntityDescriptor objects or null if none were found.

Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


Copyright © 2005, 2006 , Oracle. All rights reserved.