Class EndpointImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
se.swedenconnect.opensaml.eidas.metadata.impl.EndpointImpl
All Implemented Interfaces:
org.opensaml.core.xml.AttributeExtensibleXMLObject, org.opensaml.core.xml.XMLObject, org.opensaml.saml.common.SAMLObject, Endpoint

public class EndpointImpl extends org.opensaml.core.xml.AbstractXMLObject implements Endpoint
Implementation class for Endpoint.
Author:
Martin Lindström
  • Field Summary

  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    EndpointImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the endpoint type URI.
    Returns the entityID for the endpoint.
    boolean
    For the Swedish eIDAS configuration, the HideFromDiscovery attribute is used to indicate whether the proxy service within an endpoint should be hidden from the connector "select country view".
    List<org.opensaml.core.xml.XMLObject>
    boolean
    For the Swedish eIDAS configuration, the Suspend attribute is used to indicate whether an endpoint has been suspended.
    org.opensaml.core.xml.util.AttributeMap
    void
    setEndpointType(String endpointType)
    Assigns the endpoint type URI.
    void
    setEntityID(String entityID)
    Assigns the entityID for the endpoint.
    void
    setHideFromDiscovery(boolean hideFlag)
    Assigns the HideFromDiscovery attribute.
    void
    setSuspend(boolean suspendFlag)
    Assigns the Suspend attribute.

    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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    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

    • EndpointImpl

      protected EndpointImpl(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<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      Specified by:
      getOrderedChildren in interface org.opensaml.core.xml.XMLObject
    • getEndpointType

      public String getEndpointType()
      Returns the endpoint type URI.
      Specified by:
      getEndpointType in interface Endpoint
      Returns:
      the endpoint type
    • setEndpointType

      public void setEndpointType(String endpointType)
      Assigns the endpoint type URI.
      Specified by:
      setEndpointType in interface Endpoint
      Parameters:
      endpointType - the endpoint type
    • getEntityID

      public String getEntityID()
      Returns the entityID for the endpoint.
      Specified by:
      getEntityID in interface Endpoint
      Returns:
      the entityID
    • setEntityID

      public void setEntityID(String entityID)
      Assigns the entityID for the endpoint.
      Specified by:
      setEntityID in interface Endpoint
      Parameters:
      entityID - the entityID
    • getSuspend

      public boolean getSuspend()
      For the Swedish eIDAS configuration, the Suspend attribute is used to indicate whether an endpoint has been suspended. This method is just a shortcut instead of using AttributeExtensibleXMLObject.getUnknownAttributes().
      Specified by:
      getSuspend in interface Endpoint
      Returns:
      if the Suspend attribute has been set to true this method returns true, otherwise false 
    • setSuspend

      public void setSuspend(boolean suspendFlag)
      Assigns the Suspend attribute. See Endpoint.getSuspend().
      Specified by:
      setSuspend in interface Endpoint
      Parameters:
      suspendFlag - the suspend flag
    • getHideFromDiscovery

      public boolean getHideFromDiscovery()
      For the Swedish eIDAS configuration, the HideFromDiscovery attribute is used to indicate whether the proxy service within an endpoint should be hidden from the connector "select country view". This method is just a shortcut instead of using AttributeExtensibleXMLObject.getUnknownAttributes().
      Specified by:
      getHideFromDiscovery in interface Endpoint
      Returns:
      if the HideFromDiscovery attribute has been set to true this method returns true, otherwise false
    • setHideFromDiscovery

      public void setHideFromDiscovery(boolean hideFlag)
      Assigns the HideFromDiscovery attribute. See Endpoint.getHideFromDiscovery().
      Specified by:
      setHideFromDiscovery in interface Endpoint
      Parameters:
      hideFlag - the "HideFromDiscovery" flag
    • getUnknownAttributes

      @Nonnull public org.opensaml.core.xml.util.AttributeMap getUnknownAttributes()
      Specified by:
      getUnknownAttributes in interface org.opensaml.core.xml.AttributeExtensibleXMLObject