Class Idents
java.lang.Object
com.openhtmltopdf.css.constants.Idents
Booch utility class for working with ident values in CSS.
-
Field Summary
FieldsModifier and TypeFieldDescriptionDescription of the Fieldprivate static final PatternPattern instance, for CSS lengthsprivate static final StringRegex pattern, CSS lengths, a length must have a unit, unless it is zeroprivate static final StringRegex pattern, a CSS number--either integer or float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanDescription of the Methodstatic booleanlooksLikeALength(String val) Description of the Method
-
Field Details
-
RCSS_NUMBER
Regex pattern, a CSS number--either integer or float- See Also:
-
RCSS_LENGTH
Regex pattern, CSS lengths, a length must have a unit, unless it is zero- See Also:
-
CSS_LENGTH_PATTERN
Pattern instance, for CSS lengths -
BACKGROUND_POSITIONS_IDENTS
-
-
Constructor Details
-
Idents
public Idents()
-
-
Method Details
-
looksLikeALength
Description of the Method- Parameters:
val- PARAM- Returns:
- Returns
-
looksLikeABGPosition
Description of the Method- Parameters:
val- PARAM- Returns:
- Returns
-