Class CSSLexicalUnit.IntegerLexicalUnit

  • All Implemented Interfaces:
    org.w3c.css.sac.LexicalUnit
    Enclosing class:
    CSSLexicalUnit

    protected static class CSSLexicalUnit.IntegerLexicalUnit
    extends CSSLexicalUnit
    This class represents an integer unit.
    • Field Detail

      • value

        protected int value
        The integer value.
    • Constructor Detail

      • IntegerLexicalUnit

        public IntegerLexicalUnit​(int val,
                                  org.w3c.css.sac.LexicalUnit prev)
        Creates a new LexicalUnit.
    • Method Detail

      • getIntegerValue

        public int getIntegerValue()
        SAC: Implements LexicalUnit.getIntegerValue().
        Specified by:
        getIntegerValue in interface org.w3c.css.sac.LexicalUnit
        Overrides:
        getIntegerValue in class CSSLexicalUnit