Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-05


oracle.security.xmlsec.saml2.metadata
Class Organization

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.metadata.Organization


public class Organization
extends oracle.security.xmlsec.util.XMLElement

Represents the Organization metadata element.


Field Summary

 

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

 

Constructor Summary
  Organization(org.w3c.dom.Document owner)
          Creates a new Organization instance.
protected Organization(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
          Creates a new Organization instance.
  Organization(org.w3c.dom.Element element)
          Creates a new Organization instance from the given Element node.
  Organization(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new Organization instance from the given Element node.

 

Method Summary
 void addOrganizationDisplayName(OrganizationDisplayName name)
          Adds an organization display name.
 void addOrganizationName(OrganizationName name)
          Adds an organization name.
 void addOrganizationURL(OrganizationURL uri)
          Adds an organization URL.
 java.lang.String getAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
          Retrieves an attribute value by local name and namespace URI.
 Extensions getExtensions()
          Returns the metadata extension.
 java.util.List getOrganizationDisplayNames()
          Returns the list of organization display names.
 java.util.List getOrganizationNames()
          Returns the list of organization names.
 java.util.List getOrganizationURLs()
          Returns the list of organization URLs.
 void setAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName, java.lang.String value)
          Specify an arbitrary attribute.
 void setExtensions(Extensions extension)
          Sets the metadata extension.

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, 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

Organization

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

Organization

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

Organization

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

Organization

protected Organization(org.w3c.dom.Document owner,
                       java.lang.String nsURI,
                       java.lang.String localName)
                throws org.w3c.dom.DOMException
Creates a new Organization instance. This constructor is for use in subclass for extension of the Organization element.
Parameters:
owner - The owner document of the new Organization.
nsURI - The namespace URI in which the new Organization is to be created.
localName - The localName of the element represented by the class that extends this class.
Throws:
org.w3c.dom.DOMException

Method Detail

setExtensions

public void setExtensions(Extensions extension)
Sets the metadata extension.
Parameters:
extension - An Extensions object.

getExtensions

public Extensions getExtensions()
Returns the metadata extension.
Returns:
An Extensions object or null if none was found.

addOrganizationName

public void addOrganizationName(OrganizationName name)
Adds an organization name.
Parameters:
name - An OrganizationName object.

getOrganizationNames

public java.util.List getOrganizationNames()
Returns the list of organization names.
Returns:
A List of OrganizationName objects or null if none was found.

addOrganizationDisplayName

public void addOrganizationDisplayName(OrganizationDisplayName name)
Adds an organization display name.
Parameters:
name - A OrganizationDisplayName object.

getOrganizationDisplayNames

public java.util.List getOrganizationDisplayNames()
Returns the list of organization display names.
Returns:
A List of OrganizationDisplayName objects or null if none has been set.

addOrganizationURL

public void addOrganizationURL(OrganizationURL uri)
Adds an organization URL.
Parameters:
uri - A OrganizationURL object.

getOrganizationURLs

public java.util.List getOrganizationURLs()
Returns the list of organization URLs.
Returns:
A List of OrganizationURL objects or null if none has been set.

setAttributeNS

public void setAttributeNS(java.lang.String namespaceURI,
                           java.lang.String qualifiedName,
                           java.lang.String value)
Specify an arbitrary attribute.
Overrides:
setAttributeNS in class oracle.security.xmlsec.util.XMLElement
Parameters:
namespaceURI - The namespace URI of the attribute.
qualifiedName - The qualified name of the attribute.
value - The attribute value to set.

getAttributeNS

public java.lang.String getAttributeNS(java.lang.String namespaceURI,
                                       java.lang.String localName)
Retrieves an attribute value by local name and namespace URI.
Overrides:
getAttributeNS in class oracle.security.xmlsec.util.XMLElement
Parameters:
namespaceURI - The namespace URI of the attribute.
localName - The local name of the attribute.
Returns:
The attribute value String or an empty String.

Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-05


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