org.opensaml.samlext.saml2mdui.impl
Class UIInfoImpl

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.samlext.saml2mdui.impl.UIInfoImpl
All Implemented Interfaces:
SAMLObject, UIInfo, ValidatingXMLObject, XMLObject

public class UIInfoImpl
extends AbstractSAMLObject
implements UIInfo

Concrete implementation of UIInfo.


Field Summary
private  XMLObjectChildrenList<Description> descriptions
          localized descriptions.
private  XMLObjectChildrenList<DisplayName> displayNames
          localized displayNames.
private  XMLObjectChildrenList<Keywords> keywords
          localized displayNames.
private  XMLObjectChildrenList<Logo> logos
          (posibly) localized Logos.
private  XMLObjectChildrenList<PrivacyStatementURL> privacyStatementURLs
          localized PrivacyStatementURLs.
private  XMLObjectChildrenList<InformationURL> urls
          localized Informational URLs.
 
Fields inherited from interface org.opensaml.samlext.saml2mdui.UIInfo
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, LANG_ATTRIB_NAME, MDUI_NS, MDUI_PREFIX, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected UIInfoImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<Description> getDescriptions()
          Return the descriptions.
 List<DisplayName> getDisplayNames()
          Get the Display Names The element specifies a set of localized names fit for display to users.
 List<InformationURL> getInformationURLs()
          Get the URLs.
 List<Keywords> getKeywords()
          Get the Keywords.
 List<Logo> getLogos()
          Get the logos.
 List<XMLObject> getOrderedChildren()
          
 List<PrivacyStatementURL> getPrivacyStatementURLs()
          Get the Privacy Statement URLs.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, hashCode, 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, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

descriptions

private final XMLObjectChildrenList<Description> descriptions
localized descriptions.


displayNames

private final XMLObjectChildrenList<DisplayName> displayNames
localized displayNames.


keywords

private final XMLObjectChildrenList<Keywords> keywords
localized displayNames.


logos

private final XMLObjectChildrenList<Logo> logos
(posibly) localized Logos.


urls

private final XMLObjectChildrenList<InformationURL> urls
localized Informational URLs.


privacyStatementURLs

private final XMLObjectChildrenList<PrivacyStatementURL> privacyStatementURLs
localized PrivacyStatementURLs.

Constructor Detail

UIInfoImpl

protected UIInfoImpl(String namespaceURI,
                     String elementLocalName,
                     String namespacePrefix)
Constructor.

Parameters:
namespaceURI - namespaceURI
elementLocalName - elementLocalName
namespacePrefix - namespacePrefix
Method Detail

getDescriptions

public List<Description> getDescriptions()
Return the descriptions. The element specifies a set of brief, localized descriptions fit for display to users. In the case of service providers this SHOULD be a description of the service being offered. In the case of an identity provider this SHOULD be a description of the community serviced. In all cases this text SHOULD be standalone, meaning it is not meant to be filled in to some template text (e.g. 'This service offers $description').

Specified by:
getDescriptions in interface UIInfo
Returns:
descriptions

getDisplayNames

public List<DisplayName> getDisplayNames()
Get the Display Names The element specifies a set of localized names fit for display to users. Such names are meant to allow a user to distinguish and identify the entity acting in a particular role.

Specified by:
getDisplayNames in interface UIInfo
Returns:
the names

getKeywords

public List<Keywords> getKeywords()
Get the Keywords.

Specified by:
getKeywords in interface UIInfo

getInformationURLs

public List<InformationURL> getInformationURLs()
Get the URLs. The specifies URLs to localized information, about the entity acting in a given role, meant to be viewed by users. The contents found at these URLs SHOULD give a more complete set of information about than what is provided by the element

Specified by:
getInformationURLs in interface UIInfo
Returns:
the URLs

getLogos

public List<Logo> getLogos()
Get the logos. The element specifies a set of localized logos fit for display to users.

Specified by:
getLogos in interface UIInfo
Returns:
a list of logos

getPrivacyStatementURLs

public List<PrivacyStatementURL> getPrivacyStatementURLs()
Get the Privacy Statement URLs. The specifies URLs to localized privacy statements. Such statements are meant to provide a user with information about how information will be used and managed by the entity

Specified by:
getPrivacyStatementURLs in interface UIInfo
Returns:
the URLs

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.