Class AudienceRestrictionImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.core.impl.AudienceRestrictionImpl
All Implemented Interfaces:
XMLObject, SAMLObject, AudienceRestriction, Condition

public class AudienceRestrictionImpl extends AbstractXMLObject implements AudienceRestriction
Concrete implementation of AudienceRestriction.
  • Field Details

  • Constructor Details

    • AudienceRestrictionImpl

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

    • getAudiences

      public List<Audience> getAudiences()
      Gets the list of audiences for the assertion.
      Specified by:
      getAudiences in interface AudienceRestriction
      Returns:
      the list of audiences for the assertion
    • 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