Interface NodeCountry

All Superinterfaces:
org.opensaml.saml.common.SAMLObject, org.opensaml.core.xml.XMLObject
All Known Implementing Classes:
NodeCountryImpl

public interface NodeCountry extends org.opensaml.saml.common.SAMLObject
* The eIDAS <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>
 
Author:
Martin Lindström
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Local name of NodeCountry.
    static final QName
    Default element name.
    static final String
    Local name of the XSI type.
    static final QName
    QName of the XSI type.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the node country.
    void
    setNodeCountry(String nodeCountry)
    Assigns the node country.

    Methods inherited from interface org.opensaml.core.xml.XMLObject

    detach, ensureDOM, 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
  • Field Details

    • DEFAULT_ELEMENT_LOCAL_NAME

      static final String DEFAULT_ELEMENT_LOCAL_NAME
      Local name of NodeCountry.
      See Also:
    • DEFAULT_ELEMENT_NAME

      static final QName DEFAULT_ELEMENT_NAME
      Default element name.
    • TYPE_LOCAL_NAME

      static final String TYPE_LOCAL_NAME
      Local name of the XSI type.
      See Also:
    • TYPE_NAME

      static final QName TYPE_NAME
      QName of the XSI type.
  • Method Details

    • getNodeCountry

      String getNodeCountry()
      Returns the node country.
      Returns:
      the nationality code of the country or international organization in ISO 3166-1 alpha-2 format
    • setNodeCountry

      void setNodeCountry(String nodeCountry) throws IllegalArgumentException
      Assigns the node country.

      The nodeCountry parameter must be the nationality code of the country or international organization in ISO 3166-1 alpha-2 format.

      Parameters:
      nodeCountry - the country code
      Throws:
      IllegalArgumentException - if the nodeCountry parameter is not given in ISO 3166-1 alpha-2 format