lux.xquery
Class ForClause

java.lang.Object
  extended by lux.xquery.FLWORClause
      extended by lux.xquery.VariableBindingClause
          extended by lux.xquery.ForClause
All Implemented Interfaces:
VariableContext

public class ForClause
extends VariableBindingClause


Constructor Summary
ForClause(Variable var, Variable pos, AbstractExpression seq)
          create an XQuery 'for' clause
 
Method Summary
 ForClause accept(ExpressionVisitor visitor)
           
 void toString(StringBuilder buf)
           
 
Methods inherited from class lux.xquery.VariableBindingClause
getSequence, getVariable, setSequence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForClause

public ForClause(Variable var,
                 Variable pos,
                 AbstractExpression seq)
create an XQuery 'for' clause

Parameters:
var - the range variable (for $x)
pos - the position variable (at $n)
seq - the sequence (in ...)
Method Detail

toString

public void toString(StringBuilder buf)
Specified by:
toString in class FLWORClause

accept

public ForClause accept(ExpressionVisitor visitor)
Specified by:
accept in class FLWORClause


Copyright © 2013. All Rights Reserved.