Class DiscoHintsImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.ext.saml2mdui.impl.DiscoHintsImpl
All Implemented Interfaces:
XMLObject, SAMLObject, DiscoHints

public class DiscoHintsImpl extends AbstractXMLObject implements DiscoHints
Concrete implementation of DiscoHints.
  • Field Details

  • Constructor Details

    • DiscoHintsImpl

      protected DiscoHintsImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - namespaceURI
      elementLocalName - elementLocalName
      namespacePrefix - namespacePrefix
  • Method Details

    • getXMLObjects

      public List<XMLObject> getXMLObjects()
      Get the list of all children of this element.
      Specified by:
      getXMLObjects in interface DiscoHints
      Returns:
      the list of all XMLObject children
    • getXMLObjects

      public List<XMLObject> getXMLObjects(QName typeOrName)
      Get the list of all children of this element which have the specified name or type.
      Specified by:
      getXMLObjects in interface DiscoHints
      Parameters:
      typeOrName - the element name or type of the desired list of elements
      Returns:
      the list of all XMLObject children
    • getDomainHints

      public List<DomainHint> getDomainHints()
      The <DomainHint> element specifies a set of DNS domains associated with, or serviced by, the entity.
      Specified by:
      getDomainHints in interface DiscoHints
      Returns:
      hints.
    • getGeolocationHints

      public List<GeolocationHint> getGeolocationHints()
      The <GeolocationHint> element specifies the geographic coordinates associated with, or serviced by, the entity. Coordinates are given in decimal form using the World Geodetic System (2d) coordinate system.
      Specified by:
      getGeolocationHints in interface DiscoHints
      Returns:
      hints
    • getIPHints

      public List<IPHint> getIPHints()
      The <IPHint> element specifies a set of [CIDR] blocks associated with, or serviced by, the entity. Both IPv4 and IPv6 CIDR blocks MUST be supported.
      Specified by:
      getIPHints in interface DiscoHints
      Returns:
      hints
    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Returns:
      ordered list of child elements