Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > b3bdfe6d859a3d6920ff2c44b38e9a6f > files > 1133

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:46 GMT 2011 -->
<TITLE>
ElementDecl
</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="ElementDecl";
    }
}
</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/DigitsFacet.html" title="class in com.saxonica.schema"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/saxonica/schema/ElementParticle.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/ElementDecl.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ElementDecl.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;FIELD&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</FONT>
<BR>
Class ElementDecl</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.ElementDecl</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/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>, <A HREF="../../../net/sf/saxon/type/SchemaDeclaration.html" title="interface in net.sf.saxon.type">SchemaDeclaration</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>ElementDecl</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/SerializableSchemaComponent.html" title="interface in com.saxonica.schema">SerializableSchemaComponent</A>, <A HREF="../../../net/sf/saxon/type/SchemaDeclaration.html" title="interface in net.sf.saxon.type">SchemaDeclaration</A>, <A HREF="../../../com/saxonica/schema/Term.html" title="interface in com.saxonica.schema">Term</A></DL>
</PRE>

<P>
The object represents an element declaration in the schema. It may be a global element
 declaration, or a local element declaration.
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#com.saxonica.schema.ElementDecl">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_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/ElementDecl.html#ElementDecl(com.saxonica.config.EnterpriseConfiguration, boolean, javax.xml.transform.SourceLocator)">ElementDecl</A></B>(<A HREF="../../../com/saxonica/config/EnterpriseConfiguration.html" title="class in com.saxonica.config">EnterpriseConfiguration</A>&nbsp;config,
            boolean&nbsp;global,
            <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>&nbsp;locator)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new element declaration</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/ElementDecl.html#addIdentityConstraint(com.saxonica.schema.IdentityConstraintReference)">addIdentityConstraint</A></B>(<A HREF="../../../com/saxonica/schema/IdentityConstraintReference.html" title="class in com.saxonica.schema">IdentityConstraintReference</A>&nbsp;constraint)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the given IdentityConstraint to this element definition.</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/ElementDecl.html#addSubstitutionGroupHead(int)">addSubstitutionGroupHead</A></B>(int&nbsp;nameCode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the fingerprint of the name of the head of a
 substitutionGroup for this element definition.</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/ElementDecl.html#addSubstitutionGroupMember(com.saxonica.schema.ElementDecl, com.saxonica.schema.SchemaCompiler)">addSubstitutionGroupMember</A></B>(<A HREF="../../../com/saxonica/schema/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&nbsp;member,
                           <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;Add a member of the substitution group that has this element as its head.</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/ElementDecl.html#addTypeAlternative(com.saxonica.schema.TypeAlternative)">addTypeAlternative</A></B>(<A HREF="../../../com/saxonica/schema/TypeAlternative.html" title="class in com.saxonica.schema">TypeAlternative</A>&nbsp;alternative)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a type alternative to the type alternative table.</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/ElementDecl.html#allowsDerivation(int)">allowsDerivation</A></B>(int&nbsp;derivation)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines whether derivation (of a particular kind)
 from this type is allowed, based on the "final" property (that is,
 the {substitution group exclusions} in the component 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/ElementDecl.html#equals(java.lang.Object)">equals</A></B>(<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>&nbsp;other)</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;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ElementDecl.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>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ElementDecl.html#fixupSubstitutionGroup(com.saxonica.schema.SchemaCompiler)">fixupSubstitutionGroup</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;Fix up the reference(s) to the head(s) of the substitition group(s)</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/ElementDecl.html#gatherSubstitutionGroupOwnersTransitively(java.util.Set)">gatherSubstitutionGroupOwnersTransitively</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../com/saxonica/schema/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&gt;&nbsp;headSet)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the heads of all substitution groups, expanded transitively (including this element declaration
 itself)</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/ElementDecl.html#getBlock()">getBlock</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of the 'block' attribute for this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/saxonica/schema/UserComplexType.html" title="class in com.saxonica.schema">UserComplexType</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ElementDecl.html#getContainingComplexType()">getContainingComplexType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the containing complex type.</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/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/ElementDecl.html#getDefaultValue()">getDefaultValue</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default value defined for this element definition.</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/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/ElementDecl.html#getDisplayName()">getDisplayName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of this Element declaration in a form suitable for error messages.</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/ElementDecl.html#getFingerprint()">getFingerprint</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the fingerprint of the name of this element declaration in the namePool</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../net/sf/saxon/value/Value.html" title="class in net.sf.saxon.value">Value</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ElementDecl.html#getFixedValue()">getFixedValue</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the 'fixed' value defined for this element declaration.</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/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ElementDecl.html#getFixedValueComparable()">getFixedValueComparable</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the Comparable that can be used to compare the "fixed" value against other values using
 XML Schema comparison semantics.</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/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/ElementDecl.html#getFixedValueLexicalRepresentation()">getFixedValueLexicalRepresentation</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the canonical lexical representation of the "fixed" value defined for this element declaration</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/IdentityConstraintReference.html" title="class in com.saxonica.schema">IdentityConstraintReference</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ElementDecl.html#getIdentityConstraints()">getIdentityConstraints</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an Iterator over the identity constraints defined within
 this element definition.</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/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/ElementDecl.html#getName()">getName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the local name of this Element declaration.</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/ElementDecl.html#getNameCode()">getNameCode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the nameCode of the name of this element declaration in the namePool</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/ElementDecl.html#getSubstitutionGroupExclusions()">getSubstitutionGroupExclusions</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the substitution group exclusions of this element, that is, the value of
 the applcable <code>final</code> or <code>finalDefault</code> attributes.</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/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../com/saxonica/schema/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ElementDecl.html#getSubstitutionGroupMembers()">getSubstitutionGroupMembers</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the known members of the substitution group of this element, as a Set
 containing the ElementDecl objects.</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/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../com/saxonica/schema/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ElementDecl.html#getSubstitutionGroupOwners()">getSubstitutionGroupOwners</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the head(s) of the substitutionGroup for this element declaration, or
 null if there are none.</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/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/ElementDecl.html#getTargetNamespace()">getTargetNamespace</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the namespace URI of this element declaration.</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/ElementDecl.html#getType()">getType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the Schema Type (ComplexType or SimpleType) of this Element Declaration.</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/ElementDecl.html#getTypeFingerprint()">getTypeFingerprint</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the namepool fingerprint of the name of the element's type.</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/ElementDecl.html#hashCode()">hashCode</A></B>()</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;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ElementDecl.html#hasSameTypeTable(com.saxonica.schema.ElementDecl)">hasSameTypeTable</A></B>(<A HREF="../../../com/saxonica/schema/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether this element declaration has "the same" type table as another element
 declaration</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/ElementDecl.html#hasTypeAlternatives()">hasTypeAlternatives</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ask whether any type alternatives are defined for this element</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/ElementDecl.html#isAbstract()">isAbstract</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this element definition is abstract.</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/ElementDecl.html#isGlobal()">isGlobal</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether this element declaration is global.</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/ElementDecl.html#isNillable()">isNillable</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether or not instances of this element definition
 permit xsi:nil to be set to "yes".</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/ElementDecl.html#isSameDeclaration(com.saxonica.schema.ElementDecl)">isSameDeclaration</A></B>(<A HREF="../../../com/saxonica/schema/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether this is the same declaration as another declaration.</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/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ElementDecl.html#iterateSubstitutionGroup()">iterateSubstitutionGroup</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Iterate over all the elements contained in the substitution group
 of which this element is the head.</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/TypeAlternative.html" title="class in com.saxonica.schema">TypeAlternative</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ElementDecl.html#iterateTypeAlternatives()">iterateTypeAlternatives</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Iterate over the type alternatives defined for this element.</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/ElementDecl.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;<A HREF="../../../net/sf/saxon/pattern/NodeTest.html" title="class in net.sf.saxon.pattern">NodeTest</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ElementDecl.html#makeSchemaNodeTest()">makeSchemaNodeTest</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a NodeTest that implements the semantics of schema-element(name) or
 schema-attribute(name) applied to this element or attribute declaration.</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/ElementDecl.html#registerComplexTypeUsingThisElement(com.saxonica.schema.UserComplexType)">registerComplexTypeUsingThisElement</A></B>(<A HREF="../../../com/saxonica/schema/UserComplexType.html" title="class in com.saxonica.schema">UserComplexType</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Register a complex type that contains this element as a particle.</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/ElementDecl.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/ElementDecl.html#setAbstract(boolean)">setAbstract</A></B>(boolean&nbsp;isAbstract)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether or not this element definition is abstract.</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/ElementDecl.html#setBlock(int)">setBlock</A></B>(int&nbsp;block)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of the 'block' attribute for this element
 For internal use only.</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/ElementDecl.html#setContainingComplexType(com.saxonica.schema.UserComplexType)">setContainingComplexType</A></B>(<A HREF="../../../com/saxonica/schema/UserComplexType.html" title="class in com.saxonica.schema">UserComplexType</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the containing complex type definition.</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/ElementDecl.html#setDefaultValue(java.lang.String)">setDefaultValue</A></B>(<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>&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the 'default' value for this element declaration.</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/ElementDecl.html#setFinalProhibitions(int)">setFinalProhibitions</A></B>(int&nbsp;finalValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of the 'final' property, indicating which
 types of derivation are not allowed.</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/ElementDecl.html#setFixedValue(net.sf.saxon.value.Value)">setFixedValue</A></B>(<A HREF="../../../net/sf/saxon/value/Value.html" title="class in net.sf.saxon.value">Value</A>&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the fixed value for this element definition.</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/ElementDecl.html#setGeneratedId(java.lang.String)">setGeneratedId</A></B>(<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>&nbsp;id)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the generated Id for this element declaration</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/ElementDecl.html#setNameCode(int)">setNameCode</A></B>(int&nbsp;nameCode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the name of this element declaration</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/ElementDecl.html#setNamespaceResolver(net.sf.saxon.om.NamespaceResolver)">setNamespaceResolver</A></B>(<A HREF="../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A>&nbsp;resolver)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the namespace resolver to be used</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/ElementDecl.html#setNillable(boolean)">setNillable</A></B>(boolean&nbsp;nillable)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether or not instances of this element definition may
 set xsi:nil='true'.</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/ElementDecl.html#setTypeReference(com.saxonica.schema.TypeReference)">setTypeReference</A></B>(<A HREF="../../../com/saxonica/schema/TypeReference.html" title="class in com.saxonica.schema">TypeReference</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the schema type for this element declaration.</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/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/ElementDecl.html#toString()">toString</A></B>()</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;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/saxonica/schema/ElementDecl.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;Check the validity (consistency) of this element 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#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#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#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>

