Package com.openhtmltopdf.css.newmatch
Class Condition.NthChildCondition
- java.lang.Object
-
- com.openhtmltopdf.css.newmatch.Condition
-
- com.openhtmltopdf.css.newmatch.Condition.NthChildCondition
-
-
Constructor Summary
Constructors Constructor Description NthChildCondition(int a, int b, java.lang.String input)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static Condition.NthChildConditionfromString(java.lang.String number)(package private) booleanmatches(java.lang.Object e, AttributeResolver attRes, TreeResolver treeRes)(package private) voidtoCSS(java.lang.StringBuilder sb)-
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)
-
fromString
static Condition.NthChildCondition fromString(java.lang.String number)
-
-