org.w3c.flute.parser.selectors

Class PseudoClassConditionImpl

public class PseudoClassConditionImpl extends Object implements AttributeCondition

Version: $Revision: 1.1.1.1 $

Author: Philippe Le Hegaret

Constructor Summary
PseudoClassConditionImpl(String value)
Creates a new AttributeConditionImpl
Method Summary
shortgetConditionType()
An integer indicating the type of Condition.
StringgetLocalName()
Returns the local part of the qualified name of this attribute.
StringgetNamespaceURI()
Returns the namespace URI of this attribute condition.
booleangetSpecified()
Returns true if the attribute must have an explicit value in the original document, false otherwise.
StringgetValue()
Returns the value of the attribute.

Constructor Detail

PseudoClassConditionImpl

public PseudoClassConditionImpl(String value)
Creates a new AttributeConditionImpl

Method Detail

getConditionType

public short getConditionType()
An integer indicating the type of Condition.

getLocalName

public String getLocalName()
Returns the local part of the qualified name of this attribute.

NULL if :

getNamespaceURI

public String getNamespaceURI()
Returns the namespace URI of this attribute condition.

NULL if :

getSpecified

public boolean getSpecified()
Returns true if the attribute must have an explicit value in the original document, false otherwise.

getValue

public String getValue()
Returns the value of the attribute. If this attribute is a class or a pseudo class attribute, you'll get the class name (or psedo class name) without the '.' or ':'.