<!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:47:48 GMT 2011 --> <TITLE> UserSimpleType </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="UserSimpleType"; } } </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="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema"><B>PREV CLASS</B></A> <A HREF="../../../com/saxonica/schema/UserUnionType.html" title="class in com.saxonica.schema"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/saxonica/schema/UserSimpleType.html" target="_top"><B>FRAMES</B></A> <A HREF="UserSimpleType.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="#fields_inherited_from_class_com.saxonica.schema.UserDefinedType">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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"> com.saxonica.schema</FONT> <BR> Class UserSimpleType</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 "><A HREF="../../../com/saxonica/schema/SchemaStructure.html" title="class in com.saxonica.schema">com.saxonica.schema.SchemaStructure</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/saxonica/schema/UserDefinedType.html" title="class in com.saxonica.schema">com.saxonica.schema.UserDefinedType</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.saxonica.schema.UserSimpleType</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../com/saxonica/schema/SerializableSchemaComponent.html" title="interface in com.saxonica.schema">SerializableSchemaComponent</A>, <A HREF="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema">UserSchemaComponent</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>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/SourceLocator.html?is-external=true" title="class or interface in javax.xml.transform">SourceLocator</A>, <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="../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><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/UserUnionType.html" title="class in com.saxonica.schema">UserUnionType</A></DD> </DL> <HR> <DL> <DT><PRE>public abstract class <B>UserSimpleType</B><DT>extends <A HREF="../../../com/saxonica/schema/UserDefinedType.html" title="class in com.saxonica.schema">UserDefinedType</A><DT>implements <A HREF="../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A>, <A HREF="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema">UserSchemaComponent</A>, <A HREF="../../../com/saxonica/schema/SerializableSchemaComponent.html" title="interface in com.saxonica.schema">SerializableSchemaComponent</A></DL> </PRE> <P> This class represents a used-defined simple type, as defined in the XML Schema specification. This may be an atomic type, a list type, or a union type. In the non-schema-aware version of Saxon, a simple type will always be a built-in type. With the schema-aware product, it may also be a user-defined simple type. <P> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#com.saxonica.schema.UserSimpleType">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> </TABLE> <A NAME="fields_inherited_from_class_com.saxonica.schema.UserDefinedType"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class com.saxonica.schema.<A HREF="../../../com/saxonica/schema/UserDefinedType.html" title="class in com.saxonica.schema">UserDefinedType</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../com/saxonica/schema/UserDefinedType.html#extendedTypes">extendedTypes</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#finalProhibitions">finalProhibitions</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_net.sf.saxon.type.SimpleType"><!-- --></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/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html#VARIETY_ATOMIC">VARIETY_ATOMIC</A>, <A HREF="../../../net/sf/saxon/type/SimpleType.html#VARIETY_LIST">VARIETY_LIST</A>, <A HREF="../../../net/sf/saxon/type/SimpleType.html#VARIETY_UNION">VARIETY_UNION</A>, <A HREF="../../../net/sf/saxon/type/SimpleType.html#VARIETY_UNSPECIFIED_SIMPLE">VARIETY_UNSPECIFIED_SIMPLE</A></CODE></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> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_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>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#UserSimpleType()">UserSimpleType</A></B>()</CODE> <BR> Construct a UserSimpleType</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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#addFacet(com.saxonica.schema.Facet)">addFacet</A></B>(<A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A> facet)</CODE> <BR> Add the given Facet to this Simpletype.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#addInheritedFacets(java.util.List)">addInheritedFacets</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A>> localFacets)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#analyzeContentExpression(net.sf.saxon.expr.Expression, int, net.sf.saxon.expr.StaticContext)">analyzeContentExpression</A></B>(<A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A> expression, int kind, <A HREF="../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A> env)</CODE> <BR> Analyze an expression to see whether the expression is capable of delivering a value of this 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="../../../com/saxonica/schema/UserSimpleType.html#applyWhitespaceNormalization(java.lang.CharSequence)">applyWhitespaceNormalization</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)</CODE> <BR> Apply the whitespace normalization rules for this simple type</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../net/sf/saxon/value/Value.html" title="class in net.sf.saxon.value">Value</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#atomize(net.sf.saxon.om.NodeInfo)">atomize</A></B>(<A HREF="../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> node)</CODE> <BR> Get the typed value of a node that is annotated with this schema type.</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="../../../com/saxonica/schema/UserSimpleType.html#checkAgainstFacets(net.sf.saxon.value.Value, java.lang.CharSequence, java.util.Iterator)">checkAgainstFacets</A></B>(<A HREF="../../../net/sf/saxon/value/Value.html" title="class in net.sf.saxon.value">Value</A> primitiveValue, <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> lexicalValue, <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A> iter)</CODE> <BR> Validate that the value conforms to all the constraining facets for the given type.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#checkTypeDerivationIsOK(net.sf.saxon.type.SchemaType, int)">checkTypeDerivationIsOK</A></B>(<A HREF="../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A> type, int block)</CODE> <BR> Check that this type is validly derived from a given type</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#convertFacetValues()">convertFacetValues</A></B>()</CODE> <BR> Convert the values of facets to the target data type</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#elaborate(com.saxonica.schema.SchemaCompiler)">elaborate</A></B>(<A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler)</CODE> <BR> Elaborate the schema component: after reloading a serialized schema component model, this expands the component with derived information needed during validation episodes.</TD> </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="../../../com/saxonica/schema/UserSimpleType.html#getBuiltInBaseType()">getBuiltInBaseType</A></B>()</CODE> <BR> Returns the built-in base type this type is derived from.</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/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#getExtendedFacetList()">getExtendedFacetList</A></B>()</CODE> <BR> Get the extended facet list, creating it if necessary.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#getFacet(java.lang.Class)">getFacet</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> name)</CODE> <BR> Returns the first facet associated with the given name, defined either on this type or on a type from which it is derived</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/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#getFacets()">getFacets</A></B>()</CODE> <BR> Returns an Iterator over all the Facets (including inherited facets) for this 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/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#getLocalFacetList()">getLocalFacetList</A></B>()</CODE> <BR> Return all the facets for this type</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="../../../com/saxonica/schema/UserSimpleType.html#getTypedValue(net.sf.saxon.om.NodeInfo)">getTypedValue</A></B>(<A HREF="../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> node)</CODE> <BR> Get the typed value of a node that is annotated with this schema 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="../../../com/saxonica/schema/UserSimpleType.html#getWhitespaceAction()">getWhitespaceAction</A></B>()</CODE> <BR> Determine the whitespace normalization required for values of this 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="../../../com/saxonica/schema/UserSimpleType.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="../../../com/saxonica/schema/UserSimpleType.html#isIdRefType()">isIdRefType</A></B>()</CODE> <BR> Ask whether this type is an IDREF or IDREFS 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="../../../com/saxonica/schema/UserSimpleType.html#isIdType()">isIdType</A></B>()</CODE> <BR> Ask whether this type is an ID 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="../../../com/saxonica/schema/UserSimpleType.html#isListType()">isListType</A></B>()</CODE> <BR> Returns true if this type is derived by list, or if it is derived by restriction from a list type, or if it is a union that contains a list as one of its members</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="../../../com/saxonica/schema/UserSimpleType.html#isSimpleType()">isSimpleType</A></B>()</CODE> <BR> Returns true if this SchemaType is a SimpleType</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <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="../../../com/saxonica/schema/UserSimpleType.html#isTypeDerivationOK(net.sf.saxon.type.SimpleType, net.sf.saxon.type.SchemaType, int)">isTypeDerivationOK</A></B>(<A HREF="../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A> d, <A HREF="../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A> b, int derivation)</CODE> <BR> Check whether type derivation is allowed.</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="../../../com/saxonica/schema/UserSimpleType.html#isUnionType()">isUnionType</A></B>()</CODE> <BR> Return true if this type is a union type (that is, if its variety is union), which will be true if is derived by union, or if it is derived by restriction from a type whose variety is union.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#mergeEnumerationFacets(com.saxonica.schema.SchemaCompiler)">mergeEnumerationFacets</A></B>(<A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler)</CODE> <BR> Merge enumeration facets into a single enumerationSet pseudo-facet.</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="../../../com/saxonica/schema/UserSimpleType.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="../../../com/saxonica/schema/UserSimpleType.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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#serialize(com.saxonica.schema.SchemaModelSerializer)">serialize</A></B>(<A HREF="../../../com/saxonica/schema/SchemaModelSerializer.html" title="class in com.saxonica.schema">SchemaModelSerializer</A> serializer)</CODE> <BR> Serialize the schema component</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected abstract void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#serializeVariety(com.saxonica.schema.SchemaModelSerializer)">serializeVariety</A></B>(<A HREF="../../../com/saxonica/schema/SchemaModelSerializer.html" title="class in com.saxonica.schema">SchemaModelSerializer</A> serializer)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/UserSimpleType.html#setFacetList(java.util.List)">setFacetList</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A>> facetList)</CODE> <BR> Set the local facet list for this simple 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="../../../com/saxonica/schema/UserSimpleType.html#validate(com.saxonica.schema.SchemaCompiler)">validate</A></B>(<A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler)</CODE> <BR> Checks the validity of this SimpleType definition.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.saxonica.schema.UserDefinedType"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.saxonica.schema.<A HREF="../../../com/saxonica/schema/UserDefinedType.html" title="class in com.saxonica.schema">UserDefinedType</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../com/saxonica/schema/UserDefinedType.html#allowsDerivation(int)">allowsDerivation</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#containingDeclarationIsElement()">containingDeclarationIsElement</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#getBaseType()">getBaseType</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#getBaseTypeFingerprint()">getBaseTypeFingerprint</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#getBaseTypeReference()">getBaseTypeReference</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#getBlock()">getBlock</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#getContainingDeclarationName()">getContainingDeclarationName</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#getDerivationMethod()">getDerivationMethod</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#getDescription()">getDescription</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#getDisplayName()">getDisplayName</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#getFingerprint()">getFingerprint</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#getLocalName()">getLocalName</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#getName()">getName</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#getNameCode()">getNameCode</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#getNamePool()">getNamePool</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#getTargetNamespace()">getTargetNamespace</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#hasRegisteredExtension(com.saxonica.schema.UserComplexType)">hasRegisteredExtension</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#isAnonymousType()">isAnonymousType</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#isComplexType()">isComplexType</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#isExternalType()">isExternalType</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#isSameType(net.sf.saxon.type.SchemaType)">isSameType</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#iterateExtensionTypes()">iterateExtensionTypes</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#registerExtensionType(com.saxonica.schema.UserComplexType)">registerExtensionType</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#setBaseTypeReference(com.saxonica.schema.TypeReference)">setBaseTypeReference</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#setContainingDeclaration(int, boolean)">setContainingDeclaration</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#setDerivationMethod(int)">setDerivationMethod</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#setDerivationMethodName(java.lang.String)">setDerivationMethodName</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#setExtendedTypes(java.util.Set)">setExtendedTypes</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#setFinalProhibitions(int)">setFinalProhibitions</A>, <A HREF="../../../com/saxonica/schema/UserDefinedType.html#setNameCode(int)">setNameCode</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.saxonica.schema.SchemaStructure"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.saxonica.schema.<A HREF="../../../com/saxonica/schema/SchemaStructure.html" title="class in com.saxonica.schema">SchemaStructure</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../com/saxonica/schema/SchemaStructure.html#fixup(com.saxonica.schema.SchemaCompiler)">fixup</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getColumnNumber()">getColumnNumber</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getConfiguration()">getConfiguration</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getFixupStatus()">getFixupStatus</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getLineNumber()">getLineNumber</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getPublicId()">getPublicId</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getRedefinitionLevel()">getRedefinitionLevel</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getSchemaDocumentURI()">getSchemaDocumentURI</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getSystemId()">getSystemId</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getValidationStatus()">getValidationStatus</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#lookForCycles(java.util.Stack, com.saxonica.schema.SchemaCompiler)">lookForCycles</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setConfiguration(com.saxonica.config.EnterpriseConfiguration)">setConfiguration</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setFixupStatus(int)">setFixupStatus</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setLineNumber(int)">setLineNumber</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setLocator(javax.xml.transform.SourceLocator)">setLocator</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setRedefinitionLevel(int)">setRedefinitionLevel</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setSchemaDocumentURI(java.lang.String)">setSchemaDocumentURI</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setSystemId(java.lang.String)">setSystemId</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setValidationStatus(int)">setValidationStatus</A></CODE></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> <A NAME="methods_inherited_from_class_net.sf.saxon.type.SimpleType"><!-- --></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/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html#getTypedValue(java.lang.CharSequence, net.sf.saxon.om.NamespaceResolver, net.sf.saxon.lib.ConversionRules)">getTypedValue</A>, <A HREF="../../../net/sf/saxon/type/SimpleType.html#isBuiltInType()">isBuiltInType</A>, <A HREF="../../../net/sf/saxon/type/SimpleType.html#isExternalType()">isExternalType</A>, <A HREF="../../../net/sf/saxon/type/SimpleType.html#isNamespaceSensitive()">isNamespaceSensitive</A>, <A HREF="../../../net/sf/saxon/type/SimpleType.html#validateContent(java.lang.CharSequence, net.sf.saxon.om.NamespaceResolver, net.sf.saxon.lib.ConversionRules)">validateContent</A></CODE></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#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#isAnonymousType()">isAnonymousType</A>, <A HREF="../../../net/sf/saxon/type/SchemaType.html#isComplexType()">isComplexType</A>, <A HREF="../../../net/sf/saxon/type/SchemaType.html#isSameType(net.sf.saxon.type.SchemaType)">isSameType</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> <A NAME="methods_inherited_from_class_com.saxonica.schema.UserSchemaComponent"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface com.saxonica.schema.<A HREF="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema">UserSchemaComponent</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html#fixup(com.saxonica.schema.SchemaCompiler)">fixup</A>, <A HREF="../../../com/saxonica/schema/UserSchemaComponent.html#lookForCycles(java.util.Stack, com.saxonica.schema.SchemaCompiler)">lookForCycles</A></CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_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>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="UserSimpleType()"><!-- --></A><H3> UserSimpleType</H3> <PRE> public <B>UserSimpleType</B>()</PRE> <DL> <DD>Construct a UserSimpleType <P> </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="isSimpleType()"><!-- --></A><H3> isSimpleType</H3> <PRE> public final boolean <B>isSimpleType</B>()</PRE> <DL> <DD>Returns true if this SchemaType is a SimpleType <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaType.html#isSimpleType()">isSimpleType</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 (always)</DL> </DD> </DL> <HR> <A NAME="isAtomicType()"><!-- --></A><H3> isAtomicType</H3> <PRE> public 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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html#isAtomicType()">isAtomicType</A></CODE> in interface <CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the default implementation returns false</DL> </DD> </DL> <HR> <A NAME="isIdType()"><!-- --></A><H3> isIdType</H3> <PRE> public boolean <B>isIdType</B>()</PRE> <DL> <DD>Ask whether this type is an ID type. This is defined to be any simple type who typed value may contain atomic values of type xs:ID: that is, it includes types derived from ID by restriction, list, or union. Note that for a node to be treated as an ID, its typed value must be a *single* atomic value of type ID; the type of the node, however, can still allow a list. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaType.html#isIdType()">isIdType</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 type is an ID type</DL> </DD> </DL> <HR> <A NAME="isIdRefType()"><!-- --></A><H3> isIdRefType</H3> <PRE> public boolean <B>isIdRefType</B>()</PRE> <DL> <DD>Ask whether this type is an IDREF or IDREFS type. This is defined to be any simple type who typed value may contain atomic values of type xs:IDREF: that is, it includes types derived from IDREF or IDREFS by restriction, list, or union <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaType.html#isIdRefType()">isIdRefType</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 type is an IDREF type</DL> </DD> </DL> <HR> <A NAME="isListType()"><!-- --></A><H3> isListType</H3> <PRE> public boolean <B>isListType</B>()</PRE> <DL> <DD>Returns true if this type is derived by list, or if it is derived by restriction from a list type, or if it is a union that contains a list as one of its members <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html#isListType()">isListType</A></CODE> in interface <CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></CODE></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> public boolean <B>isUnionType</B>()</PRE> <DL> <DD>Return true if this type is a union type (that is, if its variety is union), which will be true if is derived by union, or if it is derived by restriction from a type whose variety is union. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html#isUnionType()">isUnionType</A></CODE> in interface <CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true for a union type</DL> </DD> </DL> <HR> <A NAME="getExtendedFacetList()"><!-- --></A><H3> getExtendedFacetList</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A>> <B>getExtendedFacetList</B>()</PRE> <DL> <DD>Get the extended facet list, creating it if necessary. The extended facet list includes facets inherited from supertypes, unless they are redundant <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the extended facet list</DL> </DD> </DL> <HR> <A NAME="addInheritedFacets(java.util.List)"><!-- --></A><H3> addInheritedFacets</H3> <PRE> protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A>> <B>addInheritedFacets</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A>> localFacets)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="addFacet(com.saxonica.schema.Facet)"><!-- --></A><H3> addFacet</H3> <PRE> public void <B>addFacet</B>(<A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A> facet)</PRE> <DL> <DD>Add the given Facet to this Simpletype. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>facet</CODE> - the Facet to add to this Simpletype</DL> </DD> </DL> <HR> <A NAME="mergeEnumerationFacets(com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3> mergeEnumerationFacets</H3> <PRE> public void <B>mergeEnumerationFacets</B>(<A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler) throws <A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A>, <A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></PRE> <DL> <DD>Merge enumeration facets into a single enumerationSet pseudo-facet. This method also merges multiple pattern facets into a single pattern facet with multiple branches. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>compiler</CODE> - used for error reporting <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - if a schema validity error is found <DD><CODE><A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></CODE> - if an unresolved reference to a schema component is found</DL> </DD> </DL> <HR> <A NAME="getFacet(java.lang.Class)"><!-- --></A><H3> getFacet</H3> <PRE> public <A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A> <B>getFacet</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> name)</PRE> <DL> <DD>Returns the first facet associated with the given name, defined either on this type or on a type from which it is derived <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>name</CODE> - the required class of facet <DT><B>Returns:</B><DD>the first facet associated with the given name</DL> </DD> </DL> <HR> <A NAME="setFacetList(java.util.List)"><!-- --></A><H3> setFacetList</H3> <PRE> public void <B>setFacetList</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A>> facetList)</PRE> <DL> <DD>Set the local facet list for this simple type <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>facetList</CODE> - the list of facets</DL> </DD> </DL> <HR> <A NAME="convertFacetValues()"><!-- --></A><H3> convertFacetValues</H3> <PRE> public void <B>convertFacetValues</B>() throws <A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE> <DL> <DD>Convert the values of facets to the target data type <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - if conversion fails</DL> </DD> </DL> <HR> <A NAME="getFacets()"><!-- --></A><H3> getFacets</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A>> <B>getFacets</B>()</PRE> <DL> <DD>Returns an Iterator over all the Facets (including inherited facets) for this type. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>an Iterator over all the Facets for this type. The objects returned by the iterator will be instanceof of <A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema"><CODE>Facet</CODE></A></DL> </DD> </DL> <HR> <A NAME="getWhitespaceAction()"><!-- --></A><H3> getWhitespaceAction</H3> <PRE> public int <B>getWhitespaceAction</B>()</PRE> <DL> <DD>Determine the whitespace normalization required for values of this type <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html#getWhitespaceAction()">getWhitespaceAction</A></CODE> in interface <CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>one of PRESERVE, REPLACE, COLLAPSE <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the simple type is not fully validated and the whitespace facet is not yet known.</DL> </DD> </DL> <HR> <A NAME="applyWhitespaceNormalization(java.lang.CharSequence)"><!-- --></A><H3> applyWhitespaceNormalization</H3> <PRE> public <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>applyWhitespaceNormalization</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)</PRE> <DL> <DD>Apply the whitespace normalization rules for this simple type <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>value</CODE> - the string before whitespace normalization <DT><B>Returns:</B><DD>the string after whitespace normalization</DL> </DD> </DL> <HR> <A NAME="getBuiltInBaseType()"><!-- --></A><H3> getBuiltInBaseType</H3> <PRE> public <A HREF="../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A> <B>getBuiltInBaseType</B>()</PRE> <DL> <DD>Returns the built-in base type this type is derived from. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html#getBuiltInBaseType()">getBuiltInBaseType</A></CODE> in interface <CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the first built-in type found when searching up the type hierarchy</DL> </DD> </DL> <HR> <A NAME="checkTypeDerivationIsOK(net.sf.saxon.type.SchemaType, int)"><!-- --></A><H3> checkTypeDerivationIsOK</H3> <PRE> public void <B>checkTypeDerivationIsOK</B>(<A HREF="../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A> type, int block) throws <A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE> <DL> <DD>Check that this type is validly derived from a given type <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaType.html#checkTypeDerivationIsOK(net.sf.saxon.type.SchemaType, int)">checkTypeDerivationIsOK</A></CODE> in interface <CODE><A HREF="../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/saxonica/schema/UserDefinedType.html#checkTypeDerivationIsOK(net.sf.saxon.type.SchemaType, int)">checkTypeDerivationIsOK</A></CODE> in class <CODE><A HREF="../../../com/saxonica/schema/UserDefinedType.html" title="class in com.saxonica.schema">UserDefinedType</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>type</CODE> - the type from which this type is derived<DD><CODE>block</CODE> - the derivations that are blocked by the relevant element declaration <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - if the derivation is not allowed</DL> </DD> </DL> <HR> <A NAME="validate(com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3> validate</H3> <PRE> public boolean <B>validate</B>(<A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler) throws <A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A>, <A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></PRE> <DL> <DD>Checks the validity of this SimpleType definition. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html#validate(com.saxonica.schema.SchemaCompiler)">validate</A></CODE> in interface <CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema">UserSchemaComponent</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>compiler</CODE> - used for error reporting <DT><B>Returns:</B><DD>true when this Schema definition is valid, otherwise false. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - if this SimpleType definition is invalid. <DD><CODE><A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></CODE></DL> </DD> </DL> <HR> <A NAME="analyzeContentExpression(net.sf.saxon.expr.Expression, int, net.sf.saxon.expr.StaticContext)"><!-- --></A><H3> analyzeContentExpression</H3> <PRE> public void <B>analyzeContentExpression</B>(<A HREF="../../../net/sf/saxon/expr/Expression.html" title="class in net.sf.saxon.expr">Expression</A> expression, int kind, <A HREF="../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A> env) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Analyze an expression to see whether the expression is capable of delivering a value of this type. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaType.html#analyzeContentExpression(net.sf.saxon.expr.Expression, int, net.sf.saxon.expr.StaticContext)">analyzeContentExpression</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>Parameters:</B><DD><CODE>expression</CODE> - the expression that delivers the content<DD><CODE>kind</CODE> - the node kind whose content is being delivered: <A HREF="../../../net/sf/saxon/type/Type.html#ELEMENT"><CODE>Type.ELEMENT</CODE></A>, <A HREF="../../../net/sf/saxon/type/Type.html#ATTRIBUTE"><CODE>Type.ATTRIBUTE</CODE></A>, or <A HREF="../../../net/sf/saxon/type/Type.html#DOCUMENT"><CODE>Type.DOCUMENT</CODE></A><DD><CODE>env</CODE> - the static context <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - if the expression will never deliver a value of the correct type</DL> </DD> </DL> <HR> <A NAME="getTypedValue(net.sf.saxon.om.NodeInfo)"><!-- --></A><H3> getTypedValue</H3> <PRE> public final <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="../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> node) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Get the typed value of a node that is annotated with this schema type <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaType.html#getTypedValue(net.sf.saxon.om.NodeInfo)">getTypedValue</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>Parameters:</B><DD><CODE>node</CODE> - the node whose typed value is required <DT><B>Returns:</B><DD>an iterator over the items making up the typed value of this node. 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> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - if the node has no typed value (typically, if it is an element with an element-only content type)</DL> </DD> </DL> <HR> <A NAME="atomize(net.sf.saxon.om.NodeInfo)"><!-- --></A><H3> atomize</H3> <PRE> public <A HREF="../../../net/sf/saxon/value/Value.html" title="class in net.sf.saxon.value">Value</A> <B>atomize</B>(<A HREF="../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> node) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Get the typed value of a node that is annotated with this schema type. The result of this method will always be consistent with the method <A HREF="../../../com/saxonica/schema/UserSimpleType.html#getTypedValue(net.sf.saxon.om.NodeInfo)"><CODE>getTypedValue(net.sf.saxon.om.NodeInfo)</CODE></A>. However, this method is often more convenient and may be more efficient, especially in the common case where the value is expected to be a singleton. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaType.html#atomize(net.sf.saxon.om.NodeInfo)">atomize</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>Parameters:</B><DD><CODE>node</CODE> - the node whose typed value is required <DT><B>Returns:</B><DD>the typed value. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - if the node cannot be atomized, for example if this is a complex type with element-only content<DT><B>Since:</B></DT> <DD>8.5</DD> </DL> </DD> </DL> <HR> <A NAME="isTypeDerivationOK(net.sf.saxon.type.SimpleType, net.sf.saxon.type.SchemaType, int)"><!-- --></A><H3> isTypeDerivationOK</H3> <PRE> public static <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>isTypeDerivationOK</B>(<A HREF="../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A> d, <A HREF="../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A> b, int derivation)</PRE> <DL> <DD>Check whether type derivation is allowed. This implements the Schema Component Constraint: Type Derivation OK (Simple). This type is D (the derived type); the type supplied as an argument is B (the base type), and the argument (a subset (extension, restriction, list, union)) is provided in the second argument. If type derivation is allowed, the method return null; otherwise it returns a string that can be used as an error message <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>d</CODE> - the derived type<DD><CODE>b</CODE> - the base type<DD><CODE>derivation</CODE> - the disallowed derivations, as a bit-significant integer <DT><B>Returns:</B><DD>null if type derivation is OK; otherwise a string that can be used as an error message</DL> </DD> </DL> <HR> <A NAME="getLocalFacetList()"><!-- --></A><H3> getLocalFacetList</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/saxonica/schema/Facet.html" title="class in com.saxonica.schema">Facet</A>> <B>getLocalFacetList</B>()</PRE> <DL> <DD>Return all the facets for this type <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the list of facets defined on this simple type (this doesn't include inherited facets)</DL> </DD> </DL> <HR> <A NAME="preprocess(java.lang.CharSequence)"><!-- --></A><H3> preprocess</H3> <PRE> public <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> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html#preprocess(java.lang.CharSequence)">preprocess</A></CODE> in interface <CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></CODE></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> public <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> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html#postprocess(java.lang.CharSequence)">postprocess</A></CODE> in interface <CODE><A HREF="../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></CODE></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> <HR> <A NAME="checkAgainstFacets(net.sf.saxon.value.Value, java.lang.CharSequence, java.util.Iterator)"><!-- --></A><H3> checkAgainstFacets</H3> <PRE> public <A HREF="../../../net/sf/saxon/type/ValidationFailure.html" title="class in net.sf.saxon.type">ValidationFailure</A> <B>checkAgainstFacets</B>(<A HREF="../../../net/sf/saxon/value/Value.html" title="class in net.sf.saxon.value">Value</A> primitiveValue, <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> lexicalValue, <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A> iter)</PRE> <DL> <DD>Validate that the value conforms to all the constraining facets for the given type. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>primitiveValue</CODE> - the typed value to be checked, as an instance of its primitive type<DD><CODE>lexicalValue</CODE> - The supplied value; this must be normalized using the whitespace facet, and then checked against the pattern facet. May be null; if so the actual value is converted to a string for checking against the pattern.<DD><CODE>iter</CODE> - Iterator over the facets to be checked: can be obtained using one of the various getFacets() methods. <DT><B>Returns:</B><DD>null if the value is OK, otherwise a ValidationFailure. Note that the exception is returned rather than being thrown. This is designed to make the "castable" operator more efficient.</DL> </DD> </DL> <HR> <A NAME="elaborate(com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3> elaborate</H3> <PRE> public void <B>elaborate</B>(<A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler) throws <A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE> <DL> <DD>Elaborate the schema component: after reloading a serialized schema component model, this expands the component with derived information needed during validation episodes. The model is assumed to be valid. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html#elaborate(com.saxonica.schema.SchemaCompiler)">elaborate</A></CODE> in interface <CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema">UserSchemaComponent</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/saxonica/schema/SchemaStructure.html#elaborate(com.saxonica.schema.SchemaCompiler)">elaborate</A></CODE> in class <CODE><A HREF="../../../com/saxonica/schema/SchemaStructure.html" title="class in com.saxonica.schema">SchemaStructure</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>compiler</CODE> - the schema compiler <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - if a fatal error occurs</DL> </DD> </DL> <HR> <A NAME="serialize(com.saxonica.schema.SchemaModelSerializer)"><!-- --></A><H3> serialize</H3> <PRE> public void <B>serialize</B>(<A HREF="../../../com/saxonica/schema/SchemaModelSerializer.html" title="class in com.saxonica.schema">SchemaModelSerializer</A> serializer) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Serialize the schema component <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/saxonica/schema/SerializableSchemaComponent.html#serialize(com.saxonica.schema.SchemaModelSerializer)">serialize</A></CODE> in interface <CODE><A HREF="../../../com/saxonica/schema/SerializableSchemaComponent.html" title="interface in com.saxonica.schema">SerializableSchemaComponent</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>serializer</CODE> - the object responsible for performing the serialization <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - if serialization fails</DL> </DD> </DL> <HR> <A NAME="serializeVariety(com.saxonica.schema.SchemaModelSerializer)"><!-- --></A><H3> serializeVariety</H3> <PRE> protected abstract void <B>serializeVariety</B>(<A HREF="../../../com/saxonica/schema/SchemaModelSerializer.html" title="class in com.saxonica.schema">SchemaModelSerializer</A> serializer) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> <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> <!-- ========= 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="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema"><B>PREV CLASS</B></A> <A HREF="../../../com/saxonica/schema/UserUnionType.html" title="class in com.saxonica.schema"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/saxonica/schema/UserSimpleType.html" target="_top"><B>FRAMES</B></A> <A HREF="UserSimpleType.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="#fields_inherited_from_class_com.saxonica.schema.UserDefinedType">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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>