Package org.eclipse.wst.xml.xpath2.processor.internal
public class SeqType extends java.lang.Objectrepresents a Sequence types used for matching expected arguments of functions
Field Summary | |
public static int | OCC_EMPTY |
public static int | OCC_NONE |
public static int | OCC_PLUS |
public static int | OCC_QMARK |
public static int | OCC_STAR |
public static java.lang.String | XML_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 int | mapSequenceTypeOccurrence(int occurrence) |
public org.eclipse.wst.xml.xpath2.api.ResultSequence | match(org.eclipse.wst.xml.xpath2.api.ResultSequence args) matches args |
public int | occurence() |
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType | type() |
Field Detail |
public static int OCC_EMPTY
public static int OCC_NONE
public static int OCC_PLUS
public static int OCC_QMARK
public static int OCC_STAR
public static java.lang.String XML_SCHEMA_NS
Path to w3.org XML Schema specification. |
Constructor Detail |
public SeqType(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType t
,
int occ)
sequence type
public SeqType(int occ)
public SeqType(java.lang.Class type_class
,
int occ)
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)
public SeqType(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType t)
Methods Detail |
public int mapSequenceTypeOccurrence(int occurrence)
occurrence
int
public org.eclipse.wst.xml.xpath2.api.ResultSequence match(org.eclipse.wst.xml.xpath2.api.ResultSequence args)
matches args
args
- is a result sequence
org.eclipse.wst.xml.xpath2.api.ResultSequence
- a result sequence
org.eclipse.wst.xml.xpath2.processor.DynamicError
public int occurence()
int
- an integer.
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType type()
org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType
- a type.