Class AssertionRuleCollection

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<AssertionRule>, java.util.Collection<AssertionRule>, java.util.List<AssertionRule>, java.util.RandomAccess

    public class AssertionRuleCollection
    extends java.util.ArrayList<AssertionRule>
    Created by Colby.Clegg on 12/14/2015.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      static AssertionRuleCollection fromXml​(org.w3c.dom.Element parentDom)  
      static Expression parseRule​(ELParserHarness parser, ExpressionParseContext context, java.lang.String expr, boolean isParameter)
      Parses the assertion rule with a special condition for the parameter portion- it should allow full expressions, or shortcuts of just the name as a reference.
      void toXml​(javax.xml.stream.XMLStreamWriter writer)  
      void validate​(ChartUIElement element, ChartCompilationResults results)  
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

        containsAll, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

        containsAll
    • Constructor Detail

      • AssertionRuleCollection

        public AssertionRuleCollection()
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in interface java.util.Collection<AssertionRule>
        Specified by:
        equals in interface java.util.List<AssertionRule>
        Overrides:
        equals in class java.util.ArrayList<AssertionRule>
      • toXml

        public void toXml​(javax.xml.stream.XMLStreamWriter writer)
                   throws javax.xml.stream.XMLStreamException
        Throws:
        javax.xml.stream.XMLStreamException
      • parseRule

        public static Expression parseRule​(ELParserHarness parser,
                                           ExpressionParseContext context,
                                           java.lang.String expr,
                                           boolean isParameter)
                                    throws java.lang.Exception
        Parses the assertion rule with a special condition for the parameter portion- it should allow full expressions, or shortcuts of just the name as a reference. In other words, both "{param}" and "param" should work.
        Throws:
        java.lang.Exception