Class MetadataExpression
- java.lang.Object
-
- org.ametys.plugins.repository.query.expression.MetadataExpression
-
- All Implemented Interfaces:
Expression
public class MetadataExpression extends Object implements Expression
Constructs anExpression
testing the existence of a metadata.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.plugins.repository.query.expression.Expression
Expression.Operator
-
-
Constructor Summary
Constructors Constructor Description MetadataExpression(String metadata)
Creates the comparison Expression.MetadataExpression(String metadata, ExpressionContext context)
Creates the comparison Expression.
-
-
-
Constructor Detail
-
MetadataExpression
public MetadataExpression(String metadata)
Creates the comparison Expression.- Parameters:
metadata
- the metadata name
-
MetadataExpression
public MetadataExpression(String metadata, ExpressionContext context)
Creates the comparison Expression.- Parameters:
metadata
- the metadata namecontext
- the context of the expression
-
-
Method Detail
-
build
public String build()
Description copied from interface:Expression
Build the expression.- Specified by:
build
in interfaceExpression
- Returns:
- The XPath view of the expression.
-
-