<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_18) on Fri Dec 09 20:48:44 GMT 2011 --> <TITLE> SequenceType </TITLE> <META NAME="date" CONTENT="2011-12-09"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="SequenceType"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/sf/saxon/value/SequenceExtent.html" title="class in net.sf.saxon.value"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/value/ShareableSequence.html" title="class in net.sf.saxon.value"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/value/SequenceType.html" target="_top"><B>FRAMES</B></A> <A HREF="SequenceType.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> net.sf.saxon.value</FONT> <BR> Class SequenceType</H2> <PRE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.saxon.value.SequenceType</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD> </DL> <HR> <DL> <DT><PRE>public final class <B>SequenceType</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DL> </PRE> <P> SequenceType: a sequence type consists of a primary type, which indicates the type of item, and a cardinality, which indicates the number of occurrences permitted. Where the primary type is element or attribute, there may also be a content type, indicating the required type annotation on the element or attribute content. <P> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#net.sf.saxon.value.SequenceType">Serialized Form</A></DL> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#ANY_SEQUENCE">ANY_SEQUENCE</A></B></CODE> <BR> A type that allows any sequence of items</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#ATOMIC_SEQUENCE">ATOMIC_SEQUENCE</A></B></CODE> <BR> A type that allows zero or more atomic values</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#EMPTY_SEQUENCE">EMPTY_SEQUENCE</A></B></CODE> <BR> A type that only permits the empty sequence</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#NODE_SEQUENCE">NODE_SEQUENCE</A></B></CODE> <BR> A type that allows a sequence of zero or more nodes</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#NON_EMPTY_SEQUENCE">NON_EMPTY_SEQUENCE</A></B></CODE> <BR> A type that only permits a non-empty sequence</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#NUMERIC_SEQUENCE">NUMERIC_SEQUENCE</A></B></CODE> <BR> A type that allows a sequence of zero or more numeric values</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_ANY_URI">OPTIONAL_ANY_URI</A></B></CODE> <BR> A type that allows a single optional anyURI</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_ATOMIC">OPTIONAL_ATOMIC</A></B></CODE> <BR> A type that allows zero or one atomic values</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_BOOLEAN">OPTIONAL_BOOLEAN</A></B></CODE> <BR> A type that allows a single optional integer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_BYTE">OPTIONAL_BYTE</A></B></CODE> <BR> A type that allows a single optional byte</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_DATE_TIME">OPTIONAL_DATE_TIME</A></B></CODE> <BR> A type that allows a single optional dateTime</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_DECIMAL">OPTIONAL_DECIMAL</A></B></CODE> <BR> A type that allows a single optional decimal</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_DOCUMENT_NODE">OPTIONAL_DOCUMENT_NODE</A></B></CODE> <BR> A type that allows a single document node</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_DOUBLE">OPTIONAL_DOUBLE</A></B></CODE> <BR> A type that allows a single optional double</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_FLOAT">OPTIONAL_FLOAT</A></B></CODE> <BR> A type that allows a single optional float</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_INT">OPTIONAL_INT</A></B></CODE> <BR> A type that allows a single optional int</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_INTEGER">OPTIONAL_INTEGER</A></B></CODE> <BR> A type that allows a single optional integer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_ITEM">OPTIONAL_ITEM</A></B></CODE> <BR> A type that allows zero or one items, of any kind</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_LONG">OPTIONAL_LONG</A></B></CODE> <BR> A type that allows a single optional long</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_NODE">OPTIONAL_NODE</A></B></CODE> <BR> A type that allows zero or one nodes</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_NUMERIC">OPTIONAL_NUMERIC</A></B></CODE> <BR> A type that allows an optional numeric value</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_QNAME">OPTIONAL_QNAME</A></B></CODE> <BR> A type that allows a single optional xs:QName</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_SHORT">OPTIONAL_SHORT</A></B></CODE> <BR> A type that allows a single optional short</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#OPTIONAL_STRING">OPTIONAL_STRING</A></B></CODE> <BR> A type that allows a single optional string</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_ATOMIC">SINGLE_ATOMIC</A></B></CODE> <BR> A type that allows exactly one atomic value</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_BOOLEAN">SINGLE_BOOLEAN</A></B></CODE> <BR> A type that allows a single boolean</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_BYTE">SINGLE_BYTE</A></B></CODE> <BR> A type that allows a single short</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_DOUBLE">SINGLE_DOUBLE</A></B></CODE> <BR> A type that allows a single double</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_ELEMENT_NODE">SINGLE_ELEMENT_NODE</A></B></CODE> <BR> A type that allows a single element node</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_FLOAT">SINGLE_FLOAT</A></B></CODE> <BR> A type that allows a single float</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_INT">SINGLE_INT</A></B></CODE> <BR> A type that allows a single int</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_INTEGER">SINGLE_INTEGER</A></B></CODE> <BR> A type that allows a single integer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_ITEM">SINGLE_ITEM</A></B></CODE> <BR> A type that allows exactly one item, of any kind</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_LONG">SINGLE_LONG</A></B></CODE> <BR> A type that allows a single long</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_NODE">SINGLE_NODE</A></B></CODE> <BR> A type that allows a single node</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_NUMERIC">SINGLE_NUMERIC</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_SHORT">SINGLE_SHORT</A></B></CODE> <BR> A type that allows a single short</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_STRING">SINGLE_STRING</A></B></CODE> <BR> A type that allows a single string</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#SINGLE_UNTYPED_ATOMIC">SINGLE_UNTYPED_ATOMIC</A></B></CODE> <BR> A type that allows a single untyped atomic</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> <BR> Indicates whether some other object is "equal to" this one.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#getCardinality()">getCardinality</A></B>()</CODE> <BR> Get the cardinality component of this SequenceType.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#getPrimaryType()">getPrimaryType</A></B>()</CODE> <BR> Get the "primary" part of this required type.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#hashCode()">hashCode</A></B>()</CODE> <BR> Returns a hash code value for the object.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#makeSequenceType(net.sf.saxon.type.ItemType, int)">makeSequenceType</A></B>(<A HREF="../../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A> primaryType, int cardinality)</CODE> <BR> Construct an instance of SequenceType.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#matches(net.sf.saxon.value.Value, net.sf.saxon.Configuration)">matches</A></B>(<A HREF="../../../../net/sf/saxon/value/Value.html" title="class in net.sf.saxon.value">Value</A> value, <A HREF="../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A> config)</CODE> <BR> Determine whether a given value is a valid instance of this SequenceType</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/value/SequenceType.html#toString()">toString</A></B>()</CODE> <BR> Return a string representation of this SequenceType</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Field Detail</B></FONT></TH> </TR> </TABLE> <A NAME="ANY_SEQUENCE"><!-- --></A><H3> ANY_SEQUENCE</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>ANY_SEQUENCE</B></PRE> <DL> <DD>A type that allows any sequence of items <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_ITEM"><!-- --></A><H3> SINGLE_ITEM</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_ITEM</B></PRE> <DL> <DD>A type that allows exactly one item, of any kind <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_ITEM"><!-- --></A><H3> OPTIONAL_ITEM</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_ITEM</B></PRE> <DL> <DD>A type that allows zero or one items, of any kind <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_ATOMIC"><!-- --></A><H3> SINGLE_ATOMIC</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_ATOMIC</B></PRE> <DL> <DD>A type that allows exactly one atomic value <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_ATOMIC"><!-- --></A><H3> OPTIONAL_ATOMIC</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_ATOMIC</B></PRE> <DL> <DD>A type that allows zero or one atomic values <P> <DL> </DL> </DL> <HR> <A NAME="ATOMIC_SEQUENCE"><!-- --></A><H3> ATOMIC_SEQUENCE</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>ATOMIC_SEQUENCE</B></PRE> <DL> <DD>A type that allows zero or more atomic values <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_STRING"><!-- --></A><H3> SINGLE_STRING</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_STRING</B></PRE> <DL> <DD>A type that allows a single string <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_UNTYPED_ATOMIC"><!-- --></A><H3> SINGLE_UNTYPED_ATOMIC</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_UNTYPED_ATOMIC</B></PRE> <DL> <DD>A type that allows a single untyped atomic <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_STRING"><!-- --></A><H3> OPTIONAL_STRING</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_STRING</B></PRE> <DL> <DD>A type that allows a single optional string <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_BOOLEAN"><!-- --></A><H3> SINGLE_BOOLEAN</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_BOOLEAN</B></PRE> <DL> <DD>A type that allows a single boolean <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_BOOLEAN"><!-- --></A><H3> OPTIONAL_BOOLEAN</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_BOOLEAN</B></PRE> <DL> <DD>A type that allows a single optional integer <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_INTEGER"><!-- --></A><H3> SINGLE_INTEGER</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_INTEGER</B></PRE> <DL> <DD>A type that allows a single integer <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_INTEGER"><!-- --></A><H3> OPTIONAL_INTEGER</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_INTEGER</B></PRE> <DL> <DD>A type that allows a single optional integer <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_LONG"><!-- --></A><H3> SINGLE_LONG</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_LONG</B></PRE> <DL> <DD>A type that allows a single long <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_LONG"><!-- --></A><H3> OPTIONAL_LONG</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_LONG</B></PRE> <DL> <DD>A type that allows a single optional long <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_INT"><!-- --></A><H3> SINGLE_INT</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_INT</B></PRE> <DL> <DD>A type that allows a single int <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_INT"><!-- --></A><H3> OPTIONAL_INT</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_INT</B></PRE> <DL> <DD>A type that allows a single optional int <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_SHORT"><!-- --></A><H3> SINGLE_SHORT</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_SHORT</B></PRE> <DL> <DD>A type that allows a single short <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_SHORT"><!-- --></A><H3> OPTIONAL_SHORT</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_SHORT</B></PRE> <DL> <DD>A type that allows a single optional short <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_BYTE"><!-- --></A><H3> SINGLE_BYTE</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_BYTE</B></PRE> <DL> <DD>A type that allows a single short <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_BYTE"><!-- --></A><H3> OPTIONAL_BYTE</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_BYTE</B></PRE> <DL> <DD>A type that allows a single optional byte <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_DOUBLE"><!-- --></A><H3> SINGLE_DOUBLE</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_DOUBLE</B></PRE> <DL> <DD>A type that allows a single double <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_DOUBLE"><!-- --></A><H3> OPTIONAL_DOUBLE</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_DOUBLE</B></PRE> <DL> <DD>A type that allows a single optional double <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_FLOAT"><!-- --></A><H3> SINGLE_FLOAT</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_FLOAT</B></PRE> <DL> <DD>A type that allows a single float <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_FLOAT"><!-- --></A><H3> OPTIONAL_FLOAT</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_FLOAT</B></PRE> <DL> <DD>A type that allows a single optional float <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_DECIMAL"><!-- --></A><H3> OPTIONAL_DECIMAL</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_DECIMAL</B></PRE> <DL> <DD>A type that allows a single optional decimal <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_ANY_URI"><!-- --></A><H3> OPTIONAL_ANY_URI</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_ANY_URI</B></PRE> <DL> <DD>A type that allows a single optional anyURI <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_DATE_TIME"><!-- --></A><H3> OPTIONAL_DATE_TIME</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_DATE_TIME</B></PRE> <DL> <DD>A type that allows a single optional dateTime <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_QNAME"><!-- --></A><H3> OPTIONAL_QNAME</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_QNAME</B></PRE> <DL> <DD>A type that allows a single optional xs:QName <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_NUMERIC"><!-- --></A><H3> OPTIONAL_NUMERIC</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_NUMERIC</B></PRE> <DL> <DD>A type that allows an optional numeric value <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_NUMERIC"><!-- --></A><H3> SINGLE_NUMERIC</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_NUMERIC</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_NODE"><!-- --></A><H3> OPTIONAL_NODE</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_NODE</B></PRE> <DL> <DD>A type that allows zero or one nodes <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_NODE"><!-- --></A><H3> SINGLE_NODE</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_NODE</B></PRE> <DL> <DD>A type that allows a single node <P> <DL> </DL> </DL> <HR> <A NAME="OPTIONAL_DOCUMENT_NODE"><!-- --></A><H3> OPTIONAL_DOCUMENT_NODE</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>OPTIONAL_DOCUMENT_NODE</B></PRE> <DL> <DD>A type that allows a single document node <P> <DL> </DL> </DL> <HR> <A NAME="SINGLE_ELEMENT_NODE"><!-- --></A><H3> SINGLE_ELEMENT_NODE</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>SINGLE_ELEMENT_NODE</B></PRE> <DL> <DD>A type that allows a single element node <P> <DL> </DL> </DL> <HR> <A NAME="NODE_SEQUENCE"><!-- --></A><H3> NODE_SEQUENCE</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>NODE_SEQUENCE</B></PRE> <DL> <DD>A type that allows a sequence of zero or more nodes <P> <DL> </DL> </DL> <HR> <A NAME="NUMERIC_SEQUENCE"><!-- --></A><H3> NUMERIC_SEQUENCE</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>NUMERIC_SEQUENCE</B></PRE> <DL> <DD>A type that allows a sequence of zero or more numeric values <P> <DL> </DL> </DL> <HR> <A NAME="EMPTY_SEQUENCE"><!-- --></A><H3> EMPTY_SEQUENCE</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>EMPTY_SEQUENCE</B></PRE> <DL> <DD>A type that only permits the empty sequence <P> <DL> </DL> </DL> <HR> <A NAME="NON_EMPTY_SEQUENCE"><!-- --></A><H3> NON_EMPTY_SEQUENCE</H3> <PRE> public static final <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>NON_EMPTY_SEQUENCE</B></PRE> <DL> <DD>A type that only permits a non-empty sequence <P> <DL> </DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="makeSequenceType(net.sf.saxon.type.ItemType, int)"><!-- --></A><H3> makeSequenceType</H3> <PRE> public static <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A> <B>makeSequenceType</B>(<A HREF="../../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A> primaryType, int cardinality)</PRE> <DL> <DD>Construct an instance of SequenceType. This is a factory method: it maintains a pool of SequenceType objects to reduce the amount of object creation. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>primaryType</CODE> - The item type<DD><CODE>cardinality</CODE> - The required cardinality. This must be one of the constants <A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#EXACTLY_ONE"><CODE>StaticProperty.EXACTLY_ONE</CODE></A>, <A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#ALLOWS_ONE_OR_MORE"><CODE>StaticProperty.ALLOWS_ONE_OR_MORE</CODE></A>, etc <DT><B>Returns:</B><DD>the SequenceType (either a newly created object, or an existing one from the cache)</DL> </DD> </DL> <HR> <A NAME="getPrimaryType()"><!-- --></A><H3> getPrimaryType</H3> <PRE> public <A HREF="../../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A> <B>getPrimaryType</B>()</PRE> <DL> <DD>Get the "primary" part of this required type. E.g. for type element(*, xs:date) the "primary type" is element() <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The item type code of the primary type</DL> </DD> </DL> <HR> <A NAME="getCardinality()"><!-- --></A><H3> getCardinality</H3> <PRE> public int <B>getCardinality</B>()</PRE> <DL> <DD>Get the cardinality component of this SequenceType. This is one of the constants <A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#EXACTLY_ONE"><CODE>StaticProperty.EXACTLY_ONE</CODE></A>, <A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#ALLOWS_ONE_OR_MORE"><CODE>StaticProperty.ALLOWS_ONE_OR_MORE</CODE></A>, etc <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the required cardinality<DT><B>See Also:</B><DD><A HREF="../../../../net/sf/saxon/value/Cardinality.html" title="class in net.sf.saxon.value"><CODE>Cardinality</CODE></A></DL> </DD> </DL> <HR> <A NAME="matches(net.sf.saxon.value.Value, net.sf.saxon.Configuration)"><!-- --></A><H3> matches</H3> <PRE> public boolean <B>matches</B>(<A HREF="../../../../net/sf/saxon/value/Value.html" title="class in net.sf.saxon.value">Value</A> value, <A HREF="../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A> config) throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Determine whether a given value is a valid instance of this SequenceType <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>value</CODE> - the value to be tested <DT><B>Returns:</B><DD>true if the value is a valid instance of this type <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL> </DD> </DL> <HR> <A NAME="toString()"><!-- --></A><H3> toString</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE> <DL> <DD>Return a string representation of this SequenceType <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the string representation as an instance of the XPath SequenceType construct</DL> </DD> </DL> <HR> <A NAME="hashCode()"><!-- --></A><H3> hashCode</H3> <PRE> public int <B>hashCode</B>()</PRE> <DL> <DD>Returns a hash code value for the object. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="equals(java.lang.Object)"><!-- --></A><H3> equals</H3> <PRE> public boolean <B>equals</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> <DL> <DD>Indicates whether some other object is "equal to" this one. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/sf/saxon/value/SequenceExtent.html" title="class in net.sf.saxon.value"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/value/ShareableSequence.html" title="class in net.sf.saxon.value"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/value/SequenceType.html" target="_top"><B>FRAMES</B></A> <A HREF="SequenceType.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright (c) 2004-2011 Saxonica Limited. All rights reserved. </BODY> </HTML>