org.opensaml.samlext.saml2mdui.impl
Class KeywordsImpl

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.KeywordsImpl
All Implemented Interfaces:
SAMLObject, Keywords, LangBearing, ValidatingXMLObject, XMLObject

public class KeywordsImpl
extends AbstractSAMLObject
implements Keywords

Concrete Implementation of Keywords.


Field Summary
private  List<String> data
          The data.
private  String lang
          The language.
 
Fields inherited from interface org.opensaml.samlext.saml2mdui.Keywords
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Fields inherited from interface org.opensaml.xml.LangBearing
XML_LANG_ATTR_LOCAL_NAME, XML_LANG_ATTR_NAME
 
Constructor Summary
protected KeywordsImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<String> getKeywords()
          Gets the keywords.
 List<XMLObject> getOrderedChildren()
          
 String getXMLLang()
          
 int hashCode()
          
 void setKeywords(List<String> val)
          Sets the keywords.
 void setXMLLang(String newLang)
          
 
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, 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

lang

private String lang
The language.


data

private List<String> data
The data.

Constructor Detail

KeywordsImpl

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

Parameters:
namespaceURI - the URI
elementLocalName - the local name
namespacePrefix - the prefix
Method Detail

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject

getXMLLang

public String getXMLLang()

Specified by:
getXMLLang in interface LangBearing

setXMLLang

public void setXMLLang(String newLang)

Specified by:
setXMLLang in interface LangBearing

getKeywords

public List<String> getKeywords()
Gets the keywords.

Specified by:
getKeywords in interface Keywords
Returns:
the keywords

setKeywords

public void setKeywords(List<String> val)
Sets the keywords.

Specified by:
setKeywords in interface Keywords
Parameters:
val - The keywords

hashCode

public int hashCode()

Overrides:
hashCode in class AbstractSAMLObject


Copyright © 1999-2013. All Rights Reserved.