Interface AttributeCondition
- All Superinterfaces:
Condition
- Version:
- $Revision: 1.5 $
- Author:
- Philippe Le Hegaret
- See Also:
-
Field Summary
Fields inherited from interface 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 -
Method Summary
Modifier and TypeMethodDescriptionReturns the local part of the qualified name of this attribute.Returns the namespace URI of this attribute condition.booleanReturnstrueif the attribute must have an explicit value in the original document,falseotherwise.getValue()Returns the value of the attribute.Methods inherited from interface Condition
getConditionType
-
Method Details
-
getNamespaceURI
String getNamespaceURI()Returns the namespace URI of this attribute condition.NULLif :- this attribute condition can match any namespace.
- this attribute is an id attribute.
-
getLocalName
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.
-
getSpecified
boolean getSpecified()Returnstrueif the attribute must have an explicit value in the original document,falseotherwise. -
getValue
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 ':'.
-