public class AttributeCSSCondition extends java.lang.Object implements CSSCondition
Constructor and Description |
---|
AttributeCSSCondition(java.lang.String name,
java.lang.String namespace,
boolean specified,
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) |
boolean |
isSpecified() |
public AttributeCSSCondition(java.lang.String name, java.lang.String namespace, boolean specified, java.lang.String value)
public short getConditionType()
Condition
.public boolean isMatch(java.lang.Object resolveState)
isMatch
in interface CSSCondition
public java.lang.String getNamespaceURI()
NULL
if :
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.
public final boolean getSpecified()
true
if the attribute must have an explicit value in
the original document, false
otherwise.public boolean isSpecified()
public java.lang.String getValue()