org.apache.fop.dom.css
Class CSSPrimitiveValueImpl

org.apache.fop.dom.css.CSSValueImpl
  |
  +--org.apache.fop.dom.css.CSSPrimitiveValueImpl
Direct Known Subclasses:
CSSStyleDeclarationImpl.LengthValue, CSSStyleDeclarationImpl.RGBColorValue, CSSStyleDeclarationImpl.StringValue, CSSStyleDeclarationImpl.URIValue

public class CSSPrimitiveValueImpl
extends CSSValueImpl
implements CSSPrimitiveValue


Field Summary
 (package private) floatfloatVal
           
 (package private) shortprimType
           
 (package private) StringstrVal
           

Fields inherited from class org.apache.fop.dom.css.CSSValueImpl
text, type

Constructor Summary
CSSPrimitiveValueImpl()
           

Method Summary
 CountergetCounterValue()
           
 floatgetFloatValue(short unitType)
           
 shortgetPrimitiveType()
           
 RectgetRectValue()
           
 RGBColorgetRGBColorValue()
           
 StringgetStringValue()
           
 voidsetFloatValue(short unitType, float floatValue)
           
 voidsetStringValue(short stringType, String stringValue)
           

Methods inherited from class org.apache.fop.dom.css.CSSValueImpl
getCssText, getValueType, setCssText

Field Detail

floatVal

float floatVal

primType

short primType

strVal

String strVal
Constructor Detail

CSSPrimitiveValueImpl

public CSSPrimitiveValueImpl()
Method Detail

getCounterValue

public Counter getCounterValue()

getFloatValue

public float getFloatValue(short unitType)

getPrimitiveType

public short getPrimitiveType()

getRectValue

public Rect getRectValue()

getRGBColorValue

public RGBColor getRGBColorValue()

getStringValue

public String getStringValue()

setFloatValue

public void setFloatValue(short unitType, float floatValue)

setStringValue

public void setStringValue(short stringType, String stringValue)

Association Links

to Class java.lang.String