public class ContentCSSCondition extends Object implements CSSCondition, org.w3c.css.sac.ContentCondition
SAC_AND_CONDITION, SAC_ATTRIBUTE_CONDITION, SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION, SAC_CLASS_CONDITION, SAC_CONTENT_CONDITION, SAC_ID_CONDITION, SAC_LANG_CONDITION, SAC_NEGATIVE_CONDITION, SAC_ONE_OF_ATTRIBUTE_CONDITION, SAC_ONLY_CHILD_CONDITION, SAC_ONLY_TYPE_CONDITION, SAC_OR_CONDITION, SAC_POSITIONAL_CONDITION, SAC_PSEUDO_CLASS_CONDITION
Constructor and Description |
---|
ContentCSSCondition(String data) |
Modifier and Type | Method and Description |
---|---|
short |
getConditionType()
An integer indicating the type of
Condition . |
String |
getData()
Returns the content.
|
public ContentCSSCondition(String data)
public short getConditionType()
Condition
.getConditionType
in interface org.w3c.css.sac.Condition
public String getData()
getData
in interface org.w3c.css.sac.ContentCondition