java.lang.Object
io.sf.carte.doc.style.css.om.SupportsConditionFactory
- All Implemented Interfaces:
BooleanConditionFactory
Contains factory methods related to
@supports
conditions.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a boolean condition of theandtype.Create a boolean condition of thenottype.Create a boolean condition of the given type (and,or,not).createPredicate(String featureName) Create a declaration (operand) condition.
-
Constructor Details
-
SupportsConditionFactory
public SupportsConditionFactory()
-
-
Method Details
-
createAndCondition
Create a boolean condition of theandtype.- Specified by:
createAndConditionin interfaceBooleanConditionFactory- Returns:
- the condition.
-
createOrCondition
Create a boolean condition of the given type (and,or,not).- Specified by:
createOrConditionin interfaceBooleanConditionFactory- Returns:
- the condition.
-
createNotCondition
Create a boolean condition of thenottype.- Specified by:
createNotConditionin interfaceBooleanConditionFactory- Returns:
- the condition.
-
createPredicate
Create a declaration (operand) condition.The value of the feature can be set later with
DeclarationCondition.setValue(ExtendedCSSValue).- Specified by:
createPredicatein interfaceBooleanConditionFactory- Parameters:
featureName- the name of the declared feature.- Returns:
- the condition.
-