org.jfree.layouting.input.style.selectors.conditions
public class IdCSSCondition extends java.lang.Object implements org.w3c.css.sac.AttributeCondition, CSSCondition
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 |
---|
IdCSSCondition(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
short |
getConditionType()
An integer indicating the type of
Condition . |
java.lang.String |
getLocalName()
Returns the local
part of the qualified
name of this attribute.
|
java.lang.String |
getNamespaceURI()
Returns the namespace
URI of this attribute condition.
|
boolean |
getSpecified()
Returns
true if the attribute must have an explicit value in
the original document, false otherwise. |
java.lang.String |
getValue() |
boolean |
isMatch(java.lang.Object resolveState) |
public short getConditionType()
Condition
.getConditionType
in interface org.w3c.css.sac.Condition
public boolean isMatch(java.lang.Object resolveState)
isMatch
in interface CSSCondition
public java.lang.String getNamespaceURI()
NULL
if :
getNamespaceURI
in interface org.w3c.css.sac.AttributeCondition
public final boolean getSpecified()
true
if the attribute must have an explicit value in
the original document, false
otherwise.getSpecified
in interface org.w3c.css.sac.AttributeCondition
public java.lang.String getValue()
getValue
in interface org.w3c.css.sac.AttributeCondition
public java.lang.String getLocalName()
NULL
if :
this attribute condition can match any attribute.
this attribute is a class attribute.
this attribute is an id attribute.
this attribute is a pseudo-class attribute.
getLocalName
in interface org.w3c.css.sac.AttributeCondition