Class JspUtil.ValidAttribute

  • Enclosing class:
    JspUtil

    public static class JspUtil.ValidAttribute
    extends java.lang.Object
    Represents a valid attribute for a tag.
    • Constructor Summary

      Constructors 
      Constructor Description
      ValidAttribute​(java.lang.String name)
      Constructs an optional instance with the given name.
      ValidAttribute​(java.lang.String name, boolean mandatory)
      Constructs an instance with the given name and mandatory flag.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ValidAttribute

        public ValidAttribute​(java.lang.String name,
                              boolean mandatory)
        Constructs an instance with the given name and mandatory flag.
        Parameters:
        name - The attribute name
        mandatory - Whether the attribute is mandatory
      • ValidAttribute

        public ValidAttribute​(java.lang.String name)
        Constructs an optional instance with the given name.
        Parameters:
        name - The attribute name