Class AttributeSpecifier
java.lang.Object
org.joox.selector.AttributeSpecifier
- All Implemented Interfaces:
Specifier
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of match to perform for the attribute.Nested classes/interfaces inherited from interface Specifier
Specifier.Type -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAttributeSpecifier(String name) Create a new attribute specifier with the specified attribute name.AttributeSpecifier(String name, String value, AttributeSpecifier.Match match) Create a new attribute specifier with the specified name, value and match type. -
Method Summary
-
Field Details
-
name
The name of the attribute. -
value
The attribute value. -
match
The type of match to perform for the attribute.
-
-
Constructor Details
-
AttributeSpecifier
Create a new attribute specifier with the specified attribute name. This attribute specifier is used to check if the attribute with the specified name exists whatever the value of the attribute.- Parameters:
name- The name of the attribute.
-
AttributeSpecifier
Create a new attribute specifier with the specified name, value and match type.- Parameters:
name- The name of the attribute.value- The attribute value.match- The type of match to perform for the attribute.
-
-
Method Details