Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > b3bdfe6d859a3d6920ff2c44b38e9a6f > files > 1223

saxon-manual-9.4.0.9-2.mga7.noarch.rpm

<!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:49 GMT 2011 -->
<TITLE>
SimpleTypeDefinition
</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="SimpleTypeDefinition";
    }
}
</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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/saxonica/schema/sdoc/SelectionParser.html" title="class in com.saxonica.schema.sdoc"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/saxonica/schema/sdoc/UnknownElement.html" title="class in com.saxonica.schema.sdoc"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/saxonica/schema/sdoc/SimpleTypeDefinition.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="SimpleTypeDefinition.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.saxonica.schema.UserDefinedType">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.sdoc</FONT>
<BR>
Class SimpleTypeDefinition</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 "><A HREF="../../../../com/saxonica/schema/UserSimpleType.html" title="class in com.saxonica.schema">com.saxonica.schema.UserSimpleType</A>
              <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.saxonica.schema.sdoc.SimpleTypeDefinition</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>
<HR>
<DL>
<DT><PRE>public class <B>SimpleTypeDefinition</B><DT>extends <A HREF="../../../../com/saxonica/schema/UserSimpleType.html" title="class in com.saxonica.schema">UserSimpleType</A><DT>implements <A HREF="../../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema">UserSchemaComponent</A></DL>
</PRE>

