Class IdCSSCondition
- java.lang.Object
-
- org.jfree.layouting.input.style.selectors.conditions.IdCSSCondition
-
- All Implemented Interfaces:
java.io.Serializable,CSSCondition,org.w3c.css.sac.AttributeCondition,org.w3c.css.sac.Condition
public class IdCSSCondition extends java.lang.Object implements org.w3c.css.sac.AttributeCondition, CSSCondition
Creation-Date: 24.11.2005, 19:54:48- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.w3c.css.sac.Condition
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 Summary
Constructors Constructor Description IdCSSCondition(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description shortgetConditionType()An integer indicating the type ofCondition.java.lang.StringgetLocalName()Returns the local part of the qualified name of this attribute.java.lang.StringgetNamespaceURI()Returns the namespace URI of this attribute condition.booleangetSpecified()Returnstrueif the attribute must have an explicit value in the original document,falseotherwise.java.lang.StringgetValue()booleanisMatch(java.lang.Object resolveState)
-
-
-
Method Detail
-
getConditionType
public short getConditionType()
An integer indicating the type ofCondition.- Specified by:
getConditionTypein interfaceorg.w3c.css.sac.Condition
-
isMatch
public boolean isMatch(java.lang.Object resolveState)
- Specified by:
isMatchin interfaceCSSCondition
-
getNamespaceURI
public java.lang.String getNamespaceURI()
Returns the namespace URI of this attribute condition.NULLif :- this attribute condition can match any namespace.
- this attribute is an id attribute.
- Specified by:
getNamespaceURIin interfaceorg.w3c.css.sac.AttributeCondition
-
getSpecified
public final boolean getSpecified()
Returnstrueif the attribute must have an explicit value in the original document,falseotherwise.- Specified by:
getSpecifiedin interfaceorg.w3c.css.sac.AttributeCondition
-
getValue
public java.lang.String getValue()
- Specified by:
getValuein interfaceorg.w3c.css.sac.AttributeCondition
-
getLocalName
public java.lang.String getLocalName()
Returns the local part of the qualified name of this attribute.NULLif :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.
- Specified by:
getLocalNamein interfaceorg.w3c.css.sac.AttributeCondition
-
-