Sophie

Sophie

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

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:47 GMT 2011 -->
<TITLE>
ModelGroup
</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="ModelGroup";
    }
}
</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/MinLengthFacet.html" title="class in com.saxonica.schema"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/saxonica/schema/ModelGroupDefinition.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/ModelGroup.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ModelGroup.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="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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</FONT>
<BR>
Class ModelGroup</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 "><B>com.saxonica.schema.ModelGroup</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../com/saxonica/schema/Term.html" title="interface in com.saxonica.schema">Term</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></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../com/saxonica/schema/AllModelGroup.html" title="class in com.saxonica.schema">AllModelGroup</A>, <A HREF="../../../com/saxonica/schema/ChoiceModelGroup.html" title="class in com.saxonica.schema">ChoiceModelGroup</A>, <A HREF="../../../com/saxonica/schema/ModelGroupDefinition.html" title="class in com.saxonica.schema">ModelGroupDefinition</A>, <A HREF="../../../com/saxonica/schema/SequenceModelGroup.html" title="class in com.saxonica.schema">SequenceModelGroup</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public abstract class <B>ModelGroup</B><DT>extends <A HREF="../../../com/saxonica/schema/SchemaStructure.html" title="class in com.saxonica.schema">SchemaStructure</A><DT>implements <A HREF="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema">UserSchemaComponent</A>, <A HREF="../../../com/saxonica/schema/Term.html" title="interface in com.saxonica.schema">Term</A></DL>
</PRE>

<P>
An XML Schema Model Group. This corresponds to a sequence, choice, or all in the
 schema document representation. The model group is typically referenced by a
 ModelGroupParticle, which links it into some containing content model. Named model
 groups, corresponding to global xs:group elements in a schema document, are represented
 by the subclass <A HREF="../../../com/saxonica/schema/ModelGroupDefinition.html" title="class in com.saxonica.schema"><CODE>ModelGroupDefinition</CODE></A>.
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#com.saxonica.schema.ModelGroup">Serialized Form</A></DL>
<HR>

