org.w3c.flute.parser.selectors

Class AttributeConditionImpl

public class AttributeConditionImpl extends Object implements AttributeCondition

Version: $Revision: 6653 $

Author: Philippe Le Hegaret

Field Summary
StringlocalName
Stringvalue
Constructor Summary
AttributeConditionImpl(String localName, 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.

Field Detail

localName

String localName

value

String value

Constructor Detail

AttributeConditionImpl

public AttributeConditionImpl(String localName, 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 ':'.