org.ucl.xpath.ast
Class SequenceType

java.lang.Object
  extended byorg.ucl.xpath.ast.XPathNode
      extended byorg.ucl.xpath.ast.SequenceType

public class SequenceType
extends XPathNode

Support for Sequence type.


Field Summary
static int EMPTY
          Set internal value for EMPTY.
static int NONE
          Set internal value for NONE.
static int PLUS
          Set internal value for PLUS.
static int QUESTION
          Set internal value for QUESTION.
static int STAR
          Set internal value for STAR.
 
Constructor Summary
SequenceType(int occ, ItemType it)
          Constructor for SequenceType.
 
Method Summary
 java.lang.Object accept(XPathVisitor v)
          Support for Visitor interface.
 ItemType item_type()
          Support for ItemType interface.
 int occurrence()
          Get occurence of item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final int EMPTY
Set internal value for EMPTY.

See Also:
Constant Field Values

NONE

public static final int NONE
Set internal value for NONE.

See Also:
Constant Field Values

QUESTION

public static final int QUESTION
Set internal value for QUESTION.

See Also:
Constant Field Values

STAR

public static final int STAR
Set internal value for STAR.

See Also:
Constant Field Values

PLUS

public static final int PLUS
Set internal value for PLUS.

See Also:
Constant Field Values
Constructor Detail

SequenceType

public SequenceType(int occ,
                    ItemType it)
Constructor for SequenceType.

Parameters:
occ - Occurence.
it - Item type.
Method Detail

accept

public java.lang.Object accept(XPathVisitor v)
Support for Visitor interface.

Specified by:
accept in class XPathNode
Returns:
Result of Visitor operation.

occurrence

public int occurrence()
Get occurence of item.

Returns:
Result from Int operation.

item_type

public ItemType item_type()
Support for ItemType interface.

Returns:
Result of ItemType operation.