Class Property

java.lang.Object
org.owasp.validator.html.model.Property

public class Property extends Object
A model for CSS properties and the "rules" they must follow (either literals or regular expressions) in order to be considered valid.
Author:
Jason Li
  • Constructor Details

  • Method Details

    • getAllowedRegExp

      public List getAllowedRegExp()
      Return a List of allowed regular expressions
      Returns:
      A List of allowed regular expressions.
    • getAllowedValues

      public List getAllowedValues()
      Returns:
      A List of allowed literal values.
    • getShorthandRefs

      public List getShorthandRefs()
      Returns:
      A List of allowed shorthand references.
    • getName

      public String getName()
      Returns:
      The name of the property.