public interface NodeCountry extends SAMLObject
<eidas:NodeCountry>
element.
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
xmlns="http://eidas.europa.eu/saml-extensions"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://eidas.europa.eu/saml-extensions"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="1">
<xsd:element name="NodeCountry" type="eidas:NodeCountryType"/>
<xsd:simpleType name="NodeCountryType">
<xsd:restriction base="xsd:string">
<xsd:pattern value="[A-Z][A-Z]"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ELEMENT_LOCAL_NAME
Local name of NodeCountry.
|
static QName |
DEFAULT_ELEMENT_NAME
Default element name.
|
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 |
---|---|
String |
getNodeCountry()
Returns the node country.
|
void |
setNodeCountry(String nodeCountry)
Assigns the node country.
|
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
String getNodeCountry()
void setNodeCountry(String nodeCountry) throws IllegalArgumentException
The nodeCountry
parameter must be the nationality code of the country or international organization in ISO
3166-1 alpha-2 format.
nodeCountry
- the country codeIllegalArgumentException
- if the nodeCountry
parameter is not given in ISO 3166-1 alpha-2 formatCopyright © 2018 Litsec AB. All rights reserved.