public class SubstringAttributeConditionImpl 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 |
---|
SubstringAttributeConditionImpl(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, setLocator
public void setLocalName(String localName)
public void setValue(String value)
public void setSpecified(boolean specified)
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 © 1999–2017. All rights reserved.