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

java.lang.Object
  extended by org.apache.batik.css.parser.CSSLexicalUnit
      extended by org.apache.batik.css.parser.CSSLexicalUnit.FunctionLexicalUnit
Enclosing class:
CSSLexicalUnit

protected static class CSSLexicalUnit.FunctionLexicalUnit
extends CSSLexicalUnit

This class represents a function unit.


Nested Class Summary
 
Nested classes/interfaces 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  String name
          The function name.
protected  LexicalUnit parameters
          The function parameters.
 
Fields inherited from class org.apache.batik.css.parser.CSSLexicalUnit
lexicalUnitType, nextLexicalUnit, previousLexicalUnit, TEXT_COUNTER_FUNCTION, TEXT_COUNTERS_FUNCTION, TEXT_RECT_FUNCTION, TEXT_RGBCOLOR, UNIT_TEXT_CENTIMETER, UNIT_TEXT_DEGREE, UNIT_TEXT_EM, UNIT_TEXT_EX, UNIT_TEXT_GRADIAN, UNIT_TEXT_HERTZ, UNIT_TEXT_INCH, UNIT_TEXT_KILOHERTZ, UNIT_TEXT_MILLIMETER, UNIT_TEXT_MILLISECOND, UNIT_TEXT_PERCENTAGE, UNIT_TEXT_PICA, UNIT_TEXT_PIXEL, UNIT_TEXT_POINT, UNIT_TEXT_RADIAN, UNIT_TEXT_REAL, UNIT_TEXT_SECOND
 
Constructor Summary
CSSLexicalUnit.FunctionLexicalUnit(String f, LexicalUnit params, LexicalUnit prev)
          Creates a new LexicalUnit.
 
Method Summary
 String getFunctionName()
          SAC: Implements CSSLexicalUnit.getFunctionName().
 LexicalUnit getParameters()
          SAC: Implements CSSLexicalUnit.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 String name
The function name.


parameters

protected LexicalUnit parameters
The function parameters.

Constructor Detail

CSSLexicalUnit.FunctionLexicalUnit

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

Method Detail

getFunctionName

public String getFunctionName()
SAC: Implements CSSLexicalUnit.getFunctionName().

Overrides:
getFunctionName in class CSSLexicalUnit

getParameters

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

Overrides:
getParameters in class CSSLexicalUnit


Copyright ? 2008 Apache Software Foundation. All Rights Reserved.