public class ClassConditionImpl extends LocatableImpl implements org.w3c.css.sac.AttributeCondition, CSSFormatable, Serializable
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 |
---|
ClassConditionImpl(String value) |
Modifier and Type | Method and Description |
---|---|
short |
getConditionType() |
String |
getCssText(CSSFormat format)
Returns a string representation of the rule based on the given format.
|
String |
getLocalName() |
String |
getNamespaceURI() |
boolean |
getSpecified() |
String |
getValue() |
void |
setValue(String value) |
String |
toString() |
getLocator, setLocator
public ClassConditionImpl(String value)
public void setValue(String value)
public short getConditionType()
getConditionType
in interface org.w3c.css.sac.Condition
public String getNamespaceURI()
getNamespaceURI
in interface org.w3c.css.sac.AttributeCondition
public String getLocalName()
getLocalName
in interface org.w3c.css.sac.AttributeCondition
public boolean getSpecified()
getSpecified
in interface org.w3c.css.sac.AttributeCondition
public String getValue()
getValue
in interface org.w3c.css.sac.AttributeCondition
public String getCssText(CSSFormat format)
getCssText
in interface CSSFormatable
format
- the formatting rulesCopyright © 2016. All rights reserved.