Package org.eclipse.wst.xml.xpath2.processor.internal.ast


org.eclipse.wst.xml.xpath2.processor.internal.ast
Class SequenceType



public class SequenceType
extends org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathNode
Support for Sequence type.

Field Summary

public static intEMPTY
     Set internal value for EMPTY.
public static intNONE
     Set internal value for NONE.
public static intPLUS
     Set internal value for PLUS.
public static intQUESTION
     Set internal value for QUESTION.
public static intSTAR
     Set internal value for STAR.

Constructor Summary

SequenceType(int occ , org.eclipse.wst.xml.xpath2.processor.internal.ast.ItemType it)

Method Summary

public java.lang.Objectaccept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)
     Support for Visitor interface.
public booleanisLengthValid(int length)
    
public org.eclipse.wst.xml.xpath2.processor.internal.ast.ItemTypeitem_type()
     Support for ItemType interface.
public intoccurrence()
     Get occurence of item.

Field Detail

EMPTY

public static int EMPTY

Set internal value for EMPTY.

NONE

public static int NONE

Set internal value for NONE.

PLUS

public static int PLUS

Set internal value for PLUS.

QUESTION

public static int QUESTION

Set internal value for QUESTION.

STAR

public static int STAR

Set internal value for STAR.

Constructor Detail

SequenceType

public SequenceType(int occ , org.eclipse.wst.xml.xpath2.processor.internal.ast.ItemType it)

Constructor for SequenceType.


Methods Detail

accept

public java.lang.Object accept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)

Support for Visitor interface.

Parameters

v

Returns

java.lang.Object - Result of Visitor operation.


isLengthValid

public boolean isLengthValid(int length)

Parameters

length

Returns

boolean


item_type

public org.eclipse.wst.xml.xpath2.processor.internal.ast.ItemType item_type()

Support for ItemType interface.

Returns

org.eclipse.wst.xml.xpath2.processor.internal.ast.ItemType - Result of ItemType operation.


occurrence

public int occurrence()

Get occurence of item.

Returns

int - Result from Int operation.