public class PseudoClassConditionImpl 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 |
|---|
PseudoClassConditionImpl(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, setLocatorpublic PseudoClassConditionImpl(String value)
public void setValue(String value)
public short getConditionType()
getConditionType in interface org.w3c.css.sac.Conditionpublic String getNamespaceURI()
getNamespaceURI in interface org.w3c.css.sac.AttributeConditionpublic String getLocalName()
getLocalName in interface org.w3c.css.sac.AttributeConditionpublic boolean getSpecified()
getSpecified in interface org.w3c.css.sac.AttributeConditionpublic String getValue()
getValue in interface org.w3c.css.sac.AttributeConditionpublic String getCssText(CSSFormat format)
getCssText in interface CSSFormatableformat - the formatting rulesCopyright © 2021. All rights reserved.