org.apache.batik.css.parser
Class CSSLexicalUnit.FunctionLexicalUnit

java.lang.Object
  extended byorg.apache.batik.css.parser.CSSLexicalUnit
      extended byorg.apache.batik.css.parser.CSSLexicalUnit.FunctionLexicalUnit
All Implemented Interfaces:
LexicalUnit
Enclosing class:
CSSLexicalUnit

protected static class CSSLexicalUnit.FunctionLexicalUnit
extends CSSLexicalUnit

This class represents a function unit.


Nested Class Summary
 
Nested classes inherited from class org.apache.batik.css.parser.CSSLexicalUnit
CSSLexicalUnit.DimensionLexicalUnit, CSSLexicalUnit.FloatLexicalUnit, CSSLexicalUnit.FunctionLexicalUnit, CSSLexicalUnit.IntegerLexicalUnit, CSSLexicalUnit.PredefinedFunctionLexicalUnit, CSSLexicalUnit.SimpleLexicalUnit, CSSLexicalUnit.StringLexicalUnit
 
Field Summary
protected  java.lang.String name
          The function name.
protected  LexicalUnit parameters
          The function parameters.
 
Fields inherited from class org.apache.batik.css.parser.CSSLexicalUnit
lexicalUnitType, nextLexicalUnit, previousLexicalUnit
 
Fields inherited from interface org.w3c.css.sac.LexicalUnit
SAC_ATTR, SAC_CENTIMETER, SAC_COUNTER_FUNCTION, SAC_COUNTERS_FUNCTION, SAC_DEGREE, SAC_DIMENSION, SAC_EM, SAC_EX, SAC_FUNCTION, SAC_GRADIAN, SAC_HERTZ, SAC_IDENT, SAC_INCH, SAC_INHERIT, SAC_INTEGER, SAC_KILOHERTZ, SAC_MILLIMETER, SAC_MILLISECOND, SAC_OPERATOR_COMMA, SAC_OPERATOR_EXP, SAC_OPERATOR_GE, SAC_OPERATOR_GT, SAC_OPERATOR_LE, SAC_OPERATOR_LT, SAC_OPERATOR_MINUS, SAC_OPERATOR_MOD, SAC_OPERATOR_MULTIPLY, SAC_OPERATOR_PLUS, SAC_OPERATOR_SLASH, SAC_OPERATOR_TILDE, SAC_PERCENTAGE, SAC_PICA, SAC_PIXEL, SAC_POINT, SAC_RADIAN, SAC_REAL, SAC_RECT_FUNCTION, SAC_RGBCOLOR, SAC_SECOND, SAC_STRING_VALUE, SAC_SUB_EXPRESSION, SAC_UNICODERANGE, SAC_URI
 
Constructor Summary
CSSLexicalUnit.FunctionLexicalUnit(java.lang.String f, LexicalUnit params, LexicalUnit prev)
          Creates a new LexicalUnit.
 
Method Summary
 java.lang.String getFunctionName()
          SAC: Implements LexicalUnit.getFunctionName().
 LexicalUnit getParameters()
          SAC: Implements LexicalUnit.getParameters().
 
Methods inherited from class org.apache.batik.css.parser.CSSLexicalUnit
createDimension, createFloat, createFunction, createInteger, createPredefinedFunction, createSimple, createString, getDimensionUnitText, getFloatValue, getIntegerValue, getLexicalUnitType, getNextLexicalUnit, getPreviousLexicalUnit, getStringValue, getSubValues, setNextLexicalUnit, setPreviousLexicalUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
The function name.


parameters

protected LexicalUnit parameters
The function parameters.

Constructor Detail

CSSLexicalUnit.FunctionLexicalUnit

public CSSLexicalUnit.FunctionLexicalUnit(java.lang.String f,
                                          LexicalUnit params,
                                          LexicalUnit prev)
Creates a new LexicalUnit.

Method Detail

getFunctionName

public java.lang.String getFunctionName()
SAC: Implements LexicalUnit.getFunctionName().

Specified by:
getFunctionName in interface LexicalUnit
Overrides:
getFunctionName in class CSSLexicalUnit

getParameters

public LexicalUnit getParameters()
SAC: Implements LexicalUnit.getParameters().

Specified by:
getParameters in interface LexicalUnit
Overrides:
getParameters in class CSSLexicalUnit


Copyright ? 2002 Apache Software Foundation. All Rights Reserved.