public final class ExpressionBuilder extends Object
Modifier and Type | Method and Description |
---|---|
static NotNode |
not(AbstractOperatorNode node)
Instantiate a new
NotNode using the given value. |
static DateValueNode |
value(Date value)
Instantiate a new
DateValueNode using the given value. |
static EntityReferenceNode |
value(EntityReference value)
Instantiate a new
EntityReferenceNode using the given value. |
static PropertyValueNode |
value(EventProperty property)
Instantiate a new
PropertyValueNode using the given property. |
static StringValueNode |
value(String value)
Instantiate a new
StringValueNode using the given value. |
public static PropertyValueNode value(EventProperty property)
PropertyValueNode
using the given property.property
- the value of the nodePropertyValueNode
public static StringValueNode value(String value)
StringValueNode
using the given value.value
- the value of the nodeStringValueNode
public static DateValueNode value(Date value)
DateValueNode
using the given value.value
- the value of the nodeDateValueNode
public static EntityReferenceNode value(EntityReference value)
EntityReferenceNode
using the given value.value
- the value of the nodeEntityReferenceNode
public static NotNode not(AbstractOperatorNode node)
NotNode
using the given value.node
- the operator wrapped by the not nodeNotNode
Copyright © 2004–2022 XWiki. All rights reserved.