Package com.openhtmltopdf.css.newmatch
Class Condition.AttributeExistsCondition
- java.lang.Object
-
- com.openhtmltopdf.css.newmatch.Condition
-
- com.openhtmltopdf.css.newmatch.Condition.AttributeCompareCondition
-
- com.openhtmltopdf.css.newmatch.Condition.AttributeExistsCondition
-
- Enclosing class:
- Condition
private static class Condition.AttributeExistsCondition extends Condition.AttributeCompareCondition
-
-
Field Summary
-
Fields inherited from class com.openhtmltopdf.css.newmatch.Condition.AttributeCompareCondition
_name, _namespaceURI, _value
-
-
Constructor Summary
Constructors Constructor Description AttributeExistsCondition(java.lang.String namespaceURI, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
compare(java.lang.String attrValue, java.lang.String conditionValue)
(package private) boolean
matches(java.lang.Object e, AttributeResolver attRes, TreeResolver treeRes)
(package private) void
toCSS(java.lang.StringBuilder sb)
-
Methods inherited from class com.openhtmltopdf.css.newmatch.Condition.AttributeCompareCondition
toCSS
-
Methods inherited from class com.openhtmltopdf.css.newmatch.Condition
createAttributeEqualsCondition, createAttributeExistsCondition, createAttributeMatchesFirstPartCondition, createAttributeMatchesListCondition, createAttributePrefixCondition, createAttributeSubstringCondition, createAttributeSuffixCondition, createClassCondition, createEvenChildCondition, createFirstChildCondition, createIDCondition, createLangCondition, createLastChildCondition, createLinkCondition, createNthChildCondition, createOddChildCondition, createUnsupportedCondition
-
-
-
-
Method Detail
-
matches
boolean matches(java.lang.Object e, AttributeResolver attRes, TreeResolver treeRes)
- Overrides:
matches
in classCondition.AttributeCompareCondition
-
compare
protected boolean compare(java.lang.String attrValue, java.lang.String conditionValue)
- Specified by:
compare
in classCondition.AttributeCompareCondition
-
-