Class SchemeInformationImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
se.swedenconnect.opensaml.eidas.metadata.impl.SchemeInformationImpl
All Implemented Interfaces:
XMLObject, SAMLObject, SchemeInformation

public class SchemeInformationImpl extends AbstractXMLObject implements SchemeInformation
Implementation class for SchemeInformation.
Author:
Martin Lindström
  • Constructor Details

    • SchemeInformationImpl

      public SchemeInformationImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Specified by:
      getOrderedChildren in interface XMLObject
    • getIssuerName

      public String getIssuerName()
      Returns the name of the organization that issued a metadata service list.
      Specified by:
      getIssuerName in interface SchemeInformation
      Returns:
      issuer name
    • setIssuerName

      public void setIssuerName(String issuerName)
      Assigns the name of the organization that issued a metadata service list.
      Specified by:
      setIssuerName in interface SchemeInformation
      Parameters:
      issuerName - issuer name
    • setIssuerName

      public void setIssuerName(XSString issuerName)
      Assigns the issuer name as a XSString.
      Parameters:
      issuerName - the issuer name
    • getSchemeIdentifier

      public String getSchemeIdentifier()
      Returns the unique scheme identifier for the metadata service list.
      Specified by:
      getSchemeIdentifier in interface SchemeInformation
      Returns:
      scheme identifier
    • setSchemeIdentifier

      public void setSchemeIdentifier(String schemeIdentifier)
      Assigns the scheme identifier for the metadata service list.
      Specified by:
      setSchemeIdentifier in interface SchemeInformation
      Parameters:
      schemeIdentifier - scheme identifier
    • setSchemeIdentifier

      public void setSchemeIdentifier(XSURI schemeIdentifier)
      Assigns the scheme identifier as a XSURI type.
      Parameters:
      schemeIdentifier - the scheme identifier
    • getSchemeTerritory

      public String getSchemeTerritory()
      Returns the two-letter country code for the "territory" of this scheme.
      Specified by:
      getSchemeTerritory in interface SchemeInformation
      Returns:
      country code
    • setSchemeTerritory

      public void setSchemeTerritory(String schemeTerritory)
      Assigns the two-letter country code for the "territory" of this scheme.
      Specified by:
      setSchemeTerritory in interface SchemeInformation
      Parameters:
      schemeTerritory - country code
    • setSchemeTerritory

      public void setSchemeTerritory(XSString schemeTerritory)
      Assigns the scheme territory as a XSString type.
      Parameters:
      schemeTerritory - the scheme territory