public interface MetadataList extends SAMLObject, AttributeExtensibleXMLObject
MetadataSchemeEndpointListType
type.
The following schema fragment defines the MetadataSchemeEndpointListType complex type:
<xs:complexType name="MetadataSchemeEndpointListType">
<xs:annotation>
<xs:documentation>
Defines the metadata location(s) for a specific member state (territory).
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element type="ser:MetadataLocationType" name="MetadataLocation" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="Territory" type="xs:string" use="required" />
<xs:anyAttribute namespace="##any" processContents="lax" />
</xs:complexType>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ELEMENT_LOCAL_NAME
Name of the element.
|
static QName |
DEFAULT_ELEMENT_NAME
Default element name.
|
static String |
TERRITORY_ATTR_NAME
Attribute label for the Territory attribute.
|
static String |
TYPE_LOCAL_NAME
Local name of the XSI type.
|
static QName |
TYPE_NAME
QName of the XSI type.
|
Modifier and Type | Method and Description |
---|---|
List<MetadataLocation> |
getMetadataLocations()
Returns a reference to the list of metadata location elements.
|
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.
|
void |
setSuspend(boolean suspendFlag)
Assigns the
Suspend flag. |
void |
setTerritory(String territory)
Assigns the territory country identifier for this metadata list.
|
getUnknownAttributes
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
static final String DEFAULT_ELEMENT_LOCAL_NAME
static final QName DEFAULT_ELEMENT_NAME
static final String TYPE_LOCAL_NAME
static final QName TYPE_NAME
static final String TERRITORY_ATTR_NAME
List<MetadataLocation> getMetadataLocations()
String getTerritory()
void setTerritory(String territory)
territory
- country codeboolean 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()
.Suspend
flag has been set to true
this method returns true
, otherwise
false
void setSuspend(boolean suspendFlag)
Suspend
flag. See getSuspend()
.suspendFlag
- the suspend flagCopyright © 2018 Litsec AB. All rights reserved.