org.apache.batik.css.parser

Class DefaultAttributeCondition

public class DefaultAttributeCondition extends AbstractAttributeCondition

This class provides an implementation of the org.w3c.css.sac.AttributeCondition interface.
Field Summary
protected StringlocalName
The attribute's local name.
protected StringnamespaceURI
The attribute's namespace URI.
protected booleanspecified
Whether this condition applies to specified attributes.
Constructor Summary
DefaultAttributeCondition(String localName, String namespaceURI, boolean specified, String value)
Creates a new DefaultAttributeCondition object.
Method Summary
shortgetConditionType()
SAC: Implements org.w3c.css.sac.Condition#getConditionType().
StringgetLocalName()
SAC: Implements org.w3c.css.sac.AttributeCondition#getLocalName().
StringgetNamespaceURI()
SAC: Implements org.w3c.css.sac.AttributeCondition#getNamespaceURI().
booleangetSpecified()
SAC: Implements org.w3c.css.sac.AttributeCondition#getSpecified().
StringtoString()
Returns a text representation of this object.

Field Detail

localName

protected String localName
The attribute's local name.

namespaceURI

protected String namespaceURI
The attribute's namespace URI.

specified

protected boolean specified
Whether this condition applies to specified attributes.

Constructor Detail

DefaultAttributeCondition

public DefaultAttributeCondition(String localName, String namespaceURI, boolean specified, String value)
Creates a new DefaultAttributeCondition object.

Method Detail

getConditionType

public short getConditionType()
SAC: Implements org.w3c.css.sac.Condition#getConditionType().

getLocalName

public String getLocalName()
SAC: Implements org.w3c.css.sac.AttributeCondition#getLocalName().

getNamespaceURI

public String getNamespaceURI()
SAC: Implements org.w3c.css.sac.AttributeCondition#getNamespaceURI().

getSpecified

public boolean getSpecified()
SAC: Implements org.w3c.css.sac.AttributeCondition#getSpecified().

toString

public String toString()
Returns a text representation of this object.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.