org.opensaml.saml2.metadata.impl
Class OrganizationImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.saml2.metadata.impl.OrganizationImpl
All Implemented Interfaces:
SAMLObject, Organization, org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class OrganizationImpl
extends AbstractSAMLObject
implements Organization

Concrete implementation of Organization


Field Summary
 
Fields inherited from interface org.opensaml.saml2.metadata.Organization
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected OrganizationImpl(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
          Constructor
 
Method Summary
 java.util.List<OrganizationDisplayName> getDisplayNames()
          Gets a list of diaplay names for this organization.
 Extensions getExtensions()
          Gets the Extensions child of this object.
 java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 java.util.List<OrganizationName> getOrganizationNames()
          Gets the list of names for this organization.
 org.opensaml.xml.util.AttributeMap getUnknownAttributes()
          
 java.util.List<OrganizationURL> getURLs()
          Gets a list of URLs for this organization.
 void setExtensions(Extensions extensions)
          Sets the Extensions child of this object.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, prepareForAssignment
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

OrganizationImpl

protected OrganizationImpl(java.lang.String namespaceURI,
                           java.lang.String elementLocalName,
                           java.lang.String namespacePrefix)
Constructor

Parameters:
namespaceURI -
elementLocalName -
namespacePrefix -
Method Detail

getExtensions

public Extensions getExtensions()
Gets the Extensions child of this object.

Specified by:
getExtensions in interface Organization
Returns:
the Extensions child of this object

setExtensions

public void setExtensions(Extensions extensions)
                   throws java.lang.IllegalArgumentException
Sets the Extensions child of this object.

Specified by:
setExtensions in interface Organization
Parameters:
extensions - the Extensions child of this object
Throws:
java.lang.IllegalArgumentException - thrown if the given extensions Object is already a child of another SAMLObject

getOrganizationNames

public java.util.List<OrganizationName> getOrganizationNames()
Gets the list of names for this organization.

Specified by:
getOrganizationNames in interface Organization
Returns:
names for this organization

getDisplayNames

public java.util.List<OrganizationDisplayName> getDisplayNames()
Gets a list of diaplay names for this organization.

Specified by:
getDisplayNames in interface Organization
Returns:
list of names

getURLs

public java.util.List<OrganizationURL> getURLs()
Gets a list of URLs for this organization.

Specified by:
getURLs in interface Organization
Returns:
list of URLs for this organization

getUnknownAttributes

public org.opensaml.xml.util.AttributeMap getUnknownAttributes()

Specified by:
getUnknownAttributes in interface org.opensaml.xml.AttributeExtensibleXMLObject

getOrderedChildren

public java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject


Copyright © 2006-2011 Internet2. All Rights Reserved.