- All Superinterfaces:
LexicalUnit
Updates SAC's
LexicalUnit
interface.-
Field Summary
Modifier and TypeFieldDescriptionstatic final short
cap.static final short
ch.static final short
Compat identifier: invalid value accepted for IE compatibility as an ident-like value.static final short
Value with invalid priority accepted for IE compatibility, but it is interpreted as being of!
static final short
dpcm.static final short
dpi.static final short
dppx.static final short
An element reference.static final short
Flex (fr).static final short
ic.static final short
[static final short
lh.static final short
Q.static final short
Root EM.static final short
]static final short
rlh.static final short
turn.static final short
Unicode range wildcard.static final short
vb.static final short
vh.static final short
vi.static final short
vmax.static final short
vmin.static final short
vw.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!important
priority 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.
-