<P>
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<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>&lt;<A HREF="../../../com/saxonica/schema/Particle.html" title="class in com.saxonica.schema">Particle</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ModelGroup.html#contentModel">contentModel</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The list of particles making up the content model of this ModelGroup.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<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>&lt;<A HREF="../../../com/saxonica/schema/Particle.html" title="class in com.saxonica.schema">Particle</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ModelGroup.html#simplifiedContentModel">simplifiedContentModel</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The reduced list of particles.</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;
<!-- ======== 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/ModelGroup.html#ModelGroup()">ModelGroup</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new ModelGroup, with no name</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/ModelGroup.html#addParticle(com.saxonica.schema.Particle)">addParticle</A></B>(<A HREF="../../../com/saxonica/schema/Particle.html" title="class in com.saxonica.schema">Particle</A>&nbsp;particle)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a given Particle to the content model defined by this model group</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ModelGroup.html#checkElements(net.sf.saxon.expr.sort.IntHashMap, com.saxonica.schema.SchemaCompiler)">checkElements</A></B>(<A HREF="../../../net/sf/saxon/expr/sort/IntHashMap.html" title="class in net.sf.saxon.expr.sort">IntHashMap</A>&lt;<A HREF="../../../com/saxonica/schema/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&gt;&nbsp;map,
              <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 that the elements defined as particles in this model group are consistent</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/ModelGroup.html#compile(com.saxonica.schema.SchemaCompiler)">compile</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;Compile this Compositor by compiling each of the particles contained in its
 content model.</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/ModelGroup.html#containsAll(boolean)">containsAll</A></B>(boolean&nbsp;simplified)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether this model group contains an xs:all compositor</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/ModelGroup.html#containsElementWildcard()">containsElementWildcard</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ask whether the model group contains an element wildcard</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/ModelGroup.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;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ModelGroup.html#gatherAllPermittedElements(net.sf.saxon.expr.sort.IntHashSet, boolean)">gatherAllPermittedElements</A></B>(<A HREF="../../../net/sf/saxon/expr/sort/IntHashSet.html" title="class in net.sf.saxon.expr.sort">IntHashSet</A>&nbsp;result,
                           boolean&nbsp;ignoreWildcards)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Find the set of all element particles allowed within the content model of this particle, identified
 by their integer fingerprints.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<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/ModelGroup.html#getCompositorName()">getCompositorName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the name of the compositor used in this model group</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ModelGroup.html#getContentModelSize()">getContentModelSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the number of particles in the (unsimplified) content model</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ModelGroup.html#getElementParticleCardinality(int)">getElementParticleCardinality</A></B>(int&nbsp;fingerprint)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Find an element particle within this complex type definition having a given element name
 (identified by fingerprint), and return the cardinality associated with that element particle,
 that is, the number of times the element can occur within this complex type.</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/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ModelGroup.html#getElementParticleType(int)">getElementParticleType</A></B>(int&nbsp;fingerprint)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Find an element particle within this complex type definition having a given element name
 (identified by fingerprint), and return the schema type associated with that element particle.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<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>&lt;<A HREF="../../../com/saxonica/schema/Particle.html" title="class in com.saxonica.schema">Particle</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ModelGroup.html#getListOfParticles(boolean)">getListOfParticles</A></B>(boolean&nbsp;simplified)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the list of particles</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<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>&lt;<A HREF="../../../com/saxonica/schema/Particle.html" title="class in com.saxonica.schema">Particle</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ModelGroup.html#getSimplifiedContentModel()">getSimplifiedContentModel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove pointless particles from this content model (recursively),
 and replace group references by the content of the identified group</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/saxonica/schema/Term.html" title="interface in com.saxonica.schema">Term</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ModelGroup.html#getTerm()">getTerm</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the term corresponding to this particle</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ModelGroup.html#isEmptiable()">isEmptiable</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine if empty content is allowed</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/ModelGroup.html#isEmpty()">isEmpty</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return true if the content model is empty</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/ModelGroup.html#isPointless(com.saxonica.schema.ModelGroup)">isPointless</A></B>(<A HREF="../../../com/saxonica/schema/ModelGroup.html" title="class in com.saxonica.schema">ModelGroup</A>&nbsp;container)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether the particle is pointless, as described in XML Schema Part 1
 Schema Component Constraint: Particle Valid (Restriction)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<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>&lt;<A HREF="../../../com/saxonica/schema/Particle.html" title="class in com.saxonica.schema">Particle</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ModelGroup.html#iterateParticles()">iterateParticles</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Iterate over the Particles of the content model defined by this Compositor.</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/ModelGroup.html#lookForCycles(java.util.Stack, com.saxonica.schema.SchemaCompiler)">lookForCycles</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Stack.html?is-external=true" title="class or interface in java.util">Stack</A>&nbsp;references,
              <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;This method is called to look for cycles.</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/ModelGroup.html#markVulnerableSubParticles(boolean)">markVulnerableSubParticles</A></B>(boolean&nbsp;isRepeatable)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mark contained particles as vulnerable.</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/ModelGroup.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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ModelGroup.html#setContentModel(java.util.List)">setContentModel</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>&lt;<A HREF="../../../com/saxonica/schema/Particle.html" title="class in com.saxonica.schema">Particle</A>&gt;&nbsp;particles)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the entire content model</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/ModelGroup.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 Compositor definition.</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#elaborate(com.saxonica.schema.SchemaCompiler)">elaborate</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#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></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;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="contentModel"><!-- --></A><H3>
contentModel</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>&lt;<A HREF="../../../com/saxonica/schema/Particle.html" title="class in com.saxonica.schema">Particle</A>&gt; <B>contentModel</B></PRE>
<DL>
<DD>The list of particles making up the content model of this ModelGroup. In this list,
 group references are not expanded: that is, the particles can be real particles, or
 group references. In an AllModelGroup, this list does not include wildcard particles
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="simplifiedContentModel"><!-- --></A><H3>
simplifiedContentModel</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>&lt;<A HREF="../../../com/saxonica/schema/Particle.html" title="class in com.saxonica.schema">Particle</A>&gt; <B>simplifiedContentModel</B></PRE>
<DL>
<DD>The reduced list of particles. Pointless particles are removed, and group references
 are expanded. The list is evaluated lazily.
