Class LexicalHelper

java.lang.Object
io.sf.carte.doc.style.css.parser.LexicalHelper

public class LexicalHelper extends Object
Helper methods related to CSS lexical units.
  • Constructor Details

    • LexicalHelper

      public LexicalHelper()
  • Method Details

    • getBasicShapeIndexCount

      public static int getBasicShapeIndexCount()
      Get the number of supported <basic-shape> functions.

      This method can be useful to dimension arrays.

      Returns:
      the number of supported <basic-shape> functions.
    • getColorIndexCount

      public static int getColorIndexCount()
      Get the number of supported <color> functions.

      This method can be useful to dimension arrays.

      Returns:
      the number of supported <color> functions.
    • getCounterIndexCount

      public static int getCounterIndexCount()
      Get the number of supported <counter> functions.

      This method can be useful to dimension arrays.

      Returns:
      the number of supported <counter> functions.
    • getEasingFunctionIndexCount

      public static int getEasingFunctionIndexCount()
      Get the number of supported easing functions.

      This method can be useful to dimension arrays.

      Returns:
      the number of supported easing functions.
    • getImageFunctionIndexCount

      public static int getImageFunctionIndexCount()
      Get the number of supported <image> functions.

      This method can be useful to dimension arrays.

      Returns:
      the number of supported <image> functions.
    • getMathFunctionIndexCount

      public static int getMathFunctionIndexCount()
      Get the number of explicitly supported mathematical functions.

      This method can be useful to dimension arrays.

      Returns:
      the number of supported mathematical functions.
    • getTransformFunctionIndexCount

      public static int getTransformFunctionIndexCount()
      Get the number of supported transform functions.

      This method can be useful to dimension arrays.

      Returns:
      the number of supported transform functions.