Class AdviceImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.ElementExtensibleXMLObject, org.opensaml.core.xml.XMLObject, org.opensaml.saml.common.SAMLObject, org.opensaml.saml.saml1.core.Advice

    public class AdviceImpl
    extends org.opensaml.core.xml.AbstractXMLObject
    implements org.opensaml.saml.saml1.core.Advice
    Concrete implementation of Advice.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.core.xml.XMLObject> assertionChildren
      Contains all the SAML objects we have added.
      private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.core.xml.XMLObject> unknownChildren
      "any" children.
      • Fields inherited from interface org.opensaml.saml.saml1.core.Advice

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AdviceImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.opensaml.saml.saml1.core.AssertionIDReference> getAssertionIDReferences()
      List<org.opensaml.saml.saml1.core.Assertion> getAssertions()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      List<org.opensaml.core.xml.XMLObject> getUnknownXMLObjects()
      List<org.opensaml.core.xml.XMLObject> getUnknownXMLObjects​(QName typeOrName)
      • Methods inherited from class org.opensaml.core.xml.AbstractXMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
      • Methods inherited from interface org.opensaml.core.xml.XMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
    • Field Detail

      • assertionChildren

        private final org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.core.xml.XMLObject> assertionChildren
        Contains all the SAML objects we have added.
      • unknownChildren

        private final org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.core.xml.XMLObject> unknownChildren
        "any" children.
    • Constructor Detail

      • 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 Detail

      • getAssertionIDReferences

        public List<org.opensaml.saml.saml1.core.AssertionIDReference> getAssertionIDReferences()
        Specified by:
        getAssertionIDReferences in interface org.opensaml.saml.saml1.core.Advice
      • getAssertions

        public List<org.opensaml.saml.saml1.core.Assertion> getAssertions()
        Specified by:
        getAssertions in interface org.opensaml.saml.saml1.core.Advice
      • getUnknownXMLObjects

        public List<org.opensaml.core.xml.XMLObject> getUnknownXMLObjects()
        Specified by:
        getUnknownXMLObjects in interface org.opensaml.core.xml.ElementExtensibleXMLObject
      • getUnknownXMLObjects

        public List<org.opensaml.core.xml.XMLObject> getUnknownXMLObjects​(QName typeOrName)
        Specified by:
        getUnknownXMLObjects in interface org.opensaml.core.xml.ElementExtensibleXMLObject
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject