Class MetadataServiceListImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.signature.AbstractSignableXMLObject
org.opensaml.saml.common.AbstractSignableSAMLObject
se.swedenconnect.opensaml.eidas.metadata.impl.MetadataServiceListImpl
- All Implemented Interfaces:
org.opensaml.core.xml.XMLObject
,org.opensaml.saml.common.SAMLObject
,org.opensaml.saml.common.SignableSAMLObject
,org.opensaml.xmlsec.signature.SignableXMLObject
,MetadataServiceList
public class MetadataServiceListImpl
extends org.opensaml.saml.common.AbstractSignableSAMLObject
implements MetadataServiceList
Implementation class for
MetadataList
.- Author:
- Martin Lindström
-
Field Summary
Fields inherited from interface se.swedenconnect.opensaml.eidas.metadata.MetadataServiceList
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTR_NAME, ISSUE_DATE_ATTR_NAME, ISSUE_DATE_ATTR_QNAME, NEXT_UPDATE_ATTR_NAME, NEXT_UPDATE_ATTR_QNAME, TYPE_LOCAL_NAME, TYPE_NAME, VERSION_ATTR_NAME
-
Constructor Summary
ModifierConstructorDescriptionprotected
MetadataServiceListImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the distribution points element.getID()
Sets the ID of this list.Returns the issue date attribute value.Returns a reference to the list of metadata lists held.Returns the next-update attribute value.List
<org.opensaml.core.xml.XMLObject> Returns the scheme information element for this list.Returns the version for this metadata service list.void
setDistributionPoints
(DistributionPoints distributionPoints) Assigns the distribution points element.void
Assigns the ID of this list.void
setIssueDate
(Instant issueDate) Assigns the issue date attribute value.void
setNextUpdate
(Instant nextUpdate) Assigns the next-update attribute value.void
setSchemeInformation
(SchemeInformation schemeInformation) Assigns the scheme information element for this list.void
setVersion
(MetadataServiceListVersion version) Assigns the version for this metadata service list.Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignature
Methods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSigned
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignature
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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 Details
-
MetadataServiceListImpl
protected MetadataServiceListImpl(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 Details
-
getSignatureReferenceID
- Specified by:
getSignatureReferenceID
in interfaceorg.opensaml.saml.common.SignableSAMLObject
-
getOrderedChildren
- Specified by:
getOrderedChildren
in interfaceorg.opensaml.core.xml.XMLObject
-
getVersion
Returns the version for this metadata service list.- Specified by:
getVersion
in interfaceMetadataServiceList
- Returns:
- the version
-
setVersion
Assigns the version for this metadata service list.- Specified by:
setVersion
in interfaceMetadataServiceList
- Parameters:
version
- the version
-
getID
Sets the ID of this list.- Specified by:
getID
in interfaceMetadataServiceList
- Returns:
- the ID
-
setID
Assigns the ID of this list.- Specified by:
setID
in interfaceMetadataServiceList
- Parameters:
id
- the ID
-
getIssueDate
Returns the issue date attribute value.- Specified by:
getIssueDate
in interfaceMetadataServiceList
- Returns:
- the issue date
-
setIssueDate
Assigns the issue date attribute value.- Specified by:
setIssueDate
in interfaceMetadataServiceList
- Parameters:
issueDate
- the issue date
-
getNextUpdate
Returns the next-update attribute value.- Specified by:
getNextUpdate
in interfaceMetadataServiceList
- Returns:
- the next update
-
setNextUpdate
Assigns the next-update attribute value.- Specified by:
setNextUpdate
in interfaceMetadataServiceList
- Parameters:
nextUpdate
- the next update
-
getSchemeInformation
Returns the scheme information element for this list.- Specified by:
getSchemeInformation
in interfaceMetadataServiceList
- Returns:
- scheme information
-
setSchemeInformation
Assigns the scheme information element for this list.- Specified by:
setSchemeInformation
in interfaceMetadataServiceList
- Parameters:
schemeInformation
- scheme information
-
getMetadataLists
Returns a reference to the list of metadata lists held.- Specified by:
getMetadataLists
in interfaceMetadataServiceList
- Returns:
- a list of metadata lists
-
getDistributionPoints
Returns the distribution points element.- Specified by:
getDistributionPoints
in interfaceMetadataServiceList
- Returns:
- the distribution points element
-
setDistributionPoints
Assigns the distribution points element.- Specified by:
setDistributionPoints
in interfaceMetadataServiceList
- Parameters:
distributionPoints
- distribution points
-