java.lang.Object
io.sf.carte.doc.style.css.om.SupportsConditionFactory
- All Implemented Interfaces:
BooleanConditionFactory
Contains factory methods related to
@supports
conditions.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a boolean condition of theand
type.Create a boolean condition of thenot
type.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 theand
type.- Specified by:
createAndCondition
in interfaceBooleanConditionFactory
- Returns:
- the condition.
-
createOrCondition
Create a boolean condition of the given type (and
,or
,not
).- Specified by:
createOrCondition
in interfaceBooleanConditionFactory
- Returns:
- the condition.
-
createNotCondition
Create a boolean condition of thenot
type.- Specified by:
createNotCondition
in 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:
createPredicate
in interfaceBooleanConditionFactory
- Parameters:
featureName
- the name of the declared feature.- Returns:
- the condition.
-