- All Superinterfaces:
LexicalUnit
Updates SAC's
LexicalUnit interface.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortcap.static final shortch.static final shortCompat identifier: invalid value accepted for IE compatibility as an ident-like value.static final shortValue with invalid priority accepted for IE compatibility, but it is interpreted as being of!static final shortdpcm.static final shortdpi.static final shortdppx.static final shortAn element reference.static final shortFlex (fr).static final shortic.static final short[static final shortlh.static final shortQ.static final shortRoot EM.static final short]static final shortrlh.static final shortturn.static final shortUnicode range wildcard.static final shortvb.static final shortvh.static final shortvi.static final shortvmax.static final shortvmin.static final shortvw.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 -
Method Summary
Modifier and TypeMethodDescriptionGet a parsable representation of this unit.Methods inherited from interface org.w3c.css.sac.LexicalUnit
getDimensionUnitText, getFloatValue, getFunctionName, getIntegerValue, getLexicalUnitType, getNextLexicalUnit, getParameters, getPreviousLexicalUnit, getStringValue, getSubValues
-
Field Details
-
SAC_CAP
static final short SAC_CAPcap. -
SAC_CH
static final short SAC_CHch. -
SAC_IC
static final short SAC_ICic. -
SAC_REM
static final short SAC_REMRoot EM. -
SAC_LH
static final short SAC_LHlh. -
SAC_RLH
static final short SAC_RLHrlh. -
SAC_VW
static final short SAC_VWvw. -
SAC_VH
static final short SAC_VHvh. -
SAC_VI
static final short SAC_VIvi. -
SAC_VB
static final short SAC_VBvb. -
SAC_VMIN
static final short SAC_VMINvmin. -
SAC_VMAX
static final short SAC_VMAXvmax. -
SAC_QUARTER_MILLIMETER
static final short SAC_QUARTER_MILLIMETERQ. -
SAC_TURN
static final short SAC_TURNturn. -
SAC_DOTS_PER_INCH
static final short SAC_DOTS_PER_INCHdpi. -
SAC_DOTS_PER_CENTIMETER
static final short SAC_DOTS_PER_CENTIMETERdpcm. -
SAC_DOTS_PER_PIXEL
static final short SAC_DOTS_PER_PIXELdppx. -
SAC_FR
static final short SAC_FRFlex (fr).Flexible length: a fraction of the leftover space in the grid container. Note that it is not a length.
-
SAC_LEFT_BRACKET
static final short SAC_LEFT_BRACKET[- See Also:
-
SAC_RIGHT_BRACKET
static final short SAC_RIGHT_BRACKET]- See Also:
-
SAC_UNICODE_WILDCARD
static final short SAC_UNICODE_WILDCARDUnicode range wildcard.For example:
U+4??.The
LexicalUnit.getStringValue()method returns the wildcard without the preceding "U+".- See Also:
-
SAC_COMPAT_IDENT
static final short SAC_COMPAT_IDENTCompat identifier: invalid value accepted for IE compatibility as an ident-like value. -
SAC_COMPAT_PRIO
static final short SAC_COMPAT_PRIOValue with invalid priority accepted for IE compatibility, but it is interpreted as being of!importantpriority by the compatible browsers, which makes it different fromSAC_COMPAT_IDENT. -
SAC_ELEMENT_REFERENCE
static final short SAC_ELEMENT_REFERENCEAn element reference.For example:
element(#someId).
-
-
Method Details
-
getCssText
String getCssText()Get a parsable representation of this unit.The serialization must only include this lexical unit, ignoring the next units if they exist.
- Returns:
- the parsable representation of this unit.
-