org.openrdf.query.algebra
Class Regex
java.lang.Object
org.openrdf.query.algebra.QueryModelNodeBase
org.openrdf.query.algebra.BinaryValueOperator
org.openrdf.query.algebra.Regex
- All Implemented Interfaces:
- Cloneable, QueryModelNode, ValueExpr
public class Regex
- extends BinaryValueOperator
Compares the string representation of a value expression to a pattern.
Regex
public Regex()
Regex
public Regex(ValueExpr expr,
ValueExpr pattern,
ValueExpr flags)
getArg
public ValueExpr getArg()
setArg
public void setArg(ValueExpr leftArg)
getPatternArg
public ValueExpr getPatternArg()
setPatternArg
public void setPatternArg(ValueExpr rightArg)
setFlagsArg
public void setFlagsArg(ValueExpr flags)
getFlagsArg
public ValueExpr getFlagsArg()
visit
public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
throws X extends Exception
- Description copied from interface:
QueryModelNode
- Visits this node. The node reports itself to the visitor with the proper
runtime type.
- Throws:
X extends Exception
visitChildren
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor)
throws X extends Exception
- Description copied from class:
QueryModelNodeBase
- Dummy implementation of
QueryModelNode.visitChildren(org.openrdf.query.algebra.QueryModelVisitor) that does
nothing. Subclasses should override this method when they have child
nodes.
- Specified by:
visitChildren in interface QueryModelNode- Overrides:
visitChildren in class BinaryValueOperator
- Throws:
X extends Exception
clone
public Regex clone()
- Description copied from interface:
QueryModelNode
- Returns a (deep) clone of this query model node. This method recursively
clones the entire node tree, starting from this nodes.
- Specified by:
clone in interface QueryModelNode- Specified by:
clone in interface ValueExpr- Overrides:
clone in class BinaryValueOperator
- Returns:
- A deep clone of this query model node.
Copyright © 2001-2008 Aduna. All Rights Reserved.