<P>
<DL>
</DL>
</DL>

<!-- ========= 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="ModelGroup()"><!-- --></A><H3>
ModelGroup</H3>
<PRE>
public <B>ModelGroup</B>()</PRE>
<DL>
<DD>Creates a new ModelGroup, with no name
<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="getCompositorName()"><!-- --></A><H3>
getCompositorName</H3>
<PRE>
public abstract <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>getCompositorName</B>()</PRE>
<DL>
<DD>Get the name of the compositor used in this model group
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>one of "sequence", "choice", or "all"</DL>
</DD>
</DL>
<HR>

<A NAME="addParticle(com.saxonica.schema.Particle)"><!-- --></A><H3>
addParticle</H3>
<PRE>
public void <B>addParticle</B>(<A HREF="../../../com/saxonica/schema/Particle.html" title="class in com.saxonica.schema">Particle</A>&nbsp;particle)</PRE>
<DL>
<DD>Adds a given Particle to the content model defined by this model group
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>particle</CODE> - the Particle to be added. Note that the particle is ignored
                 (and is not added to the content model) if it has minOccurs=maxOccurs=0.</DL>
</DD>
</DL>
<HR>

<A NAME="setContentModel(java.util.List)"><!-- --></A><H3>
setContentModel</H3>
<PRE>
public void <B>setContentModel</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>&lt;<A HREF="../../../com/saxonica/schema/Particle.html" title="class in com.saxonica.schema">Particle</A>&gt;&nbsp;particles)</PRE>
<DL>
<DD>Set the entire content model
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>particles</CODE> - a List whose members are Particle objects</DL>
</DD>
</DL>
<HR>

<A NAME="isEmptiable()"><!-- --></A><H3>
isEmptiable</H3>
<PRE>
public abstract boolean <B>isEmptiable</B>()
                             throws <A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></PRE>
<DL>
<DD>Determine if empty content is allowed
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>true if the content model of the model group allows empty content
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></CODE> - if the schema contains
 unresolved references to required components</DL>
</DD>
</DL>
<HR>

<A NAME="isPointless(com.saxonica.schema.ModelGroup)"><!-- --></A><H3>
isPointless</H3>
<PRE>
public boolean <B>isPointless</B>(<A HREF="../../../com/saxonica/schema/ModelGroup.html" title="class in com.saxonica.schema">ModelGroup</A>&nbsp;container)</PRE>
<DL>
<DD>Test whether the particle is pointless, as described in XML Schema Part 1
 Schema Component Constraint: Particle Valid (Restriction)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>container</CODE> - not used
