Class KeywordsImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.saml.ext.saml2mdui.impl.KeywordsImpl
-
- All Implemented Interfaces:
LangBearing,XMLObject,SAMLObject,Keywords
public class KeywordsImpl extends AbstractXMLObject implements Keywords
Concrete Implementation ofKeywords.
-
-
Field Summary
Fields Modifier and Type Field Description private List<String>dataThe data.private StringlangThe language.-
Fields inherited from interface org.opensaml.saml.ext.saml2mdui.Keywords
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
Fields inherited from interface org.opensaml.core.xml.LangBearing
XML_LANG_ATTR_LOCAL_NAME, XML_LANG_ATTR_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedKeywordsImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)List<String>getKeywords()Gets the keywords.List<XMLObject>getOrderedChildren()Gets an unmodifiable list of child elements in the order that they will appear in the DOM.StringgetXMLLang()Returns the@xml:langattribute value.inthashCode()voidsetKeywords(List<String> val)Sets the keywords.voidsetXMLLang(String newLang)Sets the@xml:langattribute value.-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, 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.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Method Detail
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-
getXMLLang
public String getXMLLang()
Returns the@xml:langattribute value.- Specified by:
getXMLLangin interfaceLangBearing- Returns:
- The
@xml:langattribute value ornull.
-
setXMLLang
public void setXMLLang(String newLang)
Sets the@xml:langattribute value.- Specified by:
setXMLLangin interfaceLangBearing- Parameters:
newLang- The@xml:langattribute value
-
getKeywords
public List<String> getKeywords()
Gets the keywords.- Specified by:
getKeywordsin interfaceKeywords- Returns:
- the keywords
-
setKeywords
public void setKeywords(List<String> val)
Sets the keywords.- Specified by:
setKeywordsin interfaceKeywords- Parameters:
val- The keywords
-
-