Top Fields Constructors Methods
com.openhtmltopdf.css.parser

public Class PropertyValue

extends Object
implements CSSPrimitiveValue
Class Inheritance
All Implemented Interfaces
com.openhtmltopdf.css.parser.CSSPrimitiveValue, com.openhtmltopdf.css.parser.CSSValue
Imports
com.openhtmltopdf.css.constants.IdentValue, com.openhtmltopdf.util.ArrayUtil, org.w3c.dom.DOMException, java.util.ArrayList, .List

Field Summary

Modifier and TypeField and Description
private List<CounterData>
private final String
private final short
private float
private FSColor
private FSFunction
private IdentValue
private Token
private short
private String[]
private String
private final short
private List<PropertyValue>
public static final short
public static final short
public static final short
public static final short
public static final short
public static final short
public static final short
public static final short

Constructor Summary

AccessConstructor and Description
public
PropertyValue(short type, float floatValue, String cssText)

public
public
PropertyValue(short type, String stringValue, String cssText)

public
public
public
PropertyValue(List<CounterData> values, boolean unused)

public

Method Summary

Modifier and TypeMethod and Description
public List<CounterData>
public String
public short
public String
public float
public float
public FSColor
public FSFunction
public IdentValue
public Token
public short
public short
public String[]
public String
public List<PropertyValue>
public void
setCssText(String cssText)

public void
setFloatValue(short unitType, float floatValue)

public void
public void
setOperator(Token operator)

public void
setStringArrayValue(String[] stringArrayValue)

public void
setStringValue(short stringType, String stringValue)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

_countersback to summary
private List<CounterData> _counters
_cssTextback to summary
private final String _cssText
_cssValueTypeback to summary
private final short _cssValueType
_floatValueback to summary
private float _floatValue
_FSColorback to summary
private FSColor _FSColor
_functionback to summary
private FSFunction _function
_identValueback to summary
private IdentValue _identValue
_operatorback to summary
private Token _operator
_propertyValueTypeback to summary
private short _propertyValueType
_stringArrayValueback to summary
private String[] _stringArrayValue
_stringValueback to summary
private String _stringValue
_typeback to summary
private final short _type
_valuesback to summary
private List<PropertyValue> _values
VALUE_TYPE_COLORback to summary
public static final short VALUE_TYPE_COLOR
VALUE_TYPE_COUNTERSback to summary
public static final short VALUE_TYPE_COUNTERS
VALUE_TYPE_FUNCTIONback to summary
public static final short VALUE_TYPE_FUNCTION
VALUE_TYPE_IDENTback to summary
public static final short VALUE_TYPE_IDENT
VALUE_TYPE_LENGTHback to summary
public static final short VALUE_TYPE_LENGTH
VALUE_TYPE_LISTback to summary
public static final short VALUE_TYPE_LIST
VALUE_TYPE_NUMBERback to summary
public static final short VALUE_TYPE_NUMBER
VALUE_TYPE_STRINGback to summary
public static final short VALUE_TYPE_STRING

Constructor Detail

PropertyValueback to summary
public PropertyValue(short type, float floatValue, String cssText)
PropertyValueback to summary
public PropertyValue(FSColor color)
PropertyValueback to summary
public PropertyValue(short type, String stringValue, String cssText)
PropertyValueback to summary
public PropertyValue(IdentValue ident)
PropertyValueback to summary
public PropertyValue(List<PropertyValue> values)
PropertyValueback to summary
public PropertyValue(List<CounterData> values, boolean unused)
PropertyValueback to summary
public PropertyValue(FSFunction function)

Method Detail

getCountersback to summary
public List<CounterData> getCounters()
getCssTextback to summary
public String getCssText()

Implements com.openhtmltopdf.css.parser.CSSValue.getCssText.

Annotations
@Override
getCssValueTypeback to summary
public short getCssValueType()

Implements com.openhtmltopdf.css.parser.CSSValue.getCssValueType.

Annotations
@Override
getFingerprintback to summary
public String getFingerprint()
getFloatValueback to summary
public float getFloatValue(short unitType) throws DOMException

Implements com.openhtmltopdf.css.parser.CSSPrimitiveValue.getFloatValue.

Annotations
@Override
getFloatValueback to summary
public float getFloatValue()
getFSColorback to summary
public FSColor getFSColor()
getFunctionback to summary
public FSFunction getFunction()
getIdentValueback to summary
public IdentValue getIdentValue()
getOperatorback to summary
public Token getOperator()
getPrimitiveTypeback to summary
public short getPrimitiveType()

Implements com.openhtmltopdf.css.parser.CSSPrimitiveValue.getPrimitiveType.

Annotations
@Override
getPropertyValueTypeback to summary
public short getPropertyValueType()
getStringArrayValueback to summary
public String[] getStringArrayValue()
getStringValueback to summary
public String getStringValue() throws DOMException

Implements com.openhtmltopdf.css.parser.CSSPrimitiveValue.getStringValue.

Annotations
@Override
getValuesback to summary
public List<PropertyValue> getValues()
setCssTextback to summary
public void setCssText(String cssText) throws DOMException
setFloatValueback to summary
public void setFloatValue(short unitType, float floatValue) throws DOMException
setIdentValueback to summary
public void setIdentValue(IdentValue identValue)
setOperatorback to summary
public void setOperator(Token operator)
setStringArrayValueback to summary
public void setStringArrayValue(String[] stringArrayValue)
setStringValueback to summary
public void setStringValue(short stringType, String stringValue) throws DOMException
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override