Class ConditionsImpl

    • Constructor Detail

      • ConditionsImpl

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

      • getConditions

        public List<Condition> getConditions()
        Gets all the conditions on the assertion.
        Specified by:
        getConditions in interface Conditions
        Returns:
        all the conditions on the assertion
      • getConditions

        public List<Condition> getConditions​(QName typeOrName)
        Gets the list of conditions that match a particular QName.
        Specified by:
        getConditions in interface Conditions
        Parameters:
        typeOrName - the QName of the conditions to return
        Returns:
        the list of conditions that match the specified QName
      • getOneTimeUse

        public OneTimeUse getOneTimeUse()
        Gets the OneTimeUse condition for the assertion.
        Specified by:
        getOneTimeUse in interface Conditions
        Returns:
        the OneTimeUse condition for the assertion
      • getProxyRestriction

        public ProxyRestriction getProxyRestriction()
        Gets the ProxyRestriction condition for the assertion.
        Specified by:
        getProxyRestriction in interface Conditions
        Returns:
        the ProxyRestriction condition for the assertion
      • getNotBefore

        public Instant getNotBefore()
        Get the date/time before which the assertion is invalid.
        Specified by:
        getNotBefore in interface Conditions
        Returns:
        the date/time before which the assertion is invalid
      • setNotBefore

        public void setNotBefore​(Instant newNotBefore)
        Sets the date/time before which the assertion is invalid.
        Specified by:
        setNotBefore in interface Conditions
        Parameters:
        newNotBefore - the date/time before which the assertion is invalid
      • getNotOnOrAfter

        public Instant getNotOnOrAfter()
        Gets the date/time on, or after, which the assertion is invalid.
        Specified by:
        getNotOnOrAfter in interface Conditions
        Returns:
        the date/time on, or after, which the assertion is invalid
      • setNotOnOrAfter

        public void setNotOnOrAfter​(Instant newNotOnOrAfter)
        Sets the date/time on, or after, which the assertion is invalid.
        Specified by:
        setNotOnOrAfter in interface Conditions
        Parameters:
        newNotOnOrAfter - the date/time on, or after, which the assertion is invalid
      • 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