public class OneOfAttributeConditionImpl 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 |
|---|
OneOfAttributeConditionImpl(String localName,
String value,
boolean specified) |
| 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 |
setLocalName(String localName) |
void |
setSpecified(boolean specified) |
void |
setValue(String value) |
String |
toString() |
getLocator, setLocatorpublic void setLocalName(String localName)
public void setValue(String value)
public void setSpecified(boolean specified)
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.