<DT><B>Returns:</B><DD>true if the particle is pointless (which effectively means it can't match anything)</DL>
</DD>
</DL>
<HR>

<A NAME="iterateParticles()"><!-- --></A><H3>
iterateParticles</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>&lt;<A HREF="../../../com/saxonica/schema/Particle.html" title="class in com.saxonica.schema">Particle</A>&gt; <B>iterateParticles</B>()</PRE>
<DL>
<DD>Iterate over the Particles of the content model defined by this Compositor.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>an iterator over the immediately contained particles in the content model defined by this Compositor.
         Note that the iteration may return group references as well as "true" particles.</DL>
</DD>
</DL>
<HR>

<A NAME="getListOfParticles(boolean)"><!-- --></A><H3>
getListOfParticles</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>&lt;<A HREF="../../../com/saxonica/schema/Particle.html" title="class in com.saxonica.schema">Particle</A>&gt; <B>getListOfParticles</B>(boolean&nbsp;simplified)</PRE>
<DL>
<DD>Get the list of particles
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>simplified</CODE> - set to true if the simplified content model is required
                   (that is, the model after removing pointless particles and expanding group references)
<DT><B>Returns:</B><DD>the list of particles</DL>
</DD>
</DL>
<HR>

<A NAME="getContentModelSize()"><!-- --></A><H3>
getContentModelSize</H3>
<PRE>
public int <B>getContentModelSize</B>()</PRE>
<DL>
<DD>Get the number of particles in the (unsimplified) content model
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the number of particles in the (unsimplified) content model</DL>
</DD>
</DL>
<HR>

<A NAME="isEmpty()"><!-- --></A><H3>
isEmpty</H3>
<PRE>
public boolean <B>isEmpty</B>()</PRE>
<DL>
<DD>Return true if the content model is empty
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>true if the content model is empty</DL>
</DD>
</DL>
<HR>

<A NAME="containsAll(boolean)"><!-- --></A><H3>
containsAll</H3>
<PRE>
public boolean <B>containsAll</B>(boolean&nbsp;simplified)
                    throws <A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></PRE>
<DL>
<DD>Test whether this model group contains an xs:all compositor
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>simplified</CODE> - set to false if we want to look at the original unsimplified
                   content model, to true if we want the model after removing pointless particles
<DT><B>Returns:</B><DD>true if this model group contains an xs:all compositor
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></CODE> - if the schema contains unresolved
 references to required components</DL>
</DD>
</DL>
<HR>

<A NAME="getSimplifiedContentModel()"><!-- --></A><H3>
getSimplifiedContentModel</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>&lt;<A HREF="../../../com/saxonica/schema/Particle.html" title="class in com.saxonica.schema">Particle</A>&gt; <B>getSimplifiedContentModel</B>()</PRE>
<DL>
<DD>Remove pointless particles from this content model (recursively),
 and replace group references by the content of the identified group
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the simplified content model</DL>
</DD>
</DL>
<HR>

<A NAME="markVulnerableSubParticles(boolean)"><!-- --></A><H3>
markVulnerableSubParticles</H3>
<PRE>
public void <B>markVulnerableSubParticles</B>(boolean&nbsp;isRepeatable)</PRE>
<DL>
<DD>Mark contained particles as vulnerable. A particle is marked as vulnerable if everything both before
 and after it in the content model is optional. This is used in deciding whether to use counting states
 in a finite state machine.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>isRepeatable</CODE> - true if this particle repeats within the content model</DL>
</DD>
</DL>
<HR>

<A NAME="lookForCycles(java.util.Stack, com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3>
lookForCycles</H3>
<PRE>
public void <B>lookForCycles</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Stack.html?is-external=true" title="class or interface in java.util">Stack</A>&nbsp;references,
                          <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>,
                          <A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></PRE>
<DL>
<DD>This method is called to look for cycles. The object implementing this
 method is required (a) to raise an exception if the object itself appears
 in the list of references, (b) to add itself to the list of references, and
 (c) to call the lookForCycles method on all the objects that it references.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html#lookForCycles(java.util.Stack, com.saxonica.schema.SchemaCompiler)">lookForCycles</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#lookForCycles(java.util.Stack, com.saxonica.schema.SchemaCompiler)">lookForCycles</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>references</CODE> - A list of objects that contain direct or indirect references
                   to this object, and that must therefore not be referred to from this object.<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>
<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="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 Compositor 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>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 the error listener decides an error is fatal</DL>
</DD>
</DL>
<HR>

<A NAME="checkElements(net.sf.saxon.expr.sort.IntHashMap, com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3>
checkElements</H3>
<PRE>
protected boolean <B>checkElements</B>(<A HREF="../../../net/sf/saxon/expr/sort/IntHashMap.html" title="class in net.sf.saxon.expr.sort">IntHashMap</A>&lt;<A HREF="../../../com/saxonica/schema/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&gt;&nbsp;map,
                                <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>,
                                <A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></PRE>
<DL>
<DD>Check that the elements defined as particles in this model group are consistent
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>map</CODE> - a HashMap that maps integers to ElementDecl's<DD><CODE>compiler</CODE> - used for error reporting
<DT><B>Returns:</B><DD>true of the elements are consistent
<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 schema is invalid
<DD><CODE><A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></CODE> - if the schema contains unresolved references
 to required components</DL>
</DD>
</DL>
<HR>

<A NAME="getElementParticleType(int)"><!-- --></A><H3>
getElementParticleType</H3>
<PRE>
public <A HREF="../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A> <B>getElementParticleType</B>(int&nbsp;fingerprint)</PRE>
<DL>
<DD>Find an element particle within this complex type definition having a given element name
 (identified by fingerprint), and return the schema type associated with that element particle.
 If there is no such particle, return null. If the fingerprint matches an element wildcard,
 return the type of the global element declaration with the given name if one exists, or AnyType
 if none exists and lax validation is permitted by the wildcard.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fingerprint</CODE> - Identifies the name of the child element within this content model
<DT><B>Returns:</B><DD>the type associated with the element particle, if found</DL>
</DD>
</DL>
<HR>

<A NAME="getElementParticleCardinality(int)"><!-- --></A><H3>
getElementParticleCardinality</H3>
<PRE>
public int <B>getElementParticleCardinality</B>(int&nbsp;fingerprint)</PRE>
<DL>
<DD>Find an element particle within this complex type definition having a given element name
 (identified by fingerprint), and return the cardinality associated with that element particle,
 that is, the number of times the element can occur within this complex type. The value is one of
 <A HREF="../../../net/sf/saxon/expr/StaticProperty.html#EXACTLY_ONE"><CODE>StaticProperty.EXACTLY_ONE</CODE></A>, <A HREF="../../../net/sf/saxon/expr/StaticProperty.html#ALLOWS_ZERO_OR_ONE"><CODE>StaticProperty.ALLOWS_ZERO_OR_ONE</CODE></A>,
 <A HREF="../../../net/sf/saxon/expr/StaticProperty.html#ALLOWS_ZERO_OR_MORE"><CODE>StaticProperty.ALLOWS_ZERO_OR_MORE</CODE></A>, <A HREF="../../../net/sf/saxon/expr/StaticProperty.html#ALLOWS_ONE_OR_MORE"><CODE>StaticProperty.ALLOWS_ONE_OR_MORE</CODE></A>,
 If there is no such particle, return <A HREF="../../../net/sf/saxon/expr/StaticProperty.html#EMPTY"><CODE>StaticProperty.EMPTY</CODE></A>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fingerprint</CODE> - Identifies the name of the child element within this content model
<DT><B>Returns:</B><DD>the cardinality of the element particle within this content model</DL>
</DD>
</DL>
<HR>

<A NAME="containsElementWildcard()"><!-- --></A><H3>
containsElementWildcard</H3>
<PRE>
public boolean <B>containsElementWildcard</B>()</PRE>
<DL>
<DD>Ask whether the model group contains an element wildcard
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>true if the model group contains an element wildcard,</DL>
</DD>
</DL>
<HR>

<A NAME="gatherAllPermittedElements(net.sf.saxon.expr.sort.IntHashSet, boolean)"><!-- --></A><H3>
gatherAllPermittedElements</H3>
<PRE>
public void <B>gatherAllPermittedElements</B>(<A HREF="../../../net/sf/saxon/expr/sort/IntHashSet.html" title="class in net.sf.saxon.expr.sort">IntHashSet</A>&nbsp;result,
                                       boolean&nbsp;ignoreWildcards)
                                throws <A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Find the set of all element particles allowed within the content model of this particle, identified
 by their integer fingerprints. Ignore wildcards.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>result</CODE> - an initially-empty integer set in which the results are accumulated<DD><CODE>ignoreWildcards</CODE> - if true, wildcards are ignored. If false, the result will be
                        an integer set containing the value -1, meaning that it is not possible to enumerate
                        the elements that can appear in the content.
<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 schema is found to be invalid</DL>
</DD>
</DL>
<HR>

<A NAME="compile(com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3>
compile</H3>
<PRE>
public void <B>compile</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>Compile this Compositor by compiling each of the particles contained in its
 content model.
<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 compilation fails.</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>,
                     <A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</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> - is used for reporting errors
<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>
<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="getTerm()"><!-- --></A><H3>
getTerm</H3>
<PRE>
public <A HREF="../../../com/saxonica/schema/Term.html" title="interface in com.saxonica.schema">Term</A> <B>getTerm</B>()</PRE>
<DL>
<DD>Get the term corresponding to this particle
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the corresponding term</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)
               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>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>serializer</CODE> - used to receive the serialized output
<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>
<!-- ========= 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/MinLengthFacet.html" title="class in com.saxonica.schema"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/saxonica/schema/ModelGroupDefinition.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/ModelGroup.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ModelGroup.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="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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>