<!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:42 GMT 2011 --> <TITLE> SimpleType </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="SimpleType"; } } </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/type/SchemaType.html" title="interface in net.sf.saxon.type"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/type/StringConverter.html" title="class in net.sf.saxon.type"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/type/SimpleType.html" target="_top"><B>FRAMES</B></A> <A HREF="SimpleType.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.type</FONT> <BR> Interface SimpleType</H2> <DL> <DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../net/sf/saxon/type/SchemaComponent.html" title="interface in net.sf.saxon.type">SchemaComponent</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A>, <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> <DL> <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../net/sf/saxon/type/AtomicType.html" title="interface in net.sf.saxon.type">AtomicType</A>, <A HREF="../../../../net/sf/saxon/type/ListType.html" title="interface in net.sf.saxon.type">ListType</A></DD> </DL> <DL> <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../net/sf/saxon/type/AnySimpleType.html" title="class in net.sf.saxon.type">AnySimpleType</A>, <A HREF="../../../../net/sf/saxon/type/BuiltInAtomicType.html" title="class in net.sf.saxon.type">BuiltInAtomicType</A>, <A HREF="../../../../net/sf/saxon/type/BuiltInListType.html" title="class in net.sf.saxon.type">BuiltInListType</A>, <A HREF="../../../../net/sf/saxon/type/ErrorType.html" title="class in net.sf.saxon.type">ErrorType</A>, <A HREF="../../../../net/sf/saxon/type/ExternalObjectType.html" title="class in net.sf.saxon.type">ExternalObjectType</A>, <A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html" title="class in com.saxonica.schema.sdoc">SimpleTypeDefinition</A>, <A HREF="../../../../com/saxonica/schema/UserAtomicType.html" title="class in com.saxonica.schema">UserAtomicType</A>, <A HREF="../../../../com/saxonica/schema/UserListType.html" title="class in com.saxonica.schema">UserListType</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html" title="class in com.saxonica.schema">UserSimpleType</A>, <A HREF="../../../../com/saxonica/schema/UserUnionType.html" title="class in com.saxonica.schema">UserUnionType</A></DD> </DL> <HR> <DL> <DT><PRE>public interface <B>SimpleType</B><DT>extends <A HREF="../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A></DL> </PRE> <P> This interface represents a simple type, which may be a built-in simple type, or a user-defined simple type. <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/type/SimpleType.html#VARIETY_ATOMIC">VARIETY_ATOMIC</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/type/SimpleType.html#VARIETY_LIST">VARIETY_LIST</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/type/SimpleType.html#VARIETY_UNION">VARIETY_UNION</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/type/SimpleType.html#VARIETY_UNSPECIFIED_SIMPLE">VARIETY_UNSPECIFIED_SIMPLE</A></B></CODE> <BR> </TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_net.sf.saxon.type.SchemaType"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface net.sf.saxon.type.<A HREF="../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaType.html#DERIVATION_EXTENSION">DERIVATION_EXTENSION</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#DERIVATION_LIST">DERIVATION_LIST</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#DERIVATION_RESTRICTION">DERIVATION_RESTRICTION</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#DERIVATION_UNION">DERIVATION_UNION</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#DERIVE_BY_SUBSTITUTION">DERIVE_BY_SUBSTITUTION</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_net.sf.saxon.type.SchemaComponent"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface net.sf.saxon.type.<A HREF="../../../../net/sf/saxon/type/SchemaComponent.html" title="interface in net.sf.saxon.type">SchemaComponent</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#FIXED_UP">FIXED_UP</A>, <A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#INCOMPLETE">INCOMPLETE</A>, <A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#INVALID">INVALID</A>, <A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#UNVALIDATED">UNVALIDATED</A>, <A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#VALIDATED">VALIDATED</A>, <A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#VALIDATING">VALIDATING</A></CODE></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> <A HREF="../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/type/SimpleType.html#getBuiltInBaseType()">getBuiltInBaseType</A></B>()</CODE> <BR> Get the built-in type from which this type is derived by restriction</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/saxon/om/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A><<A HREF="../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value">AtomicValue</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/type/SimpleType.html#getTypedValue(java.lang.CharSequence, net.sf.saxon.om.NamespaceResolver, net.sf.saxon.lib.ConversionRules)">getTypedValue</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> value, <A HREF="../../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A> resolver, <A HREF="../../../../net/sf/saxon/lib/ConversionRules.html" title="class in net.sf.saxon.lib">ConversionRules</A> rules)</CODE> <BR> Get the typed value corresponding to a given string value, assuming it is valid against this 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/type/SimpleType.html#getWhitespaceAction()">getWhitespaceAction</A></B>()</CODE> <BR> Determine how values of this simple type are whitespace-normalized.</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/type/SimpleType.html#isAtomicType()">isAtomicType</A></B>()</CODE> <BR> Test whether this Simple Type is an atomic type</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/type/SimpleType.html#isBuiltInType()">isBuiltInType</A></B>()</CODE> <BR> Determine whether this is a built-in type or a user-defined type</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/type/SimpleType.html#isExternalType()">isExternalType</A></B>()</CODE> <BR> Return true if this is an external object type, that is, a Saxon-defined type for external Java or .NET objects</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/type/SimpleType.html#isListType()">isListType</A></B>()</CODE> <BR> Test whether this Simple Type is a list type</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/type/SimpleType.html#isNamespaceSensitive()">isNamespaceSensitive</A></B>()</CODE> <BR> Test whether this type is namespace sensitive, that is, if a namespace context is needed to translate between the lexical space and the value space.</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/type/SimpleType.html#isUnionType()">isUnionType</A></B>()</CODE> <BR> Test whether this Simple Type is a union type</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/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/type/SimpleType.html#postprocess(java.lang.CharSequence)">postprocess</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> input)</CODE> <BR> Reverse any pre-lexical facets, other than whitespace.</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/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/type/SimpleType.html#preprocess(java.lang.CharSequence)">preprocess</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> input)</CODE> <BR> Apply any pre-lexical facets, other than whitespace.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/saxon/type/ValidationFailure.html" title="class in net.sf.saxon.type">ValidationFailure</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/type/SimpleType.html#validateContent(java.lang.CharSequence, net.sf.saxon.om.NamespaceResolver, net.sf.saxon.lib.ConversionRules)">validateContent</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> value, <A HREF="../../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A> nsResolver, <A HREF="../../../../net/sf/saxon/lib/ConversionRules.html" title="class in net.sf.saxon.lib">ConversionRules</A> rules)</CODE> <BR> Check whether a given input string is valid according to this SimpleType</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.type.SchemaType"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface net.sf.saxon.type.<A HREF="../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaType.html#allowsDerivation(int)">allowsDerivation</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#analyzeContentExpression(net.sf.saxon.expr.Expression, int, net.sf.saxon.expr.StaticContext)">analyzeContentExpression</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#atomize(net.sf.saxon.om.NodeInfo)">atomize</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#checkTypeDerivationIsOK(net.sf.saxon.type.SchemaType, int)">checkTypeDerivationIsOK</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getBaseType()">getBaseType</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getBlock()">getBlock</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getDerivationMethod()">getDerivationMethod</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getDescription()">getDescription</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getDisplayName()">getDisplayName</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getFingerprint()">getFingerprint</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getName()">getName</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getNameCode()">getNameCode</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getSystemId()">getSystemId</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getTargetNamespace()">getTargetNamespace</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#getTypedValue(net.sf.saxon.om.NodeInfo)">getTypedValue</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#isAnonymousType()">isAnonymousType</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#isComplexType()">isComplexType</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#isIdRefType()">isIdRefType</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#isIdType()">isIdType</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#isSameType(net.sf.saxon.type.SchemaType)">isSameType</A>, <A HREF="../../../../net/sf/saxon/type/SchemaType.html#isSimpleType()">isSimpleType</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.type.SchemaComponent"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface net.sf.saxon.type.<A HREF="../../../../net/sf/saxon/type/SchemaComponent.html" title="interface in net.sf.saxon.type">SchemaComponent</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#getRedefinitionLevel()">getRedefinitionLevel</A>, <A HREF="../../../../net/sf/saxon/type/SchemaComponent.html#getValidationStatus()">getValidationStatus</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="VARIETY_ATOMIC"><!-- --></A><H3> VARIETY_ATOMIC</H3> <PRE> static final int <B>VARIETY_ATOMIC</B></PRE> <DL> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.type.SimpleType.VARIETY_ATOMIC">Constant Field Values</A></DL> </DL> <HR> <A NAME="VARIETY_LIST"><!-- --></A><H3> VARIETY_LIST</H3> <PRE> static final int <B>VARIETY_LIST</B></PRE> <DL> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.type.SimpleType.VARIETY_LIST">Constant Field Values</A></DL> </DL> <HR> <A NAME="VARIETY_UNION"><!-- --></A><H3> VARIETY_UNION</H3> <PRE> static final int <B>VARIETY_UNION</B></PRE> <DL> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.type.SimpleType.VARIETY_UNION">Constant Field Values</A></DL> </DL> <HR> <A NAME="VARIETY_UNSPECIFIED_SIMPLE"><!-- --></A><H3> VARIETY_UNSPECIFIED_SIMPLE</H3> <PRE> static final int <B>VARIETY_UNSPECIFIED_SIMPLE</B></PRE> <DL> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sf.saxon.type.SimpleType.VARIETY_UNSPECIFIED_SIMPLE">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="isAtomicType()"><!-- --></A><H3> isAtomicType</H3> <PRE> boolean <B>isAtomicType</B>()</PRE> <DL> <DD>Test whether this Simple Type is an atomic type <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaType.html#isAtomicType()">isAtomicType</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if this is an atomic type</DL> </DD> </DL> <HR> <A NAME="isListType()"><!-- --></A><H3> isListType</H3> <PRE> boolean <B>isListType</B>()</PRE> <DL> <DD>Test whether this Simple Type is a list type <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if this is a list type</DL> </DD> </DL> <HR> <A NAME="isUnionType()"><!-- --></A><H3> isUnionType</H3> <PRE> boolean <B>isUnionType</B>()</PRE> <DL> <DD>Test whether this Simple Type is a union type <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if this is a union type</DL> </DD> </DL> <HR> <A NAME="isExternalType()"><!-- --></A><H3> isExternalType</H3> <PRE> boolean <B>isExternalType</B>()</PRE> <DL> <DD>Return true if this is an external object type, that is, a Saxon-defined type for external Java or .NET objects <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if this is an external type</DL> </DD> </DL> <HR> <A NAME="isBuiltInType()"><!-- --></A><H3> isBuiltInType</H3> <PRE> boolean <B>isBuiltInType</B>()</PRE> <DL> <DD>Determine whether this is a built-in type or a user-defined type <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if this is a built-in type</DL> </DD> </DL> <HR> <A NAME="getBuiltInBaseType()"><!-- --></A><H3> getBuiltInBaseType</H3> <PRE> <A HREF="../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A> <B>getBuiltInBaseType</B>()</PRE> <DL> <DD>Get the built-in type from which this type is derived by restriction <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the built-in type from which this type is derived by restriction. This will not necessarily be a primitive type.</DL> </DD> </DL> <HR> <A NAME="getTypedValue(java.lang.CharSequence, net.sf.saxon.om.NamespaceResolver, net.sf.saxon.lib.ConversionRules)"><!-- --></A><H3> getTypedValue</H3> <PRE> <A HREF="../../../../net/sf/saxon/om/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A><<A HREF="../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value">AtomicValue</A>> <B>getTypedValue</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> value, <A HREF="../../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A> resolver, <A HREF="../../../../net/sf/saxon/lib/ConversionRules.html" title="class in net.sf.saxon.lib">ConversionRules</A> rules) throws <A HREF="../../../../net/sf/saxon/type/ValidationException.html" title="class in net.sf.saxon.type">ValidationException</A></PRE> <DL> <DD>Get the typed value corresponding to a given string value, assuming it is valid against this type <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>value</CODE> - the string value<DD><CODE>resolver</CODE> - a namespace resolver used to resolve any namespace prefixes appearing in the content of values. Can supply null, in which case any namespace-sensitive content will be rejected.<DD><CODE>rules</CODE> - the conversion rules from the configuration <DT><B>Returns:</B><DD>an iterator over the atomic sequence comprising the typed value. The objects returned by this SequenceIterator will all be of type <A HREF="../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value"><CODE>AtomicValue</CODE></A>, The next() method on the iterator throws no checked exceptions, although it is not actually declared as an UnfailingIterator. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../net/sf/saxon/type/ValidationException.html" title="class in net.sf.saxon.type">ValidationException</A></CODE> - if the supplied value is not in the lexical space of the data type</DL> </DD> </DL> <HR> <A NAME="validateContent(java.lang.CharSequence, net.sf.saxon.om.NamespaceResolver, net.sf.saxon.lib.ConversionRules)"><!-- --></A><H3> validateContent</H3> <PRE> <A HREF="../../../../net/sf/saxon/type/ValidationFailure.html" title="class in net.sf.saxon.type">ValidationFailure</A> <B>validateContent</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> value, <A HREF="../../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A> nsResolver, <A HREF="../../../../net/sf/saxon/lib/ConversionRules.html" title="class in net.sf.saxon.lib">ConversionRules</A> rules)</PRE> <DL> <DD>Check whether a given input string is valid according to this SimpleType <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>value</CODE> - the input string to be checked<DD><CODE>nsResolver</CODE> - a namespace resolver used to resolve namespace prefixes if the type is namespace sensitive. The value supplied may be null; in this case any namespace-sensitive content will throw an UnsupportedOperationException.<DD><CODE>rules</CODE> - the conversion rules from the configuration <DT><B>Returns:</B><DD>null if validation succeeds; or return a ValidationFailure describing the validation failure if validation fails. Note that the exception is returned rather than being thrown. <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - if the type is namespace-sensitive and no namespace resolver is supplied</DL> </DD> </DL> <HR> <A NAME="isNamespaceSensitive()"><!-- --></A><H3> isNamespaceSensitive</H3> <PRE> boolean <B>isNamespaceSensitive</B>()</PRE> <DL> <DD>Test whether this type is namespace sensitive, that is, if a namespace context is needed to translate between the lexical space and the value space. This is true for types derived from, or containing, QNames and NOTATIONs <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if the type is namespace-sensitive</DL> </DD> </DL> <HR> <A NAME="getWhitespaceAction()"><!-- --></A><H3> getWhitespaceAction</H3> <PRE> int <B>getWhitespaceAction</B>()</PRE> <DL> <DD>Determine how values of this simple type are whitespace-normalized. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>one of <A HREF="../../../../net/sf/saxon/value/Whitespace.html#PRESERVE"><CODE>Whitespace.PRESERVE</CODE></A>, <A HREF="../../../../net/sf/saxon/value/Whitespace.html#COLLAPSE"><CODE>Whitespace.COLLAPSE</CODE></A>, <A HREF="../../../../net/sf/saxon/value/Whitespace.html#REPLACE"><CODE>Whitespace.REPLACE</CODE></A>.</DL> </DD> </DL> <HR> <A NAME="preprocess(java.lang.CharSequence)"><!-- --></A><H3> preprocess</H3> <PRE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> <B>preprocess</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> input) throws <A HREF="../../../../net/sf/saxon/type/ValidationException.html" title="class in net.sf.saxon.type">ValidationException</A></PRE> <DL> <DD>Apply any pre-lexical facets, other than whitespace. At the moment the only such facet is saxon:preprocess <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>input</CODE> - the value to be preprocessed <DT><B>Returns:</B><DD>the value after preprocessing <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../net/sf/saxon/type/ValidationException.html" title="class in net.sf.saxon.type">ValidationException</A></CODE> - if preprocessing detects that the value is invalid</DL> </DD> </DL> <HR> <A NAME="postprocess(java.lang.CharSequence)"><!-- --></A><H3> postprocess</H3> <PRE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> <B>postprocess</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> input) throws <A HREF="../../../../net/sf/saxon/type/ValidationException.html" title="class in net.sf.saxon.type">ValidationException</A></PRE> <DL> <DD>Reverse any pre-lexical facets, other than whitespace. At the moment the only such facet is saxon:preprocess. This is called when converting a value of this type to a string <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>input</CODE> - the value to be postprocessed: this is the "ordinary" result of converting the value to a string <DT><B>Returns:</B><DD>the value after postprocessing <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../net/sf/saxon/type/ValidationException.html" title="class in net.sf.saxon.type">ValidationException</A></CODE> - if postprocessing detects that the value is invalid</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/type/SchemaType.html" title="interface in net.sf.saxon.type"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/type/StringConverter.html" title="class in net.sf.saxon.type"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/type/SimpleType.html" target="_top"><B>FRAMES</B></A> <A HREF="SimpleType.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>