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


org.eclipse.wst.xml.xpath2.processor.internal
Class SeqType



public class SeqType
extends java.lang.Object
represents a Sequence types used for matching expected arguments of functions

Field Summary

public static intOCC_EMPTY
    
public static intOCC_NONE
    
public static intOCC_PLUS
    
public static intOCC_QMARK
    
public static intOCC_STAR
    
public static java.lang.StringXML_SCHEMA_NS
     Path to w3.org XML Schema specification.

Constructor Summary

SeqType(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType t , int occ)
SeqType(int occ)
SeqType(java.lang.Class type_class , int occ)
SeqType(org.eclipse.wst.xml.xpath2.processor.internal.ast.SequenceType st , org.eclipse.wst.xml.xpath2.api.StaticContext sc , org.eclipse.wst.xml.xpath2.api.ResultSequence rs)
SeqType(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType t)

Method Summary

public static intmapSequenceTypeOccurrence(int occurrence)
    
public org.eclipse.wst.xml.xpath2.api.ResultSequencematch(org.eclipse.wst.xml.xpath2.api.ResultSequence args)
     matches args
public intoccurence()
    
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyTypetype()
    

Field Detail

OCC_EMPTY

public static int OCC_EMPTY


OCC_NONE

public static int OCC_NONE


OCC_PLUS

public static int OCC_PLUS


OCC_QMARK

public static int OCC_QMARK


OCC_STAR

public static int OCC_STAR


XML_SCHEMA_NS

public static java.lang.String XML_SCHEMA_NS

Path to w3.org XML Schema specification.

Constructor Detail

SeqType

public SeqType(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType t , int occ)

sequence type


SeqType

public SeqType(int occ)


SeqType

public SeqType(java.lang.Class type_class , int occ)


SeqType

public SeqType(org.eclipse.wst.xml.xpath2.processor.internal.ast.SequenceType st , org.eclipse.wst.xml.xpath2.api.StaticContext sc , org.eclipse.wst.xml.xpath2.api.ResultSequence rs)


SeqType

public SeqType(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType t)


Methods Detail

mapSequenceTypeOccurrence

public int mapSequenceTypeOccurrence(int occurrence)

Parameters

occurrence

Returns

int


match

public org.eclipse.wst.xml.xpath2.api.ResultSequence match(org.eclipse.wst.xml.xpath2.api.ResultSequence args)

matches args

Parameters

args - is a result sequence

Returns

org.eclipse.wst.xml.xpath2.api.ResultSequence - a result sequence

Throws:

org.eclipse.wst.xml.xpath2.processor.DynamicError


occurence

public int occurence()

Returns

int - an integer.


type

public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType type()

Returns

org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType - a type.