Class SchemeInformationImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- se.litsec.eidas.opensaml.metadata.impl.SchemeInformationImpl
-
- All Implemented Interfaces:
XMLObject
,SAMLObject
,SchemeInformation
public class SchemeInformationImpl extends AbstractXMLObject implements SchemeInformation
Implementation class forSchemeInformation
.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
-
-
Field Summary
-
Fields inherited from interface se.litsec.eidas.opensaml.metadata.SchemeInformation
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ISSUER_NAME_LOCAL_NAME, SCHEME_IDENTIFIER_LOCAL_NAME, SCHEME_TERRITORY_LOCAL_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
-
Constructor Summary
Constructors Constructor Description SchemeInformationImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIssuerName()
Returns the name of the organization that issued a metadata service list.List<XMLObject>
getOrderedChildren()
String
getSchemeIdentifier()
Returns the unique scheme identifier for the metadata service list.String
getSchemeTerritory()
Returns the two-letter country code for the "territory" of this scheme.void
setIssuerName(String issuerName)
Assigns the name of the organization that issued a metadata service list.void
setIssuerName(XSString issuerName)
Assigns the issuer name as aXSString
.void
setSchemeIdentifier(String schemeIdentifier)
Assigns the scheme identifier for the metadata service list.void
setSchemeIdentifier(XSURI schemeIdentifier)
Assigns the scheme identifier as aXSURI
type.void
setSchemeTerritory(String schemeTerritory)
Assigns the two-letter country code for the "territory" of this scheme.void
setSchemeTerritory(XSString schemeTerritory)
Assigns the scheme territory as aXSString
type.-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
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
-
-
-
-
Constructor Detail
-
SchemeInformationImpl
public SchemeInformationImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.- Parameters:
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespace
-
-
Method Detail
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildren
in interfaceXMLObject
-
getIssuerName
public String getIssuerName()
Returns the name of the organization that issued a metadata service list.- Specified by:
getIssuerName
in interfaceSchemeInformation
- 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 interfaceSchemeInformation
- Parameters:
issuerName
- issuer name
-
setIssuerName
public void setIssuerName(XSString issuerName)
Assigns the issuer name as aXSString
.- Parameters:
issuerName
- the issuer name
-
getSchemeIdentifier
public String getSchemeIdentifier()
Returns the unique scheme identifier for the metadata service list.- Specified by:
getSchemeIdentifier
in interfaceSchemeInformation
- Returns:
- scheme identifier
-
setSchemeIdentifier
public void setSchemeIdentifier(String schemeIdentifier)
Assigns the scheme identifier for the metadata service list.- Specified by:
setSchemeIdentifier
in interfaceSchemeInformation
- Parameters:
schemeIdentifier
- scheme identifier
-
setSchemeIdentifier
public void setSchemeIdentifier(XSURI schemeIdentifier)
Assigns the scheme identifier as aXSURI
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 interfaceSchemeInformation
- 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 interfaceSchemeInformation
- Parameters:
schemeTerritory
- country code
-
setSchemeTerritory
public void setSchemeTerritory(XSString schemeTerritory)
Assigns the scheme territory as aXSString
type.- Parameters:
schemeTerritory
- the scheme territory
-
-