<P>
A simple type definition holds all the information about a simpleType
 during the course of schema processing. On completion
 of schema processing, more specific objects are created, for example
 <A HREF="../../../../com/saxonica/schema/UserListType.html" title="class in com.saxonica.schema"><CODE>UserListType</CODE></A>, <A HREF="../../../../com/saxonica/schema/UserAtomicType.html" title="class in com.saxonica.schema"><CODE>UserAtomicType</CODE></A>, or <A HREF="../../../../com/saxonica/schema/UserUnionType.html" title="class in com.saxonica.schema"><CODE>UserUnionType</CODE></A>, and the SimpleTypeDefinition is then
 discarded.
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#com.saxonica.schema.sdoc.SimpleTypeDefinition">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>
&nbsp;<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>
&nbsp;<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>
&nbsp;<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>
&nbsp;<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>
&nbsp;
<!-- ======== 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/sdoc/SimpleTypeDefinition.html#SimpleTypeDefinition(com.saxonica.config.EnterpriseConfiguration)">SimpleTypeDefinition</A></B>(<A HREF="../../../../com/saxonica/config/EnterpriseConfiguration.html" title="class in com.saxonica.config">EnterpriseConfiguration</A>&nbsp;config)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a SimpleTypeDefinition</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== 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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html#addMemberType(com.saxonica.schema.TypeReference)">addMemberType</A></B>(<A HREF="../../../../com/saxonica/schema/TypeReference.html" title="class in com.saxonica.schema">TypeReference</A>&nbsp;memberType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a member type to this union type</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html#fixup(com.saxonica.schema.SchemaCompiler)">fixup</A></B>(<A HREF="../../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A>&nbsp;compiler)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check references from this component to other components</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/saxonica/schema/UserSimpleType.html" title="class in com.saxonica.schema">UserSimpleType</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html#getSimpleType()">getSimpleType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the simple type created for this definition</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/om/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A>&lt;<A HREF="../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value">AtomicValue</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.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>&nbsp;value,
              <A HREF="../../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A>&nbsp;resolver,
              <A HREF="../../../../net/sf/saxon/lib/ConversionRules.html" title="class in net.sf.saxon.lib">ConversionRules</A>&nbsp;rules)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html#isAtomicType()">isAtomicType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html#isBuiltInType()">isBuiltInType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html#isListType()">isListType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On a SimpleTypeDefinition, isListType() always returns true if the type is "derived by List".</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html#isNamespaceSensitive()">isNamespaceSensitive</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html#isUnionType()">isUnionType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On a SimpleTypeDefinition, isUnionType() always returns true if the type is "derived by Union".</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html#serialize(com.saxonica.schema.SchemaModelSerializer)">serialize</A></B>(<A HREF="../../../../com/saxonica/schema/SchemaModelSerializer.html" title="class in com.saxonica.schema">SchemaModelSerializer</A>&nbsp;serializer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize the schema component</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html#serializeVariety(com.saxonica.schema.SchemaModelSerializer)">serializeVariety</A></B>(<A HREF="../../../../com/saxonica/schema/SchemaModelSerializer.html" title="class in com.saxonica.schema">SchemaModelSerializer</A>&nbsp;serializer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html#setIsSimpleContent(boolean)">setIsSimpleContent</A></B>(boolean&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate that this simple type represents the content type of a complex type with simple content</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html#setItemTypeReference(com.saxonica.schema.TypeReference)">setItemTypeReference</A></B>(<A HREF="../../../../com/saxonica/schema/TypeReference.html" title="class in com.saxonica.schema">TypeReference</A>&nbsp;itemType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the reference to an item type of this list type</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html#validate(com.saxonica.schema.SchemaCompiler)">validate</A></B>(<A HREF="../../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A>&nbsp;compiler)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Checks the validity of this SimpleType definition.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<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/sdoc/SimpleTypeDefinition.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>&nbsp;value,
                <A HREF="../../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A>&nbsp;nsResolver,
                <A HREF="../../../../net/sf/saxon/lib/ConversionRules.html" title="class in net.sf.saxon.lib">ConversionRules</A>&nbsp;rules)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check whether a given input string is valid according to this SimpleType</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.saxonica.schema.UserSimpleType"><!-- --></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/UserSimpleType.html" title="class in com.saxonica.schema">UserSimpleType</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/saxonica/schema/UserSimpleType.html#addFacet(com.saxonica.schema.Facet)">addFacet</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#addInheritedFacets(java.util.List)">addInheritedFacets</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#analyzeContentExpression(net.sf.saxon.expr.Expression, int, net.sf.saxon.expr.StaticContext)">analyzeContentExpression</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#applyWhitespaceNormalization(java.lang.CharSequence)">applyWhitespaceNormalization</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#atomize(net.sf.saxon.om.NodeInfo)">atomize</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#checkAgainstFacets(net.sf.saxon.value.Value, java.lang.CharSequence, java.util.Iterator)">checkAgainstFacets</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#checkTypeDerivationIsOK(net.sf.saxon.type.SchemaType, int)">checkTypeDerivationIsOK</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#convertFacetValues()">convertFacetValues</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#elaborate(com.saxonica.schema.SchemaCompiler)">elaborate</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#getBuiltInBaseType()">getBuiltInBaseType</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#getExtendedFacetList()">getExtendedFacetList</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#getFacet(java.lang.Class)">getFacet</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#getFacets()">getFacets</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#getLocalFacetList()">getLocalFacetList</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#getTypedValue(net.sf.saxon.om.NodeInfo)">getTypedValue</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#getWhitespaceAction()">getWhitespaceAction</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#isIdRefType()">isIdRefType</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#isIdType()">isIdType</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#isSimpleType()">isSimpleType</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#isTypeDerivationOK(net.sf.saxon.type.SimpleType, net.sf.saxon.type.SchemaType, int)">isTypeDerivationOK</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#mergeEnumerationFacets(com.saxonica.schema.SchemaCompiler)">mergeEnumerationFacets</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#postprocess(java.lang.CharSequence)">postprocess</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#preprocess(java.lang.CharSequence)">preprocess</A>, <A HREF="../../../../com/saxonica/schema/UserSimpleType.html#setFacetList(java.util.List)">setFacetList</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;<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#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>
