Class SubjectLocalityImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml1.core.impl.SubjectLocalityImpl
All Implemented Interfaces:
XMLObject, SAMLObject, SubjectLocality

public class SubjectLocalityImpl extends AbstractXMLObject implements SubjectLocality
A concrete implementation of the SubjectLocality interface.
  • Field Details

    • ipAddress

      private String ipAddress
      The ipAddress.
    • dnsAddress

      private String dnsAddress
      The DNS Address.
  • Constructor Details

    • SubjectLocalityImpl

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

    • getIPAddress

      public String getIPAddress()
      Gets the IP address of the locality.
      Specified by:
      getIPAddress in interface SubjectLocality
      Returns:
      IP address of the locality
    • setIPAddress

      public void setIPAddress(String address)
      Sets the IP address of the locality.
      Specified by:
      setIPAddress in interface SubjectLocality
      Parameters:
      address - IP address of the locality
    • getDNSAddress

      public String getDNSAddress()
      Gets the DNS name of the locality.
      Specified by:
      getDNSAddress in interface SubjectLocality
      Returns:
      DNS name of the locality
    • setDNSAddress

      public void setDNSAddress(String address)
      Sets the DNS name of the locality.
      Specified by:
      setDNSAddress in interface SubjectLocality
      Parameters:
      address - DNS name of the locality
    • 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