public class MetadataListImpl extends AbstractSAMLObject implements MetadataList
MetadataList
.DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TERRITORY_ATTR_NAME, TYPE_LOCAL_NAME, TYPE_NAME
Modifier | Constructor and Description |
---|---|
protected |
MetadataListImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<MetadataLocation> |
getMetadataLocations()
Returns a reference to the list of metadata location elements.
|
List<XMLObject> |
getOrderedChildren() |
boolean |
getSuspend()
For the Swedish eIDAS configuration, a flag,
Suspend is used to indicate whether a metadata list for a
specific territory is suspended. |
String |
getTerritory()
Returns the territory country identifier for this metadata list.
|
AttributeMap |
getUnknownAttributes() |
void |
setSuspend(boolean suspendFlag)
Assigns the
Suspend flag. |
void |
setTerritory(String territory)
Assigns the territory country identifier for this metadata list.
|
equals, hashCode, prepareForAssignment
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
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
protected MetadataListImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespacepublic List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
public AttributeMap getUnknownAttributes()
getUnknownAttributes
in interface AttributeExtensibleXMLObject
public List<MetadataLocation> getMetadataLocations()
getMetadataLocations
in interface MetadataList
public String getTerritory()
getTerritory
in interface MetadataList
public void setTerritory(String territory)
setTerritory
in interface MetadataList
territory
- country codepublic boolean getSuspend()
Suspend
is used to indicate whether a metadata list for a
specific territory is suspended. This method is just a short cut instead of using AttributeExtensibleXMLObject.getUnknownAttributes()
.getSuspend
in interface MetadataList
Suspend
flag has been set to true
this method returns true
, otherwise
false
public void setSuspend(boolean suspendFlag)
Suspend
flag. See MetadataList.getSuspend()
.setSuspend
in interface MetadataList
suspendFlag
- the suspend flagCopyright © 2018 Litsec AB. All rights reserved.