<!-- ========= 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="ElementDecl(com.saxonica.config.EnterpriseConfiguration, boolean, javax.xml.transform.SourceLocator)"><!-- --></A><H3>
ElementDecl</H3>
<PRE>
public <B>ElementDecl</B>(<A HREF="../../../com/saxonica/config/EnterpriseConfiguration.html" title="class in com.saxonica.config">EnterpriseConfiguration</A>&nbsp;config,
                   boolean&nbsp;global,
                   <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>&nbsp;locator)</PRE>
<DL>
<DD>Creates a new element declaration
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - the Configuration to which this element declaration
                belongs<DD><CODE>global</CODE> - true if the element declaration is top-level<DD><CODE>locator</CODE> - identifies the location of the element declaration in the</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="setGeneratedId(java.lang.String)"><!-- --></A><H3>
setGeneratedId</H3>
<PRE>
public void <B>setGeneratedId</B>(<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>&nbsp;id)</PRE>
<DL>
<DD>Set the generated Id for this element declaration
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>id</CODE> - the generated ID</DL>
</DD>
</DL>
<HR>

<A NAME="setNamespaceResolver(net.sf.saxon.om.NamespaceResolver)"><!-- --></A><H3>
setNamespaceResolver</H3>
<PRE>
public void <B>setNamespaceResolver</B>(<A HREF="../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A>&nbsp;resolver)</PRE>
<DL>
<DD>Set the namespace resolver to be used
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resolver</CODE> - the namespace resolver</DL>
</DD>
</DL>
<HR>

<A NAME="addIdentityConstraint(com.saxonica.schema.IdentityConstraintReference)"><!-- --></A><H3>
addIdentityConstraint</H3>
<PRE>
public void <B>addIdentityConstraint</B>(<A HREF="../../../com/saxonica/schema/IdentityConstraintReference.html" title="class in com.saxonica.schema">IdentityConstraintReference</A>&nbsp;constraint)</PRE>
<DL>
<DD>Adds the given IdentityConstraint to this element definition.
 For internal use only.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>constraint</CODE> - the IdentityConstraint to add.</DL>
</DD>
</DL>
<HR>

<A NAME="setContainingComplexType(com.saxonica.schema.UserComplexType)"><!-- --></A><H3>
setContainingComplexType</H3>
<PRE>
public void <B>setContainingComplexType</B>(<A HREF="../../../com/saxonica/schema/UserComplexType.html" title="class in com.saxonica.schema">UserComplexType</A>&nbsp;type)</PRE>
<DL>
<DD>Sets the containing complex type definition.
 For internal use only.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - the complex type containing this local element declaration</DL>
</DD>
</DL>
<HR>

<A NAME="getBlock()"><!-- --></A><H3>
getBlock</H3>
<PRE>
public int <B>getBlock</B>()</PRE>
<DL>
<DD>Returns the value of the 'block' attribute for this element. This corresponds to the
 value of the {disallowed substitutions} property in the schema component model.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the value of the block attribute, as a bit-significant integer
         using constants such as <A HREF="../../../net/sf/saxon/type/SchemaType.html#DERIVE_BY_SUBSTITUTION"><CODE>SchemaType.DERIVE_BY_SUBSTITUTION</CODE></A>, indicating
         which kinds of derivation from this element declaration are blocked.</DL>
</DD>
</DL>
<HR>

<A NAME="getDefaultValue()"><!-- --></A><H3>
getDefaultValue</H3>
<PRE>
public <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>getDefaultValue</B>()</PRE>
<DL>
<DD>Returns the default value defined for this element definition.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the default value of this element definition,
         or null if no default was specified.</DL>
</DD>
</DL>
<HR>

<A NAME="getSubstitutionGroupExclusions()"><!-- --></A><H3>
getSubstitutionGroupExclusions</H3>
<PRE>
public int <B>getSubstitutionGroupExclusions</B>()</PRE>
<DL>
<DD>Get the substitution group exclusions of this element, that is, the value of
 the applcable <code>final</code> or <code>finalDefault</code> attributes.
 Corresponds to the property {substitution group exclusions} in the schema component
 model.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the substitution group exclusions, represented as a bit-significant integer,
         the relevant bits being <A HREF="../../../net/sf/saxon/type/SchemaType.html#DERIVATION_EXTENSION"><CODE>SchemaType.DERIVATION_EXTENSION</CODE></A> and
         <A HREF="../../../net/sf/saxon/type/SchemaType.html#DERIVATION_RESTRICTION"><CODE>SchemaType.DERIVATION_RESTRICTION</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="allowsDerivation(int)"><!-- --></A><H3>
allowsDerivation</H3>
<PRE>
public boolean <B>allowsDerivation</B>(int&nbsp;derivation)</PRE>
<DL>
<DD>Determines whether derivation (of a particular kind)
 from this type is allowed, based on the "final" property (that is,
 the {substitution group exclusions} in the component model
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>derivation</CODE> - the kind of derivation, e.g. <A HREF="../../../net/sf/saxon/type/SchemaType.html#DERIVATION_EXTENSION"><CODE>SchemaType.DERIVATION_EXTENSION</CODE></A>
<DT><B>Returns:</B><DD>true if this kind of derivation is allowed</DL>
</DD>
</DL>
<HR>

<A NAME="getContainingComplexType()"><!-- --></A><H3>
getContainingComplexType</H3>
<PRE>
public <A HREF="../../../com/saxonica/schema/UserComplexType.html" title="class in com.saxonica.schema">UserComplexType</A> <B>getContainingComplexType</B>()</PRE>
<DL>
<DD>Get the containing complex type. This represents one aspect of the {scope} property
 defined in the schema component model. If the element is a local element declaration
 and is defined as part of a complex type (and not as part of a named model group),
 returns the complex type definition. Otherwise, returns null.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the containing complex type definition if there is one, otherwise null</DL>
</DD>
</DL>
<HR>

<A NAME="getFixedValue()"><!-- --></A><H3>
getFixedValue</H3>
<PRE>
public <A HREF="../../../net/sf/saxon/value/Value.html" title="class in net.sf.saxon.value">Value</A> <B>getFixedValue</B>()</PRE>
<DL>
<DD>Returns the 'fixed' value defined for this element declaration.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the fixed value for this element declaration,
         or null if no fixed value was specified.</DL>
</DD>
</DL>
<HR>

<A NAME="getFixedValueLexicalRepresentation()"><!-- --></A><H3>
getFixedValueLexicalRepresentation</H3>
<PRE>
public <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>getFixedValueLexicalRepresentation</B>()</PRE>
<DL>
<DD>Return the canonical lexical representation of the "fixed" value defined for this element declaration
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the canonical lexical representation of the "fixed" value, or null if there is no fixed value</DL>
</DD>
</DL>
<HR>

<A NAME="getFixedValueComparable()"><!-- --></A><H3>
getFixedValueComparable</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A> <B>getFixedValueComparable</B>()</PRE>
<DL>
<DD>Return the Comparable that can be used to compare the "fixed" value against other values using
 XML Schema comparison semantics.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the Comparable for the fixed value, or null if there is no fixed value</DL>
</DD>
</DL>
<HR>

<A NAME="getIdentityConstraints()"><!-- --></A><H3>
getIdentityConstraints</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/IdentityConstraintReference.html" title="class in com.saxonica.schema">IdentityConstraintReference</A>&gt; <B>getIdentityConstraints</B>()</PRE>
<DL>
<DD>Returns an Iterator over the identity constraints defined within
 this element definition. This corresponds to the {identity-constraint definitions}
 property in the schema component model.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>an Iterator of <A HREF="../../../com/saxonica/schema/IdentityConstraintReference.html" title="class in com.saxonica.schema"><CODE>IdentityConstraintReference</CODE></A> objects contained within
         this element definition.</DL>
</DD>
</DL>
<HR>

<A NAME="getDisplayName()"><!-- --></A><H3>
getDisplayName</H3>
<PRE>
public <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>getDisplayName</B>()</PRE>
<DL>
<DD>Returns the name of this Element declaration in a form suitable for error messages.
 This will be the Clark name
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the name of this element declaration in Clark format</DL>
</DD>
</DL>
<HR>

<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public <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>getName</B>()</PRE>
<DL>
<DD>Returns the local name of this Element declaration. The name
 returned, if not null, will be an NCName. This corresponds to the {name}
 property defined in the schema component model.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the local name of this element declaration, if it is global, or null if it is anonymous</DL>
</DD>
</DL>
<HR>

<A NAME="getTargetNamespace()"><!-- --></A><H3>
getTargetNamespace</H3>
<PRE>
public <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>getTargetNamespace</B>()</PRE>
<DL>
<DD>Get the namespace URI of this element declaration. This corresponds to the
 {targetNamespace} property defined in the schema component model.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the target namespace if the element declaration is global and the target
         namespace is not "absent". Return "" for a local element declaration or for a
         global element in a no-namespace schema.</DL>
</DD>
</DL>
<HR>

<A NAME="getTypeFingerprint()"><!-- --></A><H3>
getTypeFingerprint</H3>
<PRE>
public int <B>getTypeFingerprint</B>()</PRE>
<DL>
<DD>Get the namepool fingerprint of the name of the element's type.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the fingerprint of the type, or -1 if none is available.</DL>
</DD>
</DL>
<HR>

<A NAME="getType()"><!-- --></A><H3>
getType</H3>
<PRE>
public <A HREF="../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A> <B>getType</B>()
                   throws <A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></PRE>
<DL>
<DD>Returns the Schema Type (ComplexType or SimpleType) of this Element Declaration.
 This corresponds to the {typeDefinition} property in the schema component model.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaDeclaration.html#getType()">getType</A></CODE> in interface <CODE><A HREF="../../../net/sf/saxon/type/SchemaDeclaration.html" title="interface in net.sf.saxon.type">SchemaDeclaration</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the Schema Type of this Element Declaration.
<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 reference from the element declaration
                                      to its type cannot be resolved.</DL>
</DD>
</DL>
<HR>

<A NAME="getSubstitutionGroupOwners()"><!-- --></A><H3>
getSubstitutionGroupOwners</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../com/saxonica/schema/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&gt; <B>getSubstitutionGroupOwners</B>()
                                            throws <A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></PRE>
<DL>
<DD>Returns the head(s) of the substitutionGroup for this element declaration, or
 null if there are none. This corresponds to the {substitution group affiliation} property
 in the schema component model.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the element declarations representing the heads of the substitution groups in which this element
         declaration is a member, or null if none is defined. These are the immediate parents in the substitution
         group lattice.
<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 element is a member of a substitution group but
                                      no declaration of the referenced element is (yet) available</DL>
</DD>
</DL>
<HR>

<A NAME="gatherSubstitutionGroupOwnersTransitively(java.util.Set)"><!-- --></A><H3>
gatherSubstitutionGroupOwnersTransitively</H3>
<PRE>
public void <B>gatherSubstitutionGroupOwnersTransitively</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../com/saxonica/schema/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&gt;&nbsp;headSet)</PRE>
<DL>
<DD>Get the heads of all substitution groups, expanded transitively (including this element declaration
 itself)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>headSet</CODE> - the set into which the heads of all groups will be placed</DL>
</DD>
</DL>
<HR>

<A NAME="getSubstitutionGroupMembers()"><!-- --></A><H3>
getSubstitutionGroupMembers</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;<A HREF="../../../com/saxonica/schema/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&gt; <B>getSubstitutionGroupMembers</B>()</PRE>
<DL>
<DD>Get the known members of the substitution group of this element, as a Set
 containing the ElementDecl objects. This includes all applicable element declarations
 in schemas compiled within the same Configuration as this schema.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>a set containing all the substitution group members, expanded transtively</DL>
</DD>
</DL>
<HR>

<A NAME="addSubstitutionGroupMember(com.saxonica.schema.ElementDecl, com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3>
addSubstitutionGroupMember</H3>
<PRE>
public void <B>addSubstitutionGroupMember</B>(<A HREF="../../../com/saxonica/schema/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&nbsp;member,
                                       <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>Add a member of the substitution group that has this element as its head.
 For internal use only.
 <p/>
 This method may be called at any time, for example when a new schema is loaded as a result
 of validating an instance document. The method is therefore synchronized, since the
 schema may be used in several threads concurrently. Adding a new member to a substitution group
 means that all complex type definitions that include this element in their content model
 must be recompiled.
 <p/>
 It is not possible to add to a substitution group once the element declaration has been used,
 either for validating a source document or for compiling stylesheets or schemas.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>member</CODE> - The element declaration to be added to the substitution group of which this
                 element declaration is the head. Elements are added to each ancestor in the substitution
                 group hierarchy.<DD><CODE>compiler</CODE> - used for error reporting
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - if a fatal error occurs</DL>
</DD>
</DL>
<HR>

<A NAME="registerComplexTypeUsingThisElement(com.saxonica.schema.UserComplexType)"><!-- --></A><H3>
registerComplexTypeUsingThisElement</H3>
<PRE>
public void <B>registerComplexTypeUsingThisElement</B>(<A HREF="../../../com/saxonica/schema/UserComplexType.html" title="class in com.saxonica.schema">UserComplexType</A>&nbsp;type)</PRE>
<DL>
<DD>Register a complex type that contains this element as a particle. If new elements are added
 to the substitution group headed by this element, these complex types will need to be
 recompiled to permit the new substititution group members. For internal use only.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - A complex type that contains this element as a particle.</DL>
</DD>
</DL>
<HR>

<A NAME="isAbstract()"><!-- --></A><H3>
isAbstract</H3>
<PRE>
public boolean <B>isAbstract</B>()</PRE>
<DL>
<DD>Returns true if this element definition is abstract. This
 corresponds to the {abstract} property in the schema component model.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaDeclaration.html#isAbstract()">isAbstract</A></CODE> in interface <CODE><A HREF="../../../net/sf/saxon/type/SchemaDeclaration.html" title="interface in net.sf.saxon.type">SchemaDeclaration</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>true if this element definition is abstract</DL>
</DD>
</DL>
<HR>

<A NAME="isNillable()"><!-- --></A><H3>
isNillable</H3>
<PRE>
public boolean <B>isNillable</B>()</PRE>
<DL>
<DD>Determine whether or not instances of this element definition
 permit xsi:nil to be set to "yes". This corresponds to the
 {nillable} property in the schema component model.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaDeclaration.html#isNillable()">isNillable</A></CODE> in interface <CODE><A HREF="../../../net/sf/saxon/type/SchemaDeclaration.html" title="interface in net.sf.saxon.type">SchemaDeclaration</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>true if instances conforming to this element definition
         may be nilled, and false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="isGlobal()"><!-- --></A><H3>
isGlobal</H3>
<PRE>
public boolean <B>isGlobal</B>()</PRE>
<DL>
<DD>Determine whether this element declaration is global. This represents
 one aspect of the {scope} property defined in the schema data model.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>true if the element declaration is global, false if it is local</DL>
</DD>
</DL>
<HR>

<A NAME="setAbstract(boolean)"><!-- --></A><H3>
setAbstract</H3>
<PRE>
public void <B>setAbstract</B>(boolean&nbsp;isAbstract)</PRE>
<DL>
<DD>Sets whether or not this element definition is abstract.
 For internal use only.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>isAbstract</CODE> - a boolean: when true indicates that this
                   element definition is abstract</DL>
</DD>
</DL>
<HR>

<A NAME="setBlock(int)"><!-- --></A><H3>
setBlock</H3>
<PRE>
public void <B>setBlock</B>(int&nbsp;block)</PRE>
<DL>
<DD>Sets the value of the 'block' attribute for this element
 For internal use only.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>block</CODE> - the value of the block attribute for this
              element definition, indicating the types of derivation that are not allowed,
              as a bit-significant integer, using constants such as <A HREF="../../../net/sf/saxon/type/SchemaType.html#DERIVATION_EXTENSION"><CODE>SchemaType.DERIVATION_EXTENSION</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setDefaultValue(java.lang.String)"><!-- --></A><H3>
setDefaultValue</H3>
<PRE>
public void <B>setDefaultValue</B>(<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>&nbsp;value)</PRE>
<DL>
<DD>Sets the 'default' value for this element declaration.
 For internal use only.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the default value for this element declaration.</DL>
</DD>
</DL>
<HR>

<A NAME="setFinalProhibitions(int)"><!-- --></A><H3>
setFinalProhibitions</H3>
<PRE>
public void <B>setFinalProhibitions</B>(int&nbsp;finalValue)</PRE>
<DL>
<DD>Sets the value of the 'final' property, indicating which
 types of derivation are not allowed.
 For internal use only.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>finalValue</CODE> - the bit-significant code representing the final property,
                   made up of values such as <A HREF="../../../net/sf/saxon/type/SchemaType.html#DERIVE_BY_SUBSTITUTION"><CODE>SchemaType.DERIVE_BY_SUBSTITUTION</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setFixedValue(net.sf.saxon.value.Value)"><!-- --></A><H3>
setFixedValue</H3>
<PRE>
public void <B>setFixedValue</B>(<A HREF="../../../net/sf/saxon/value/Value.html" title="class in net.sf.saxon.value">Value</A>&nbsp;value)</PRE>
<DL>
<DD>Sets the fixed value for this element definition.
 For internal use only.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the fixed value for this element definition. This is stored initially
              as the string value initially specified in the schema document; once the type of
              the element is known (during schema validation) this is replaced by the typed value.</DL>
</DD>
</DL>
<HR>

<A NAME="setNillable(boolean)"><!-- --></A><H3>
setNillable</H3>
<PRE>
public void <B>setNillable</B>(boolean&nbsp;nillable)</PRE>
<DL>
<DD>Sets whether or not instances of this element definition may
 set xsi:nil='true'. For internal use only.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nillable</CODE> - the flag when true indicates that instances
                 of this element definition may be nilled</DL>
</DD>
</DL>
<HR>

<A NAME="setNameCode(int)"><!-- --></A><H3>
setNameCode</H3>
<PRE>
public void <B>setNameCode</B>(int&nbsp;nameCode)</PRE>
<DL>
<DD>Set the name of this element declaration
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nameCode</CODE> - the nameCode of the element name in the namePool</DL>
</DD>
</DL>
<HR>

<A NAME="getFingerprint()"><!-- --></A><H3>
getFingerprint</H3>
<PRE>
public int <B>getFingerprint</B>()</PRE>
<DL>
<DD>Get the fingerprint of the name of this element declaration in the namePool
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaDeclaration.html#getFingerprint()">getFingerprint</A></CODE> in interface <CODE><A HREF="../../../net/sf/saxon/type/SchemaDeclaration.html" title="interface in net.sf.saxon.type">SchemaDeclaration</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the fingerprint of the element name</DL>
</DD>
</DL>
<HR>

<A NAME="getNameCode()"><!-- --></A><H3>
getNameCode</H3>
<PRE>
public int <B>getNameCode</B>()</PRE>
<DL>
<DD>Get the nameCode of the name of this element declaration in the namePool
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the nameCode of the element name</DL>
</DD>
</DL>
<HR>

<A NAME="addSubstitutionGroupHead(int)"><!-- --></A><H3>
addSubstitutionGroupHead</H3>
<PRE>
public void <B>addSubstitutionGroupHead</B>(int&nbsp;nameCode)</PRE>
<DL>
<DD>Adds the fingerprint of the name of the head of a
 substitutionGroup for this element definition.
 For internal use only.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nameCode</CODE> - the nameCode of the name of the head of the
                 substitutionGroup of this element definition.</DL>
</DD>
</DL>
<HR>

<A NAME="iterateSubstitutionGroup()"><!-- --></A><H3>
iterateSubstitutionGroup</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/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&gt; <B>iterateSubstitutionGroup</B>()</PRE>
<DL>
<DD>Iterate over all the elements contained in the substitution group
 of which this element is the head. If this object represents an element reference,
 the iterator is over the substitution group of the referenced global element.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>an iterator giving access to the ElementDecl objects defining the members
         of the substitution group. This gives access to all the descendants in the substitution
         group hierarchy, not only the elements that explicitly name this element as their substitution
         group head.</DL>
</DD>
</DL>
<HR>

<A NAME="setTypeReference(com.saxonica.schema.TypeReference)"><!-- --></A><H3>
setTypeReference</H3>
<PRE>
public void <B>setTypeReference</B>(<A HREF="../../../com/saxonica/schema/TypeReference.html" title="class in com.saxonica.schema">TypeReference</A>&nbsp;type)</PRE>
<DL>
<DD>Sets the schema type for this element declaration.
 For internal use only.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - the schema type for this element declaration.</DL>
</DD>
</DL>
<HR>

<A NAME="addTypeAlternative(com.saxonica.schema.TypeAlternative)"><!-- --></A><H3>
addTypeAlternative</H3>
<PRE>
public void <B>addTypeAlternative</B>(<A HREF="../../../com/saxonica/schema/TypeAlternative.html" title="class in com.saxonica.schema">TypeAlternative</A>&nbsp;alternative)</PRE>
<DL>
<DD>Add a type alternative to the type alternative table. Note that the order in which alternatives
 are added is significant.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>alternative</CODE> - the type alternative to be added</DL>
</DD>
</DL>
<HR>

<A NAME="hasTypeAlternatives()"><!-- --></A><H3>
hasTypeAlternatives</H3>
<PRE>
public boolean <B>hasTypeAlternatives</B>()</PRE>
<DL>
<DD>Ask whether any type alternatives are defined for this element
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>true if type alternatives have been defined</DL>
</DD>
</DL>
<HR>

<A NAME="iterateTypeAlternatives()"><!-- --></A><H3>
iterateTypeAlternatives</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/TypeAlternative.html" title="class in com.saxonica.schema">TypeAlternative</A>&gt; <B>iterateTypeAlternatives</B>()</PRE>
<DL>
<DD>Iterate over the type alternatives defined for this element. This should be called
 only after callling hasTypeAlternatives() to check that there are any.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>an iterator over the type alternatives defined for this element declaration.
         The items returned by this iterator are of class <A HREF="../../../com/saxonica/schema/TypeAlternative.html" title="class in com.saxonica.schema"><CODE>TypeAlternative</CODE></A></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/>
 <p>In this particular case the cycles we are looking for are cycles in substitution
 group membership.</p>
<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="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> - 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>
<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="makeSchemaNodeTest()"><!-- --></A><H3>
makeSchemaNodeTest</H3>
<PRE>
public <A HREF="../../../net/sf/saxon/pattern/NodeTest.html" title="class in net.sf.saxon.pattern">NodeTest</A> <B>makeSchemaNodeTest</B>()</PRE>
<DL>
<DD>Create a NodeTest that implements the semantics of schema-element(name) or
 schema-attribute(name) applied to this element or attribute declaration.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaDeclaration.html#makeSchemaNodeTest()">makeSchemaNodeTest</A></CODE> in interface <CODE><A HREF="../../../net/sf/saxon/type/SchemaDeclaration.html" title="interface in net.sf.saxon.type">SchemaDeclaration</A></CODE></DL>
</DD>
<DD><DL>
</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>Check the validity (consistency) of this element definition.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html#validate(com.saxonica.schema.SchemaCompiler)">validate</A></CODE> in interface <CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema">UserSchemaComponent</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>compiler</CODE> - used for error reporting
<DT><B>Returns:</B><DD>true if validation succeeded, false if errors were 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> - if an error is found and the
                         error listener decides that the error is fatal</DL>
</DD>
</DL>
<HR>

<A NAME="fixupSubstitutionGroup(com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3>
fixupSubstitutionGroup</H3>
<PRE>
protected void <B>fixupSubstitutionGroup</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>Fix up the reference(s) to the head(s) of the substitition group(s)
<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 any error occurs, for example a name that is referenced
                         but not declared</DL>
</DD>
</DL>
<HR>

<A NAME="isSameDeclaration(com.saxonica.schema.ElementDecl)"><!-- --></A><H3>
isSameDeclaration</H3>
<PRE>
public boolean <B>isSameDeclaration</B>(<A HREF="../../../com/saxonica/schema/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&nbsp;other)</PRE>
<DL>
<DD>Test whether this is the same declaration as another declaration.
 They are considered to be the same declaration
 if they are derived from the same definition in the original XML representation (which
 can happen when there are multiple includes of the same file)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>other</CODE> - the declaration with which to compare this one
<DT><B>Returns:</B><DD>true if the two declarations are the same</DL>
</DD>
</DL>
<HR>

<A NAME="hasSameTypeTable(com.saxonica.schema.ElementDecl)"><!-- --></A><H3>
hasSameTypeTable</H3>
<PRE>
public boolean <B>hasSameTypeTable</B>(<A HREF="../../../com/saxonica/schema/ElementDecl.html" title="class in com.saxonica.schema">ElementDecl</A>&nbsp;other)</PRE>
<DL>
<DD>Test whether this element declaration has "the same" type table as another element
 declaration
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>other</CODE> - the other element declaration
<DT><B>Returns:</B><DD>true if the type tables are the same, false if they are different</DL>
</DD>
</DL>
<HR>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public <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>toString</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><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></CODE> in class <CODE><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></CODE></DL>
</DD>
<DD><DL>
</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>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/saxonica/schema/SerializableSchemaComponent.html#serialize(com.saxonica.schema.SchemaModelSerializer)">serialize</A></CODE> in interface <CODE><A HREF="../../../com/saxonica/schema/SerializableSchemaComponent.html" title="interface in com.saxonica.schema">SerializableSchemaComponent</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>serializer</CODE> - the object responsible for performing the serialization
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - if serialization fails</DL>
</DD>
</DL>
<HR>

<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(<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>&nbsp;other)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><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></CODE> in class <CODE><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></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="hashCode()"><!-- --></A><H3>
hashCode</H3>
<PRE>
public int <B>hashCode</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><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></CODE> in class <CODE><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></CODE></DL>
</DD>
<DD><DL>
</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/DigitsFacet.html" title="class in com.saxonica.schema"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/saxonica/schema/ElementParticle.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/ElementDecl.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ElementDecl.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;FIELD&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>