- All Superinterfaces:
BooleanConditionFactory
Contains methods related to media query conditions.
-
Method Summary
Modifier and TypeMethodDescriptioncreateMediaTypePredicate
(String medium) Create a predicate that contains a medium type.createPredicate
(String featureName) Create a operand condition.Methods inherited from interface io.sf.carte.doc.style.css.parser.BooleanConditionFactory
createAndCondition, createNotCondition, createOrCondition
-
Method Details
-
createPredicate
Create a operand condition.- Specified by:
createPredicate
in interfaceBooleanConditionFactory
- Parameters:
featureName
- the name of the media feature.- Returns:
- the condition.
-
createMediaTypePredicate
Create a predicate that contains a medium type.- Parameters:
medium
- the medium type.- Returns:
- the predicate.
-