Class IndexedEndpointImpl

All Implemented Interfaces:
AttributeExtensibleXMLObject, ElementExtensibleXMLObject, XMLObject, SAMLObject, Endpoint, IndexedEndpoint
Direct Known Subclasses:
ArtifactResolutionServiceImpl, AssertionConsumerServiceImpl, DiscoveryResponseImpl

public abstract class IndexedEndpointImpl extends EndpointImpl implements IndexedEndpoint
Concrete implementation of IndexedEndpoint.
  • Field Details

    • index

      private Integer index
      Index of this endpoint.
    • isDefault

      private XSBooleanValue isDefault
      isDefault attribute.
  • Constructor Details

    • IndexedEndpointImpl

      protected IndexedEndpointImpl(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

    • getIndex

      public Integer getIndex()
      Gets the index of the endpoint.
      Specified by:
      getIndex in interface IndexedEndpoint
      Returns:
      index of the endpoint
    • setIndex

      public void setIndex(Integer theIndex)
      Sets the index of the endpoint.
      Specified by:
      setIndex in interface IndexedEndpoint
      Parameters:
      theIndex - index of the endpoint
    • isDefault

      public Boolean isDefault()
      Gets whether this is the default endpoint in a list.
      Specified by:
      isDefault in interface IndexedEndpoint
      Returns:
      whether this is the default endpoint in a list
    • isDefaultXSBoolean

      public XSBooleanValue isDefaultXSBoolean()
      Gets whether this is the default endpoint in a list.
      Specified by:
      isDefaultXSBoolean in interface IndexedEndpoint
      Returns:
      whether this is the default endpoint in a list
    • setIsDefault

      public void setIsDefault(Boolean newIsDefault)
      Sets whether this is the default endpoint in a list. Boolean values will be marshalled to either "true" or "false".
      Specified by:
      setIsDefault in interface IndexedEndpoint
      Parameters:
      newIsDefault - whether this is the default endpoint in a list
    • setIsDefault

      public void setIsDefault(XSBooleanValue theIsDefault)
      Sets whether this is the default endpoint in a list.
      Specified by:
      setIsDefault in interface IndexedEndpoint
      Parameters:
      theIsDefault - whether this is the default endpoint in a list