&nbsp;<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>
&nbsp;<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#elaborate(com.saxonica.schema.SchemaCompiler)">elaborate</A>, <A HREF="../../../../com/saxonica/schema/UserSchemaComponent.html#lookForCycles(java.util.Stack, com.saxonica.schema.SchemaCompiler)">lookForCycles</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;<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#isExternalType()">isExternalType</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;
<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="SimpleTypeDefinition(com.saxonica.config.EnterpriseConfiguration)"><!-- --></A><H3>
SimpleTypeDefinition</H3>
<PRE>
public <B>SimpleTypeDefinition</B>(<A HREF="../../../../com/saxonica/config/EnterpriseConfiguration.html" title="class in com.saxonica.config">EnterpriseConfiguration</A>&nbsp;config)</PRE>
<DL>
<DD>Create a SimpleTypeDefinition
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - the Saxon configuration</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="setItemTypeReference(com.saxonica.schema.TypeReference)"><!-- --></A><H3>
setItemTypeReference</H3>
<PRE>
public void <B>setItemTypeReference</B>(<A HREF="../../../../com/saxonica/schema/TypeReference.html" title="class in com.saxonica.schema">TypeReference</A>&nbsp;itemType)</PRE>
<DL>
<DD>Set the reference to an item type of this list type
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>itemType</CODE> - reference to a type forming the item type of this list type</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. On a SimpleTypeDefinition, the variety of the type
 cannot be reliably determined until fixup() has been called to determine the base 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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/saxonica/schema/UserSimpleType.html#isAtomicType()">isAtomicType</A></CODE> in class <CODE><A HREF="../../../../com/saxonica/schema/UserSimpleType.html" title="class in com.saxonica.schema">UserSimpleType</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>true if this type is known to be atomic</DL>
</DD>
</DL>
<HR>

<A NAME="isListType()"><!-- --></A><H3>
isListType</H3>
<PRE>
public boolean <B>isListType</B>()</PRE>
<DL>
<DD>On a SimpleTypeDefinition, isListType() always returns true if the type is "derived by List".
 A list type that is derived by restricting another List type cannot be reliably recognized
 until fixup() has been called to determine the base type.
<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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/saxonica/schema/UserSimpleType.html#isListType()">isListType</A></CODE> in class <CODE><A HREF="../../../../com/saxonica/schema/UserSimpleType.html" title="class in com.saxonica.schema">UserSimpleType</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>true if this type is "derived by List"</DL>
</DD>
</DL>
<HR>

<A NAME="isUnionType()"><!-- --></A><H3>
isUnionType</H3>
<PRE>
public boolean <B>isUnionType</B>()</PRE>
<DL>
<DD>On a SimpleTypeDefinition, isUnionType() always returns true if the type is "derived by Union".
 A union type that is derived by restricting another Union type cannot be reliably recognized
 until the fixup() method has been called to determine the base type.
<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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/saxonica/schema/UserSimpleType.html#isUnionType()">isUnionType</A></CODE> in class <CODE><A HREF="../../../../com/saxonica/schema/UserSimpleType.html" title="class in com.saxonica.schema">UserSimpleType</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>true if this type is "derived by Union"</DL>
</DD>
</DL>
<HR>

<A NAME="setIsSimpleContent(boolean)"><!-- --></A><H3>
setIsSimpleContent</H3>
<PRE>
public void <B>setIsSimpleContent</B>(boolean&nbsp;b)</PRE>
<DL>
<DD>Indicate that this simple type represents the content type of a complex type with simple content
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>b</CODE> - true if this is the content type of a complex type with simple content</DL>
</DD>
</DL>
<HR>

<A NAME="addMemberType(com.saxonica.schema.TypeReference)"><!-- --></A><H3>
addMemberType</H3>
<PRE>
public void <B>addMemberType</B>(<A HREF="../../../../com/saxonica/schema/TypeReference.html" title="class in com.saxonica.schema">TypeReference</A>&nbsp;memberType)</PRE>
<DL>
<DD>Add a member type to this union type
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>memberType</CODE> - the member type to be added</DL>
</DD>
</DL>
<HR>

<A NAME="getSimpleType()"><!-- --></A><H3>
getSimpleType</H3>
<PRE>
public <A HREF="../../../../com/saxonica/schema/UserSimpleType.html" title="class in com.saxonica.schema">UserSimpleType</A> <B>getSimpleType</B>()</PRE>
<DL>
<DD>Get the simple type created for this definition
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the UserSimpleType object if it has been created, otherwise null</DL>
</DD>
</DL>
<HR>

