Top Description Fields Constructors Methods
com.openhtmltopdf.css.constants

public final Class Idents

extends Object
Class Inheritance
Imports
java.util.*, java.util.regex.Pattern

Booch utility class for working with ident values in CSS.
Author
Patrick Wright

Field Summary

Modifier and TypeField and Description
private static final Set<String>
BACKGROUND_POSITIONS_IDENTS

Description of the Field

private static final Pattern
CSS_LENGTH_PATTERN

Pattern instance, for CSS lengths

private static final String
RCSS_LENGTH

Regex pattern, CSS lengths, a length must have a unit, unless it is zero

private static final String
RCSS_NUMBER

Regex pattern, a CSS number--either integer or float

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean

Returns:

Returns
looksLikeABGPosition
(String
PARAM
val
)

Description of the Method

public static boolean

Returns:

Returns
looksLikeALength
(String
PARAM
val
)

Description of the Method

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BACKGROUND_POSITIONS_IDENTSback to summary
private static final Set<String> BACKGROUND_POSITIONS_IDENTS

Description of the Field

CSS_LENGTH_PATTERNback to summary
private static final Pattern CSS_LENGTH_PATTERN

Pattern instance, for CSS lengths

RCSS_LENGTHback to summary
private static final String RCSS_LENGTH

Regex pattern, CSS lengths, a length must have a unit, unless it is zero

RCSS_NUMBERback to summary
private static final String RCSS_NUMBER

Regex pattern, a CSS number--either integer or float

Constructor Detail

Identsback to summary
public Idents()

Method Detail

looksLikeABGPositionback to summary
public static boolean looksLikeABGPosition(String val)

Description of the Method

Parameters
val:String

PARAM

Returns:boolean

Returns

looksLikeALengthback to summary
public static boolean looksLikeALength(String val)

Description of the Method

Parameters
val:String

PARAM

Returns:boolean

Returns