<!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:09 GMT 2011 --> <TITLE> StaticProperty </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="StaticProperty"; } } </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/expr/StaticContext.html" title="interface in net.sf.saxon.expr"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/expr/StringLiteral.html" title="class in net.sf.saxon.expr"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/expr/StaticProperty.html" target="_top"><B>FRAMES</B></A> <A HREF="StaticProperty.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.expr</FONT> <BR> Class StaticProperty</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.expr.StaticProperty</B> </PRE> <HR> <DL> <DT><PRE>public abstract class <B>StaticProperty</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></DL> </PRE> <P> This class contains constants identifying dependencies that an XPath expression might have on its context. <P> <P> <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 int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#ALL_NODES_UNTYPED">ALL_NODES_UNTYPED</A></B></CODE> <BR> Expression property: this bit indicates that in the result of an expression, any element and attribute nodes that are present will have type annotation xs:untyped or xs:untypedAtomic respectively, and that any document nodes that are present will have no element children whose type annotation is anything other than xs:untyped</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#ALLOWS_MANY">ALLOWS_MANY</A></B></CODE> <BR> Bit set if multiple values are allowed</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#ALLOWS_ONE">ALLOWS_ONE</A></B></CODE> <BR> Bit set if a single value is allowed</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#ALLOWS_ONE_OR_MORE">ALLOWS_ONE_OR_MORE</A></B></CODE> <BR> Occurence indicator for "one or more" (+)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#ALLOWS_ZERO">ALLOWS_ZERO</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#ALLOWS_ZERO_OR_MORE">ALLOWS_ZERO_OR_MORE</A></B></CODE> <BR> Occurence indicator for "zero or more" (*)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#ALLOWS_ZERO_OR_ONE">ALLOWS_ZERO_OR_ONE</A></B></CODE> <BR> Occurence indicator for "zero or one" (?)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#ATTRIBUTE_NS_NODESET">ATTRIBUTE_NS_NODESET</A></B></CODE> <BR> Expression property: this bit is set by getProperties() in the case of an expression that delivers a set of nodes with the guarantee that every node in the result will be an attribute or namespace of the context node</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#CARDINALITY_MASK">CARDINALITY_MASK</A></B></CODE> <BR> Mask for all cardinality bits</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#CONTEXT_DOCUMENT_NODESET">CONTEXT_DOCUMENT_NODESET</A></B></CODE> <BR> Expression property: this bit is set by getProperties() in the case of an expression whose item type is node, when the nodes in the result are guaranteed all to be in the same document as the context node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDENCY_MASK">DEPENDENCY_MASK</A></B></CODE> <BR> Mask to select all the dependency bits</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDS_ON_ASSIGNABLE_GLOBALS">DEPENDS_ON_ASSIGNABLE_GLOBALS</A></B></CODE> <BR> Bit setting: Expression depends on assignable global variables</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDS_ON_CONTEXT_DOCUMENT">DEPENDS_ON_CONTEXT_DOCUMENT</A></B></CODE> <BR> Bit setting: Expression depends on the document containing the context node</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDS_ON_CONTEXT_ITEM">DEPENDS_ON_CONTEXT_ITEM</A></B></CODE> <BR> Bit setting: Expression depends on context item</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDS_ON_CURRENT_GROUP">DEPENDS_ON_CURRENT_GROUP</A></B></CODE> <BR> Bit setting: Expression depends on current-group() and/or current-grouping-key()</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDS_ON_CURRENT_ITEM">DEPENDS_ON_CURRENT_ITEM</A></B></CODE> <BR> Bit setting: Expression depends on current() item</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDS_ON_FOCUS">DEPENDS_ON_FOCUS</A></B></CODE> <BR> Combination of bits representing dependencies on the focus</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDS_ON_LAST">DEPENDS_ON_LAST</A></B></CODE> <BR> Bit setting: Expression depends on last()</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDS_ON_LOCAL_VARIABLES">DEPENDS_ON_LOCAL_VARIABLES</A></B></CODE> <BR> Bit setting: Expression depends on local variables</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDS_ON_NON_DOCUMENT_FOCUS">DEPENDS_ON_NON_DOCUMENT_FOCUS</A></B></CODE> <BR> Combination of bits representing dependencies on the focus, but excluding dependencies on the current document</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDS_ON_POSITION">DEPENDS_ON_POSITION</A></B></CODE> <BR> Bit setting: Expression depends on position()</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDS_ON_REGEX_GROUP">DEPENDS_ON_REGEX_GROUP</A></B></CODE> <BR> Bit setting: Expression depends on regex-group()</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDS_ON_RUNTIME_ENVIRONMENT">DEPENDS_ON_RUNTIME_ENVIRONMENT</A></B></CODE> <BR> Bit setting: Expression can't be evaluated at compile time for reasons other than the above</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDS_ON_USER_FUNCTIONS">DEPENDS_ON_USER_FUNCTIONS</A></B></CODE> <BR> Bit setting: Expression depends on user-defined functions</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#DEPENDS_ON_XSLT_CONTEXT">DEPENDS_ON_XSLT_CONTEXT</A></B></CODE> <BR> Combination of bits representing dependencies on the XSLT context</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#EMPTY">EMPTY</A></B></CODE> <BR> Occurence indicator when an empty sequence is required</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#EXACTLY_ONE">EXACTLY_ONE</A></B></CODE> <BR> Occurence indicator for "exactly one" (default occurrence indicator)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#HAS_SIDE_EFFECTS">HAS_SIDE_EFFECTS</A></B></CODE> <BR> Expression property: this bit indicates that an expression has (or might have) side-effects.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#MUST_MAINTAIN_POSITION">MUST_MAINTAIN_POSITION</A></B></CODE> <BR> Expression property: this bit indicates that the expression is required during evaluation to maintain the values of position() and last() because they might be required.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#NON_CREATIVE">NON_CREATIVE</A></B></CODE> <BR> Expression property: this bit is set in the case of an expression that will never return newly created nodes, nor a value that depends on the identity of newly created nodes (for example generate-id(new-node())).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#NOT_UNTYPED_ATOMIC">NOT_UNTYPED_ATOMIC</A></B></CODE> <BR> Expression property: this bit indicates that although the static type of the expression permits untyped atomic values, it is known that the value will not be untyped atomic.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#ORDERED_NODESET">ORDERED_NODESET</A></B></CODE> <BR> Expression property: this bit is set by getProperties() in the case of an expression whose item type is node, when the nodes in the result are in document order.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#PEER_NODESET">PEER_NODESET</A></B></CODE> <BR> Expression property: this bit is set by getProperties() in the case of an expression that delivers a set of nodes with the guarantee that no node in the set will be an ancestor of any other.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#REVERSE_DOCUMENT_ORDER">REVERSE_DOCUMENT_ORDER</A></B></CODE> <BR> Expression property: this bit is set by getProperties() in the case of an expression that delivers items in the reverse of the correct order, when unordered retrieval is requested.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#SINGLE_DOCUMENT_NODESET">SINGLE_DOCUMENT_NODESET</A></B></CODE> <BR> Expression property: this bit is set in the case of an expression that delivers a set of nodes that are all in the same document (not necessarily the same document as the context node).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#SPECIAL_PROPERTY_MASK">SPECIAL_PROPERTY_MASK</A></B></CODE> <BR> Mask for "special properties": that is, all properties other than cardinality and dependencies</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#SUBTREE_NODESET">SUBTREE_NODESET</A></B></CODE> <BR> Expression property: this bit is set by getProperties() in the case of an expression that delivers a set of nodes with the guarantee that every node in the result will be a descendant or self, or attribute or namespace, of the context node</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>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/StaticProperty.html#getCardinalityCode(int)">getCardinalityCode</A></B>(int cardinality)</CODE> <BR> Reduce the cardinality value to an integer in the range 0-7</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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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#toString()" title="class or interface in java.lang">toString</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="DEPENDS_ON_CURRENT_ITEM"><!-- --></A><H3> DEPENDS_ON_CURRENT_ITEM</H3> <PRE> public static final int <B>DEPENDS_ON_CURRENT_ITEM</B></PRE> <DL> <DD>Bit setting: Expression depends on current() item <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDS_ON_CURRENT_ITEM">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEPENDS_ON_CONTEXT_ITEM"><!-- --></A><H3> DEPENDS_ON_CONTEXT_ITEM</H3> <PRE> public static final int <B>DEPENDS_ON_CONTEXT_ITEM</B></PRE> <DL> <DD>Bit setting: Expression depends on context item <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDS_ON_CONTEXT_ITEM">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEPENDS_ON_POSITION"><!-- --></A><H3> DEPENDS_ON_POSITION</H3> <PRE> public static final int <B>DEPENDS_ON_POSITION</B></PRE> <DL> <DD>Bit setting: Expression depends on position() <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDS_ON_POSITION">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEPENDS_ON_LAST"><!-- --></A><H3> DEPENDS_ON_LAST</H3> <PRE> public static final int <B>DEPENDS_ON_LAST</B></PRE> <DL> <DD>Bit setting: Expression depends on last() <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDS_ON_LAST">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEPENDS_ON_CONTEXT_DOCUMENT"><!-- --></A><H3> DEPENDS_ON_CONTEXT_DOCUMENT</H3> <PRE> public static final int <B>DEPENDS_ON_CONTEXT_DOCUMENT</B></PRE> <DL> <DD>Bit setting: Expression depends on the document containing the context node <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDS_ON_CONTEXT_DOCUMENT">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEPENDS_ON_CURRENT_GROUP"><!-- --></A><H3> DEPENDS_ON_CURRENT_GROUP</H3> <PRE> public static final int <B>DEPENDS_ON_CURRENT_GROUP</B></PRE> <DL> <DD>Bit setting: Expression depends on current-group() and/or current-grouping-key() <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDS_ON_CURRENT_GROUP">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEPENDS_ON_REGEX_GROUP"><!-- --></A><H3> DEPENDS_ON_REGEX_GROUP</H3> <PRE> public static final int <B>DEPENDS_ON_REGEX_GROUP</B></PRE> <DL> <DD>Bit setting: Expression depends on regex-group() <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDS_ON_REGEX_GROUP">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEPENDS_ON_LOCAL_VARIABLES"><!-- --></A><H3> DEPENDS_ON_LOCAL_VARIABLES</H3> <PRE> public static final int <B>DEPENDS_ON_LOCAL_VARIABLES</B></PRE> <DL> <DD>Bit setting: Expression depends on local variables <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDS_ON_LOCAL_VARIABLES">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEPENDS_ON_USER_FUNCTIONS"><!-- --></A><H3> DEPENDS_ON_USER_FUNCTIONS</H3> <PRE> public static final int <B>DEPENDS_ON_USER_FUNCTIONS</B></PRE> <DL> <DD>Bit setting: Expression depends on user-defined functions <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDS_ON_USER_FUNCTIONS">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEPENDS_ON_ASSIGNABLE_GLOBALS"><!-- --></A><H3> DEPENDS_ON_ASSIGNABLE_GLOBALS</H3> <PRE> public static final int <B>DEPENDS_ON_ASSIGNABLE_GLOBALS</B></PRE> <DL> <DD>Bit setting: Expression depends on assignable global variables <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDS_ON_ASSIGNABLE_GLOBALS">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEPENDS_ON_RUNTIME_ENVIRONMENT"><!-- --></A><H3> DEPENDS_ON_RUNTIME_ENVIRONMENT</H3> <PRE> public static final int <B>DEPENDS_ON_RUNTIME_ENVIRONMENT</B></PRE> <DL> <DD>Bit setting: Expression can't be evaluated at compile time for reasons other than the above <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDS_ON_RUNTIME_ENVIRONMENT">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEPENDS_ON_XSLT_CONTEXT"><!-- --></A><H3> DEPENDS_ON_XSLT_CONTEXT</H3> <PRE> public static final int <B>DEPENDS_ON_XSLT_CONTEXT</B></PRE> <DL> <DD>Combination of bits representing dependencies on the XSLT context <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDS_ON_XSLT_CONTEXT">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEPENDS_ON_FOCUS"><!-- --></A><H3> DEPENDS_ON_FOCUS</H3> <PRE> public static final int <B>DEPENDS_ON_FOCUS</B></PRE> <DL> <DD>Combination of bits representing dependencies on the focus <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDS_ON_FOCUS">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEPENDS_ON_NON_DOCUMENT_FOCUS"><!-- --></A><H3> DEPENDS_ON_NON_DOCUMENT_FOCUS</H3> <PRE> public static final int <B>DEPENDS_ON_NON_DOCUMENT_FOCUS</B></PRE> <DL> <DD>Combination of bits representing dependencies on the focus, but excluding dependencies on the current document <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDS_ON_NON_DOCUMENT_FOCUS">Constant Field Values</A></DL> </DL> <HR> <A NAME="ALLOWS_ZERO"><!-- --></A><H3> ALLOWS_ZERO</H3> <PRE> public static final int <B>ALLOWS_ZERO</B></PRE> <DL> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.ALLOWS_ZERO">Constant Field Values</A></DL> </DL> <HR> <A NAME="ALLOWS_ONE"><!-- --></A><H3> ALLOWS_ONE</H3> <PRE> public static final int <B>ALLOWS_ONE</B></PRE> <DL> <DD>Bit set if a single value is allowed <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.ALLOWS_ONE">Constant Field Values</A></DL> </DL> <HR> <A NAME="ALLOWS_MANY"><!-- --></A><H3> ALLOWS_MANY</H3> <PRE> public static final int <B>ALLOWS_MANY</B></PRE> <DL> <DD>Bit set if multiple values are allowed <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.ALLOWS_MANY">Constant Field Values</A></DL> </DL> <HR> <A NAME="CARDINALITY_MASK"><!-- --></A><H3> CARDINALITY_MASK</H3> <PRE> public static final int <B>CARDINALITY_MASK</B></PRE> <DL> <DD>Mask for all cardinality bits <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.CARDINALITY_MASK">Constant Field Values</A></DL> </DL> <HR> <A NAME="ALLOWS_ONE_OR_MORE"><!-- --></A><H3> ALLOWS_ONE_OR_MORE</H3> <PRE> public static final int <B>ALLOWS_ONE_OR_MORE</B></PRE> <DL> <DD>Occurence indicator for "one or more" (+) <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.ALLOWS_ONE_OR_MORE">Constant Field Values</A></DL> </DL> <HR> <A NAME="ALLOWS_ZERO_OR_MORE"><!-- --></A><H3> ALLOWS_ZERO_OR_MORE</H3> <PRE> public static final int <B>ALLOWS_ZERO_OR_MORE</B></PRE> <DL> <DD>Occurence indicator for "zero or more" (*) <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.ALLOWS_ZERO_OR_MORE">Constant Field Values</A></DL> </DL> <HR> <A NAME="ALLOWS_ZERO_OR_ONE"><!-- --></A><H3> ALLOWS_ZERO_OR_ONE</H3> <PRE> public static final int <B>ALLOWS_ZERO_OR_ONE</B></PRE> <DL> <DD>Occurence indicator for "zero or one" (?) <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.ALLOWS_ZERO_OR_ONE">Constant Field Values</A></DL> </DL> <HR> <A NAME="EXACTLY_ONE"><!-- --></A><H3> EXACTLY_ONE</H3> <PRE> public static final int <B>EXACTLY_ONE</B></PRE> <DL> <DD>Occurence indicator for "exactly one" (default occurrence indicator) <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.EXACTLY_ONE">Constant Field Values</A></DL> </DL> <HR> <A NAME="EMPTY"><!-- --></A><H3> EMPTY</H3> <PRE> public static final int <B>EMPTY</B></PRE> <DL> <DD>Occurence indicator when an empty sequence is required <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.EMPTY">Constant Field Values</A></DL> </DL> <HR> <A NAME="CONTEXT_DOCUMENT_NODESET"><!-- --></A><H3> CONTEXT_DOCUMENT_NODESET</H3> <PRE> public static final int <B>CONTEXT_DOCUMENT_NODESET</B></PRE> <DL> <DD>Expression property: this bit is set by getProperties() in the case of an expression whose item type is node, when the nodes in the result are guaranteed all to be in the same document as the context node. For expressions that return values other than nodes, the setting is undefined. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.CONTEXT_DOCUMENT_NODESET">Constant Field Values</A></DL> </DL> <HR> <A NAME="ORDERED_NODESET"><!-- --></A><H3> ORDERED_NODESET</H3> <PRE> public static final int <B>ORDERED_NODESET</B></PRE> <DL> <DD>Expression property: this bit is set by getProperties() in the case of an expression whose item type is node, when the nodes in the result are in document order. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.ORDERED_NODESET">Constant Field Values</A></DL> </DL> <HR> <A NAME="REVERSE_DOCUMENT_ORDER"><!-- --></A><H3> REVERSE_DOCUMENT_ORDER</H3> <PRE> public static final int <B>REVERSE_DOCUMENT_ORDER</B></PRE> <DL> <DD>Expression property: this bit is set by getProperties() in the case of an expression that delivers items in the reverse of the correct order, when unordered retrieval is requested. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.REVERSE_DOCUMENT_ORDER">Constant Field Values</A></DL> </DL> <HR> <A NAME="PEER_NODESET"><!-- --></A><H3> PEER_NODESET</H3> <PRE> public static final int <B>PEER_NODESET</B></PRE> <DL> <DD>Expression property: this bit is set by getProperties() in the case of an expression that delivers a set of nodes with the guarantee that no node in the set will be an ancestor of any other. This property is useful in deciding whether the results of a path expression are pre-sorted. The property is only used in the case where the NATURALLY_SORTED property is true, so there is no point in setting it in other cases. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.PEER_NODESET">Constant Field Values</A></DL> </DL> <HR> <A NAME="SUBTREE_NODESET"><!-- --></A><H3> SUBTREE_NODESET</H3> <PRE> public static final int <B>SUBTREE_NODESET</B></PRE> <DL> <DD>Expression property: this bit is set by getProperties() in the case of an expression that delivers a set of nodes with the guarantee that every node in the result will be a descendant or self, or attribute or namespace, of the context node <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.SUBTREE_NODESET">Constant Field Values</A></DL> </DL> <HR> <A NAME="ATTRIBUTE_NS_NODESET"><!-- --></A><H3> ATTRIBUTE_NS_NODESET</H3> <PRE> public static final int <B>ATTRIBUTE_NS_NODESET</B></PRE> <DL> <DD>Expression property: this bit is set by getProperties() in the case of an expression that delivers a set of nodes with the guarantee that every node in the result will be an attribute or namespace of the context node <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.ATTRIBUTE_NS_NODESET">Constant Field Values</A></DL> </DL> <HR> <A NAME="NON_CREATIVE"><!-- --></A><H3> NON_CREATIVE</H3> <PRE> public static final int <B>NON_CREATIVE</B></PRE> <DL> <DD>Expression property: this bit is set in the case of an expression that will never return newly created nodes, nor a value that depends on the identity of newly created nodes (for example generate-id(new-node())). Expressions that do create new nodes cannot be moved out of loops as this could cause too few nodes to be created: for example if f() creates a new node, then count(for $i in 1 to 5 return f()) must be 5. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.NON_CREATIVE">Constant Field Values</A></DL> </DL> <HR> <A NAME="SINGLE_DOCUMENT_NODESET"><!-- --></A><H3> SINGLE_DOCUMENT_NODESET</H3> <PRE> public static final int <B>SINGLE_DOCUMENT_NODESET</B></PRE> <DL> <DD>Expression property: this bit is set in the case of an expression that delivers a set of nodes that are all in the same document (not necessarily the same document as the context node). <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.SINGLE_DOCUMENT_NODESET">Constant Field Values</A></DL> </DL> <HR> <A NAME="HAS_SIDE_EFFECTS"><!-- --></A><H3> HAS_SIDE_EFFECTS</H3> <PRE> public static final int <B>HAS_SIDE_EFFECTS</B></PRE> <DL> <DD>Expression property: this bit indicates that an expression has (or might have) side-effects. This property is applied to calls on extension functions and to certain instructions such as xsl:result-document and xsl:message. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.HAS_SIDE_EFFECTS">Constant Field Values</A></DL> </DL> <HR> <A NAME="NOT_UNTYPED_ATOMIC"><!-- --></A><H3> NOT_UNTYPED_ATOMIC</H3> <PRE> public static final int <B>NOT_UNTYPED_ATOMIC</B></PRE> <DL> <DD>Expression property: this bit indicates that although the static type of the expression permits untyped atomic values, it is known that the value will not be untyped atomic. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.NOT_UNTYPED_ATOMIC">Constant Field Values</A></DL> </DL> <HR> <A NAME="ALL_NODES_UNTYPED"><!-- --></A><H3> ALL_NODES_UNTYPED</H3> <PRE> public static final int <B>ALL_NODES_UNTYPED</B></PRE> <DL> <DD>Expression property: this bit indicates that in the result of an expression, any element and attribute nodes that are present will have type annotation xs:untyped or xs:untypedAtomic respectively, and that any document nodes that are present will have no element children whose type annotation is anything other than xs:untyped <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.ALL_NODES_UNTYPED">Constant Field Values</A></DL> </DL> <HR> <A NAME="MUST_MAINTAIN_POSITION"><!-- --></A><H3> MUST_MAINTAIN_POSITION</H3> <PRE> public static final int <B>MUST_MAINTAIN_POSITION</B></PRE> <DL> <DD>Expression property: this bit indicates that the expression is required during evaluation to maintain the values of position() and last() because they might be required. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.MUST_MAINTAIN_POSITION">Constant Field Values</A></DL> </DL> <HR> <A NAME="DEPENDENCY_MASK"><!-- --></A><H3> DEPENDENCY_MASK</H3> <PRE> public static final int <B>DEPENDENCY_MASK</B></PRE> <DL> <DD>Mask to select all the dependency bits <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.DEPENDENCY_MASK">Constant Field Values</A></DL> </DL> <HR> <A NAME="SPECIAL_PROPERTY_MASK"><!-- --></A><H3> SPECIAL_PROPERTY_MASK</H3> <PRE> public static final int <B>SPECIAL_PROPERTY_MASK</B></PRE> <DL> <DD>Mask for "special properties": that is, all properties other than cardinality and dependencies <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.expr.StaticProperty.SPECIAL_PROPERTY_MASK">Constant Field Values</A></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="getCardinalityCode(int)"><!-- --></A><H3> getCardinalityCode</H3> <PRE> public static int <B>getCardinalityCode</B>(int cardinality)</PRE> <DL> <DD>Reduce the cardinality value to an integer in the range 0-7 <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>cardinality</CODE> - the result of calling getCardinality() on an expression <DT><B>Returns:</B><DD>the cardinality code</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/expr/StaticContext.html" title="interface in net.sf.saxon.expr"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/expr/StringLiteral.html" title="class in net.sf.saxon.expr"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/expr/StaticProperty.html" target="_top"><B>FRAMES</B></A> <A HREF="StaticProperty.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>