Interface MediaConditionFactory

All Superinterfaces:
BooleanConditionFactory

public interface MediaConditionFactory extends BooleanConditionFactory
Contains methods related to media query conditions.
  • Method Details

    • createPredicate

      BooleanCondition createPredicate(String featureName)
      Create a operand condition.
      Specified by:
      createPredicate in interface BooleanConditionFactory
      Parameters:
      featureName - the name of the media feature.
      Returns:
      the condition.
    • createMediaTypePredicate

      BooleanCondition createMediaTypePredicate(String medium)
      Create a predicate that contains a medium type.
      Parameters:
      medium - the medium type.
      Returns:
      the predicate.