org.gcube.contentmanagement.contentmanager.stubs.model.predicates
Class Text
java.lang.Object
org.gcube.contentmanagement.contentmanager.stubs.model.predicates.LeafPredicate<java.lang.String,Constraint<? super java.lang.String>>
org.gcube.contentmanagement.contentmanager.stubs.model.predicates.Text
- All Implemented Interfaces:
- java.io.Serializable, Predicate
public class Text
- extends LeafPredicate<java.lang.String,Constraint<? super java.lang.String>>
Asserts that a leaf has a text value that satisfies a given constraint.
- Author:
- Fabio Simeoni (University of Strathclyde)
- See Also:
- Serialized Form
Constructor Summary |
Text(Constraint<? super java.lang.String> c)
Creates an instance with a given constraint. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Text
public Text(Constraint<? super java.lang.String> c)
- Creates an instance with a given constraint.
- Parameters:
c
- the constraint.