Class AdviceImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.core.impl.AdviceImpl
All Implemented Interfaces:
XMLObject, SAMLObject, Advice

public class AdviceImpl
extends AbstractXMLObject
implements Advice
A concrete implementation of Advice.
  • Field Details

  • Constructor Details

    • AdviceImpl

      protected AdviceImpl​(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

    • getChildren

      public List<XMLObject> getChildren()
      Gets the list of all child elements attached to this advice.
      Specified by:
      getChildren in interface Advice
      Returns:
      the list of all child elements attached to this advice
    • getChildren

      public List<XMLObject> getChildren​(QName typeOrName)
      Gets the list of child elements attached to this advice that match a particular QName.
      Specified by:
      getChildren in interface Advice
      Parameters:
      typeOrName - the QName of the child elements to return
      Returns:
      the list of matching child elements attached to this advice
    • getAssertionIDReferences

      public List<AssertionIDRef> getAssertionIDReferences()
      Gets the list of AssertionID references used as advice.
      Specified by:
      getAssertionIDReferences in interface Advice
      Returns:
      the list of AssertionID references used as advice
    • getAssertionURIReferences

      public List<AssertionURIRef> getAssertionURIReferences()
      Gets the list of AssertionURI references used as advice.
      Specified by:
      getAssertionURIReferences in interface Advice
      Returns:
      the list of AssertionURI references used as advice
    • getAssertions

      public List<Assertion> getAssertions()
      Gets the list of Assertions used as advice.
      Specified by:
      getAssertions in interface Advice
      Returns:
      the list of Assertions used as advice
    • getEncryptedAssertions

      public List<EncryptedAssertion> getEncryptedAssertions()
      Gets the list of EncryptedAssertions used as advice.
      Specified by:
      getEncryptedAssertions in interface Advice
      Returns:
      the list of EncryptedAssertions used as advice
    • 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