<A NAME="fixup(com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3>
fixup</H3>
<PRE>
public boolean <B>fixup</B>(<A HREF="../../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A>&nbsp;compiler)
              throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Check references from this component to other components
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/saxonica/schema/UserSchemaComponent.html#fixup(com.saxonica.schema.SchemaCompiler)">fixup</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#fixup(com.saxonica.schema.SchemaCompiler)">fixup</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> - used for error reporting
<DT><B>Returns:</B><DD>true if all is well, false if errors found
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE></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>&nbsp;compiler)
                 throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/saxonica/schema/UserSimpleType.html#validate(com.saxonica.schema.SchemaCompiler)">validate</A></CODE> in class <CODE><A HREF="../../../../com/saxonica/schema/UserSimpleType.html" title="class in com.saxonica.schema">UserSimpleType</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> - when this SimpleType definition is invalid.</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>
public <A HREF="../../../../net/sf/saxon/om/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A>&lt;<A HREF="../../../../net/sf/saxon/value/AtomicValue.html" title="class in net.sf.saxon.value">AtomicValue</A>&gt; <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>&nbsp;value,
                                                   <A HREF="../../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A>&nbsp;resolver,
                                                   <A HREF="../../../../net/sf/saxon/lib/ConversionRules.html" title="class in net.sf.saxon.lib">ConversionRules</A>&nbsp;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>
<DT><B>Specified by:</B><DD><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></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>value</CODE> - the string value<DD><CODE>resolver</CODE> - a namespace resolver used to resolve prefixes in QNames and notations<DD><CODE>rules</CODE> - the conversion rules for the Configuration
<DT><B>Returns:</B><DD>an iterator over the atomic sequence comprising the typed value
<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 invalid against this simple type</DL>
</DD>
</DL>
<HR>

<A NAME="isBuiltInType()"><!-- --></A><H3>
isBuiltInType</H3>
<PRE>
public boolean <B>isBuiltInType</B>()</PRE>
<DL>
<DD>Determine whether this is a built-in type or a user-defined type
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/type/SimpleType.html#isBuiltInType()">isBuiltInType</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 built-in type</DL>
</DD>
</DL>
<HR>

<A NAME="isNamespaceSensitive()"><!-- --></A><H3>
isNamespaceSensitive</H3>
<PRE>
public 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>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/type/SimpleType.html#isNamespaceSensitive()">isNamespaceSensitive</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 the type is namespace-sensitive</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>
public <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>&nbsp;value,
                                         <A HREF="../../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A>&nbsp;nsResolver,
                                         <A HREF="../../../../net/sf/saxon/lib/ConversionRules.html" title="class in net.sf.saxon.lib">ConversionRules</A>&nbsp;rules)</PRE>
<DL>
<DD>Check whether a given input string is valid according to this SimpleType
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><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> 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>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 for 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="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>&nbsp;serializer)</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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/saxonica/schema/UserSimpleType.html#serialize(com.saxonica.schema.SchemaModelSerializer)">serialize</A></CODE> in class <CODE><A HREF="../../../../com/saxonica/schema/UserSimpleType.html" title="class in com.saxonica.schema">UserSimpleType</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>serializer</CODE> - the object responsible for performing the serialization</DL>
</DD>
</DL>
<HR>

<A NAME="serializeVariety(com.saxonica.schema.SchemaModelSerializer)"><!-- --></A><H3>
serializeVariety</H3>
<PRE>
protected void <B>serializeVariety</B>(<A HREF="../../../../com/saxonica/schema/SchemaModelSerializer.html" title="class in com.saxonica.schema">SchemaModelSerializer</A>&nbsp;serializer)
                         throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/saxonica/schema/UserSimpleType.html#serializeVariety(com.saxonica.schema.SchemaModelSerializer)">serializeVariety</A></CODE> in class <CODE><A HREF="../../../../com/saxonica/schema/UserSimpleType.html" title="class in com.saxonica.schema">UserSimpleType</A></CODE></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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/saxonica/schema/sdoc/SelectionParser.html" title="class in com.saxonica.schema.sdoc"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/saxonica/schema/sdoc/UnknownElement.html" title="class in com.saxonica.schema.sdoc"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/saxonica/schema/sdoc/SimpleTypeDefinition.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="SimpleTypeDefinition.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.saxonica.schema.UserDefinedType">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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>