|
Flying Saucer Project Release ${app.version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xhtmlrenderer.css.constants.Idents
public final class Idents
Booch utility class for working with ident values in CSS.
Constructor Summary | |
---|---|
Idents()
|
Method Summary | |
---|---|
static java.lang.String |
convertIdent(CSSName cssName,
java.lang.String ident)
Description of the Method |
static java.lang.String |
getColorHex(java.lang.String value)
Given a String, returns either the rgb declaration for the color, or the hex declaration; used to cleanup assignments like "red" or "green". |
static boolean |
looksLikeABGAttachment(java.lang.String val)
Description of the Method |
static boolean |
looksLikeABGPosition(java.lang.String val)
Description of the Method |
static boolean |
looksLikeABGRepeat(java.lang.String val)
Description of the Method |
static boolean |
looksLikeABorderStyle(java.lang.String val)
Description of the Method |
static boolean |
looksLikeAColor(java.lang.String val)
Description of the Method |
static boolean |
looksLikeAFontSize(java.lang.String val)
Description of the Method |
static boolean |
looksLikeAFontStyle(java.lang.String val)
Description of the Method |
static boolean |
looksLikeAFontVariant(java.lang.String val)
Description of the Method |
static boolean |
looksLikeAFontWeight(java.lang.String val)
Description of the Method |
static boolean |
looksLikeAFunction(java.lang.String value)
|
static boolean |
looksLikeALength(java.lang.String val)
Description of the Method |
static boolean |
looksLikeALineHeight(java.lang.String val)
Description of the Method |
static boolean |
looksLikeAListStyleImage(java.lang.String val)
Description of the Method |
static boolean |
looksLikeAListStylePosition(java.lang.String val)
Description of the Method |
static boolean |
looksLikeAListStyleType(java.lang.String val)
Description of the Method |
static boolean |
looksLikeANumber(java.lang.String val)
|
static boolean |
looksLikeAQuote(java.lang.String content)
|
static boolean |
looksLikeASkipQuote(java.lang.String content)
|
static boolean |
looksLikeAURI(java.lang.String val)
Description of the Method |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Idents()
Method Detail |
---|
public static java.lang.String convertIdent(CSSName cssName, java.lang.String ident)
cssName
- PARAMident
- PARAM
public static boolean looksLikeABorderStyle(java.lang.String val)
val
- PARAM
public static boolean looksLikeAColor(java.lang.String val)
val
- PARAM
public static boolean looksLikeALength(java.lang.String val)
val
- PARAM
public static boolean looksLikeAURI(java.lang.String val)
val
- PARAM
public static boolean looksLikeAFunction(java.lang.String value)
public static boolean looksLikeABGRepeat(java.lang.String val)
val
- PARAM
public static boolean looksLikeABGAttachment(java.lang.String val)
val
- PARAM
public static boolean looksLikeABGPosition(java.lang.String val)
val
- PARAM
public static boolean looksLikeAListStyleType(java.lang.String val)
val
- PARAM
public static boolean looksLikeAListStyleImage(java.lang.String val)
val
- PARAM
public static boolean looksLikeAListStylePosition(java.lang.String val)
val
- PARAM
public static boolean looksLikeAFontStyle(java.lang.String val)
val
- PARAM
public static boolean looksLikeAFontVariant(java.lang.String val)
val
- PARAM
public static boolean looksLikeAFontWeight(java.lang.String val)
val
- PARAM
public static boolean looksLikeAFontSize(java.lang.String val)
val
- PARAM
public static boolean looksLikeALineHeight(java.lang.String val)
val
- PARAM
public static boolean looksLikeANumber(java.lang.String val)
public static java.lang.String getColorHex(java.lang.String value)
value
- A String which contains a Color identifier, an rgb
assignment or a Color hex value.
public static boolean looksLikeAQuote(java.lang.String content)
public static boolean looksLikeASkipQuote(java.lang.String content)
|
Flying Saucer Project Release ${app.version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |