java.lang.Object
io.sf.carte.doc.style.css.impl.AttrUtil
Utility methods related to attribute values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CSSValue.TypefinalAttrType(LexicalUnit lunit) Determine the CSSOM type of the givenattr()lexical unit.static booleanisProxyAttr(LexicalUnit lunit) Determine whether the final type of an attr() could be only one, by comparing the attribute type to the fallback value, if any.
-
Constructor Details
-
AttrUtil
public AttrUtil()
-
-
Method Details
-
isProxyAttr
Determine whether the final type of an attr() could be only one, by comparing the attribute type to the fallback value, if any.- Parameters:
lunit- the attr() value.- Returns:
trueif the final value type cannot be determined now.
-
finalAttrType
Determine the CSSOM type of the givenattr()lexical unit.- Parameters:
lunit- the lexical unit to test.- Returns:
- the CSSOM type.
-