Sophie

Sophie

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

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Fri Dec 09 20:47:49 GMT 2011 -->
<TITLE>
SchemaElement
</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="SchemaElement";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/saxonica/schema/sdoc/SchemaDocumentTransformer.html" title="class in com.saxonica.schema.sdoc"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.XPathStaticContext.html" title="class in com.saxonica.schema.sdoc"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/saxonica/schema/sdoc/SchemaElement.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="SchemaElement.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;<A HREF="#nested_class_summary">NESTED</A>&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.sdoc</FONT>
<BR>
Class SchemaElement</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="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">net.sf.saxon.tree.linked.NodeImpl</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html" title="class in net.sf.saxon.tree.linked">net.sf.saxon.tree.linked.ElementImpl</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.saxonica.schema.sdoc.SchemaElement</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform">Source</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/evpull/PullEvent.html" title="interface in net.sf.saxon.evpull">PullEvent</A>, <A HREF="../../../../net/sf/saxon/om/FingerprintedNode.html" title="interface in net.sf.saxon.om">FingerprintedNode</A>, <A HREF="../../../../net/sf/saxon/om/Item.html" title="interface in net.sf.saxon.om">Item</A>&lt;<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>&gt;, <A HREF="../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A>, <A HREF="../../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>, <A HREF="../../../../net/sf/saxon/om/ValueRepresentation.html" title="interface in net.sf.saxon.om">ValueRepresentation</A>&lt;<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>&gt;, <A HREF="../../../../net/sf/saxon/tree/wrapper/SiblingCountingNode.html" title="interface in net.sf.saxon.tree.wrapper">SiblingCountingNode</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/saxonica/schema/sdoc/AnnotationParent.html" title="class in com.saxonica.schema.sdoc">AnnotationParent</A>, <A HREF="../../../../com/saxonica/schema/sdoc/UnknownElement.html" title="class in com.saxonica.schema.sdoc">UnknownElement</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDAnnotation.html" title="class in com.saxonica.schema.sdoc">XSDAnnotation</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDAttribute.html" title="class in com.saxonica.schema.sdoc">XSDAttribute</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDAttributeGroup.html" title="class in com.saxonica.schema.sdoc">XSDAttributeGroup</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDComplexContent.html" title="class in com.saxonica.schema.sdoc">XSDComplexContent</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDComplexContentRestriction.html" title="class in com.saxonica.schema.sdoc">XSDComplexContentRestriction</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDComplexType.html" title="class in com.saxonica.schema.sdoc">XSDComplexType</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDCompositor.html" title="class in com.saxonica.schema.sdoc">XSDCompositor</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDDocumentation.html" title="class in com.saxonica.schema.sdoc">XSDDocumentation</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDElement.html" title="class in com.saxonica.schema.sdoc">XSDElement</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDExtension.html" title="class in com.saxonica.schema.sdoc">XSDExtension</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDGroup.html" title="class in com.saxonica.schema.sdoc">XSDGroup</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDIdentityConstraint.html" title="class in com.saxonica.schema.sdoc">XSDIdentityConstraint</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDList.html" title="class in com.saxonica.schema.sdoc">XSDList</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDOverride.html" title="class in com.saxonica.schema.sdoc">XSDOverride</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDRedefine.html" title="class in com.saxonica.schema.sdoc">XSDRedefine</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDSchema.html" title="class in com.saxonica.schema.sdoc">XSDSchema</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDSimpleContent.html" title="class in com.saxonica.schema.sdoc">XSDSimpleContent</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDSimpleContentRestriction.html" title="class in com.saxonica.schema.sdoc">XSDSimpleContentRestriction</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDSimpleType.html" title="class in com.saxonica.schema.sdoc">XSDSimpleType</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDSimpleTypeRestriction.html" title="class in com.saxonica.schema.sdoc">XSDSimpleTypeRestriction</A>, <A HREF="../../../../com/saxonica/schema/sdoc/XSDUnion.html" title="class in com.saxonica.schema.sdoc">XSDUnion</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public abstract class <B>SchemaElement</B><DT>extends <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html" title="class in net.sf.saxon.tree.linked">ElementImpl</A></DL>
</PRE>

<P>
An element in an XML Schema document. This is an abstract superclass for the elements
 in the schema document; many of its methods are designed to be called from the subclasses
<P>

<P>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_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>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.XPathStaticContext.html" title="class in com.saxonica.schema.sdoc">SchemaElement.XPathStaticContext</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<!-- =========== 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 static&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/sdoc/SchemaElement.html#NAMESPACE_ANY">NAMESPACE_ANY</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>protected static&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/sdoc/SchemaElement.html#NAMESPACE_LOCAL">NAMESPACE_LOCAL</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>protected static&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/sdoc/SchemaElement.html#NAMESPACE_OTHER">NAMESPACE_OTHER</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>protected static&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/sdoc/SchemaElement.html#NAMESPACE_TARGET">NAMESPACE_TARGET</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>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#REQUIRE_NULL_NS">REQUIRE_NULL_NS</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option indicating "no namespace prefix is allowed; the name is in the null Namespace"</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#REQUIRE_TARGET_NS">REQUIRE_TARGET_NS</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option indicating "no namespace prefix is allowed; the name is in the targetNamespace"</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#USE_DEFAULT_NS">USE_DEFAULT_NS</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option indicating "use the default element namespace when unprefixed"</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#USE_DEFAULT_NS_WITHOUT_IMPORT">USE_DEFAULT_NS_WITHOUT_IMPORT</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option indicating "use the default element namespace when unprefixed", but without a requirement
 to have an xs:import</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_net.sf.saxon.tree.linked.NodeImpl"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class net.sf.saxon.tree.linked.<A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#NODE_LETTER">NODE_LETTER</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_net.sf.saxon.om.NodeInfo"><!-- --></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.om.<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/sf/saxon/om/NodeInfo.html#ALL_NAMESPACES">ALL_NAMESPACES</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#IS_DTD_TYPE">IS_DTD_TYPE</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#IS_NILLED">IS_NILLED</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#LOCAL_NAMESPACES">LOCAL_NAMESPACES</A>, <A HREF="../../../../net/sf/saxon/om/NodeInfo.html#NO_NAMESPACES">NO_NAMESPACES</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#SchemaElement()">SchemaElement</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a SchemaElement</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>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#addChild(net.sf.saxon.tree.linked.NodeImpl, int)">addChild</A></B>(<A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A>&nbsp;node,
         int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a child node to this node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#allocateAnonymousTypeCode()">allocateAnonymousTypeCode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allocate a name to an anonymous type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#allowAttributes(net.sf.saxon.om.AttributeCollection, java.lang.String[])">allowAttributes</A></B>(<A HREF="../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A>&nbsp;atts,
                <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;allowed)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check the attributes of an element against a list of allowed attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#checkContentModel(int[][], int[][], boolean)">checkContentModel</A></B>(int[][]&nbsp;stateTerms,
                  int[][]&nbsp;stateTargets,
                  boolean&nbsp;allowWildcards)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check the content model of an element in the schema.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#checkLocalTargetNamespace(java.lang.String)">checkLocalTargetNamespace</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;elementOrAttribute)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For an element or attribute declaration with a targetNamespace attribute (XSD 1.1), check the
 highly-paternalistic rules for when this attribute is permitted.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#checkMutuallyExclusiveAttributes(java.lang.String, java.lang.String)">checkMutuallyExclusiveAttributes</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;name1,
                                 <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;name2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method tests whether two attributes coexist and reports an error if they do</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#checkOnlyChildIsAnnotation()">checkOnlyChildIsAnnotation</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check that the only child element of this element is an
 (optional and non-repeatable) xs:annotation 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/sdoc/SchemaElement.html#checkPermittedType(int, java.lang.String, java.lang.String)">checkPermittedType</A></B>(int&nbsp;fp,
                   <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;name,
                   <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;role)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check that a given type is a permitted type</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#compact(int)">compact</A></B>(int&nbsp;size)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compact the space used by this node</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#duplicate(java.lang.String, java.lang.String)">duplicate</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;category,
          <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;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when two objects in the same symbol space within
 a schema have duplicate names</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#duplicateElement(java.lang.String)">duplicateElement</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;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when two occurrences of a child element are found
 and only one is allowed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../net/sf/saxon/tree/iter/AxisIterator.html" title="interface in net.sf.saxon.tree.iter">AxisIterator</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#enumerateChildren(net.sf.saxon.pattern.NodeTest)">enumerateChildren</A></B>(<A HREF="../../../../net/sf/saxon/pattern/NodeTest.html" title="class in net.sf.saxon.pattern">NodeTest</A>&nbsp;test)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get an enumeration of the children of this node</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#error(net.sf.saxon.type.SchemaException)">error</A></B>(<A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A>&nbsp;exception)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called for a general error.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#error(java.lang.String)">error</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;err)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called for a general error.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &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/sdoc/SchemaElement.html#getContainingComplexType()">getContainingComplexType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the complexType associated with the containing xs:complexType element</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html" title="class in com.saxonica.schema.sdoc">SimpleTypeDefinition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#getContainingSimpleType()">getContainingSimpleType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the simpleTypeDefinition associated with the containing xs:simpleType element</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#getFingerprint(java.lang.String, int)">getFingerprint</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;name,
               int&nbsp;option)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called to check that a QName is valid and allocate a
 fingerprint for the name 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/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#getFirstChild()">getFirstChild</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the first child node of the element</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#getLastChild()">getLastChild</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the last child node of the element</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#getNameCode(java.lang.String, int)">getNameCode</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;name,
            int&nbsp;option)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called to check that a QName is valid and allocate a
 nameCode for the name in the namePool.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#getNthChild(int)">getNthChild</A></B>(int&nbsp;n)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the nth child node of the element (numbering from 0)</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/sdoc/SchemaElement.html#getNumberOfChildren()">getNumberOfChildren</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine how many children the node has</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#getRawSequenceNumber()">getRawSequenceNumber</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>protected &nbsp;<A HREF="../../../../com/saxonica/schema/SingleNamespaceSchema.html" title="class in com.saxonica.schema">SingleNamespaceSchema</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#getSchema()">getSchema</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the schema corresponding to the contents of the schema document containing 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/sdoc/SchemaNodeFactory.html" title="class in com.saxonica.schema.sdoc">SchemaNodeFactory</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#getSchemaNodeFactory()">getSchemaNodeFactory</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the nodeFactory used to create this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#getSequenceNumber()">getSequenceNumber</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the node sequence number (in document order).</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/sdoc/SchemaElement.html#getStringValue()">getStringValue</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the string-value of the node, that is, the concatenation
 of the character content of all descendent elements and text nodes.</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/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#getStringValueCS()">getStringValueCS</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the value of the item as a CharSequence.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/saxonica/schema/sdoc/XSDSchema.html" title="class in com.saxonica.schema.sdoc">XSDSchema</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#getXSDSchema()">getXSDSchema</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the owning XSDSchema 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/sdoc/SchemaElement.html#hasChildNodes()">hasChildNodes</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine if the node has any children.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#illegalElement(net.sf.saxon.om.NodeInfo)">illegalElement</A></B>(<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>&nbsp;child)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when an illegal Element is encountered.</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/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/sdoc/SchemaElement.html#indefiniteArticle(java.lang.String, java.lang.String)">indefiniteArticle</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;word,
                  <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;start)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an indefinite article in English</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#insertChildren(net.sf.saxon.om.NodeInfo[], boolean, boolean)">insertChildren</A></B>(<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>[]&nbsp;source,
               boolean&nbsp;atStart,
               boolean&nbsp;inherit)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Insert a sequence of nodes as children of this node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#insertChildrenAt(net.sf.saxon.om.NodeInfo[], int, boolean)">insertChildrenAt</A></B>(<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>[]&nbsp;source,
                 int&nbsp;index,
                 boolean&nbsp;inherit)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Insert children before or after a given existing child</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#invalidAttributeValue(java.lang.String, java.lang.String, java.lang.String)">invalidAttributeValue</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;name,
                      <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,
                      <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;message)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when an invalid attribute value is found</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/sdoc/SchemaElement.html#isFinalState(int)">isFinalState</A></B>(int&nbsp;state)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For elements whose content model is parsed using a finite state machine, test whether
 a given state is a final state.</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/sdoc/SchemaElement.html#isTopLevel()">isTopLevel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return true if this element is a child of xs:schema or xs:redefine</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../net/sf/saxon/expr/instruct/SavedNamespaceContext.html" title="class in net.sf.saxon.expr.instruct">SavedNamespaceContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#makeNamespaceContext()">makeNamespaceContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Make a NamespaceContext object representing the list of in-scope namespaces.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#missingAttribute(java.lang.String)">missingAttribute</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;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when a required attribute is not found</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#missingChildElement(java.lang.String)">missingChildElement</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;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when a required child element is not found</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#mustBeFirstElement(java.lang.String)">mustBeFirstElement</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;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when a child element is required to be the first
 child, but is found elsewhere</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#mustBeLastElement(java.lang.String)">mustBeLastElement</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;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when a child element is required to be the first
 child, but is found elsewhere</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#mustPrecede(java.lang.String, java.lang.String)">mustPrecede</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;name1,
            <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;name2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when two child elements are found
 in the wrong order.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#mutuallyExclusive(java.lang.String, java.lang.String)">mutuallyExclusive</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;name1,
                  <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;name2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when two child elements may not coexist</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#mutuallyExclusiveAttributes(java.lang.String, java.lang.String)">mutuallyExclusiveAttributes</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;name1,
                            <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;name2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when two attributes may not coexist</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#mutuallyExclusiveElementAndAttribute(java.lang.String, java.lang.String)">mutuallyExclusiveElementAndAttribute</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;elem,
                                     <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;att)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is called when an attribute and a child elements may not coexist</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#parseBooleanAttribute(java.lang.String, java.lang.String)">parseBooleanAttribute</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;name,
                      <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;Parse a boolean attribute value</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/sdoc/SchemaElement.html#parseFinalOrBlock(java.lang.String, java.lang.String, int)">parseFinalOrBlock</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;attrName,
                  <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;finalValue,
                  int&nbsp;allowed)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse a list of blocked or final derivations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#postValidate(com.saxonica.schema.SchemaCompiler)">postValidate</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;Hook to allow additional validation of a parent element immediately after its
 children have been validated.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#prepareAttributes()">prepareAttributes</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the attribute list for the 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/sdoc/SchemaElement.html#processAllAttributes()">processAllAttributes</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process the attributes of this element and all its children</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#processAllowedNamespaces(java.lang.String, com.saxonica.schema.Wildcard)">processAllowedNamespaces</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;attValue,
                         <A HREF="../../../../com/saxonica/schema/Wildcard.html" title="class in com.saxonica.schema">Wildcard</A>&nbsp;wildcard)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process the namespaces attribute of XSDAny or XSDAnyAttribute</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#processDisallowedNamespaces(java.lang.String, com.saxonica.schema.Wildcard)">processDisallowedNamespaces</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;attValue,
                            <A HREF="../../../../com/saxonica/schema/Wildcard.html" title="class in com.saxonica.schema">Wildcard</A>&nbsp;wildcard)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process the notNamespaces attribute of XSDAny or XSDAnyAttribute</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#processDisallowedQNames(java.lang.String, com.saxonica.schema.Wildcard)">processDisallowedQNames</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;attValue,
                        <A HREF="../../../../com/saxonica/schema/Wildcard.html" title="class in com.saxonica.schema">Wildcard</A>&nbsp;wildcard)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process the notQNames attribute of XSDAny or XSDAnyAttribute</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#processId()">processId</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process an @id attribute on the schema element: if present, check that it is a valid
 ID, and that it is unique in the schema document</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/sdoc/SchemaElement.html#processMaxOccurs(java.lang.String)">processMaxOccurs</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;attValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process the value of a maxOccurs attribute on any element where it appears</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/sdoc/SchemaElement.html#processMinOccurs(java.lang.String)">processMinOccurs</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;attValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process the value of a minOccurs attribute on any element where it appears</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#removeChild(net.sf.saxon.tree.linked.NodeImpl)">removeChild</A></B>(<A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A>&nbsp;child)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove a given child</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#replaceChildrenAt(net.sf.saxon.om.NodeInfo[], int, boolean)">replaceChildrenAt</A></B>(<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>[]&nbsp;source,
                  int&nbsp;index,
                  boolean&nbsp;inherit)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replace child at a given index by new children</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#requireAttribute(net.sf.saxon.om.AttributeCollection, java.lang.String)">requireAttribute</A></B>(<A HREF="../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A>&nbsp;atts,
                 <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;required)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate that a particular attribute is required</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#setChildren(java.lang.Object)">setChildren</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;children)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the children of this node</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#setRawSequenceNumber(int)">setRawSequenceNumber</A></B>(int&nbsp;seq)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#setSchemaNodeFactory(com.saxonica.schema.sdoc.SchemaNodeFactory)">setSchemaNodeFactory</A></B>(<A HREF="../../../../com/saxonica/schema/sdoc/SchemaNodeFactory.html" title="class in com.saxonica.schema.sdoc">SchemaNodeFactory</A>&nbsp;factory)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the nodeFactory used to create 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/sdoc/SchemaElement.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 that the schema element is valid.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#validateChildren(com.saxonica.schema.SchemaCompiler)">validateChildren</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;Validate the children of this node, recursively.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#validateSubtree(com.saxonica.schema.SchemaCompiler)">validateSubtree</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;Recursive walk through the schema to validate all nodes</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#warning(java.lang.String)">warning</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;err)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Report a warning</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_net.sf.saxon.tree.linked.ElementImpl"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class net.sf.saxon.tree.linked.<A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html" title="class in net.sf.saxon.tree.linked">ElementImpl</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#addAttribute(net.sf.saxon.om.NodeName, net.sf.saxon.type.SimpleType, java.lang.CharSequence, int)">addAttribute</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#addNamespace(net.sf.saxon.om.NamespaceBinding, boolean)">addNamespace</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#copy(net.sf.saxon.event.Receiver, int, int)">copy</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#delete()">delete</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#fixupInsertedNamespaces(boolean)">fixupInsertedNamespaces</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#generateId(net.sf.saxon.tree.util.FastStringBuffer)">generateId</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getAttributeList()">getAttributeList</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getAttributeValue(int)">getAttributeValue</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getAttributeValue(java.lang.String, java.lang.String)">getAttributeValue</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getBaseURI()">getBaseURI</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getColumnNumber()">getColumnNumber</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getDeclaredNamespaces(net.sf.saxon.om.NamespaceBinding[])">getDeclaredNamespaces</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getDocumentRoot()">getDocumentRoot</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getLineNumber()">getLineNumber</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getNameCode()">getNameCode</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getNamespaceList()">getNamespaceList</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getNodeKind()">getNodeKind</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getPrefixForURI(java.lang.String)">getPrefixForURI</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getRoot()">getRoot</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getSchemaType()">getSchemaType</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getSystemId()">getSystemId</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getTypeAnnotation()">getTypeAnnotation</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#getURIForPrefix(java.lang.String, boolean)">getURIForPrefix</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#gsetAttributeCollection()">gsetAttributeCollection</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#initialise(net.sf.saxon.om.NodeName, net.sf.saxon.type.SchemaType, net.sf.saxon.tree.util.AttributeCollectionImpl, net.sf.saxon.om.NodeInfo, int)">initialise</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#isId()">isId</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#isNilled()">isNilled</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#iteratePrefixes()">iteratePrefixes</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#removeAttribute(net.sf.saxon.om.NodeInfo)">removeAttribute</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#removeTypeAnnotation()">removeTypeAnnotation</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#rename(net.sf.saxon.om.NodeName)">rename</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#replaceStringValue(java.lang.CharSequence)">replaceStringValue</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#setAttributeList(net.sf.saxon.om.AttributeCollection)">setAttributeList</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#setLocation(java.lang.String, int, int)">setLocation</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#setNameCode(int)">setNameCode</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#setNamespaceDeclarations(net.sf.saxon.om.NamespaceBinding[], int)">setNamespaceDeclarations</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#setNamespaceList(net.sf.saxon.om.NamespaceBinding[])">setNamespaceList</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#setSystemId(java.lang.String)">setSystemId</A>, <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html#setTypeAnnotation(int)">setTypeAnnotation</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_net.sf.saxon.tree.linked.NodeImpl"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class net.sf.saxon.tree.linked.<A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#atomize()">atomize</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#compareOrder(net.sf.saxon.om.NodeInfo)">compareOrder</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getConfiguration()">getConfiguration</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getDisplayName()">getDisplayName</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getDocumentNumber()">getDocumentNumber</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getFingerprint()">getFingerprint</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getLocalPart()">getLocalPart</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getNamePool()">getNamePool</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getNextInDocument(net.sf.saxon.tree.linked.NodeImpl)">getNextInDocument</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getNextSibling()">getNextSibling</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getParent()">getParent</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getPhysicalRoot()">getPhysicalRoot</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getPrefix()">getPrefix</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getPreviousInDocument()">getPreviousInDocument</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getPreviousSibling()">getPreviousSibling</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getPublicId()">getPublicId</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getRawParent()">getRawParent</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getSiblingPosition()">getSiblingPosition</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getTypedValue()">getTypedValue</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getURI()">getURI</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#insertSiblings(net.sf.saxon.om.NodeInfo[], boolean, boolean)">insertSiblings</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#isDeleted()">isDeleted</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#isIdref()">isIdref</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#isSameNodeInfo(net.sf.saxon.om.NodeInfo)">isSameNodeInfo</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#iterateAxis(byte)">iterateAxis</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#iterateAxis(byte, net.sf.saxon.pattern.NodeTest)">iterateAxis</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#newBuilder()">newBuilder</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#replace(net.sf.saxon.om.NodeInfo[], boolean)">replace</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#setRawParent(net.sf.saxon.tree.linked.ParentNodeImpl)">setRawParent</A>, <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#setSiblingPosition(int)">setSiblingPosition</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#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_net.sf.saxon.om.NodeInfo"><!-- --></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.om.<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/sf/saxon/om/NodeInfo.html#hashCode()">hashCode</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="USE_DEFAULT_NS"><!-- --></A><H3>
USE_DEFAULT_NS</H3>
<PRE>
public static final int <B>USE_DEFAULT_NS</B></PRE>
<DL>
<DD>Option indicating "use the default element namespace when unprefixed"
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.saxonica.schema.sdoc.SchemaElement.USE_DEFAULT_NS">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="REQUIRE_TARGET_NS"><!-- --></A><H3>
REQUIRE_TARGET_NS</H3>
<PRE>
public static final int <B>REQUIRE_TARGET_NS</B></PRE>
<DL>
<DD>Option indicating "no namespace prefix is allowed; the name is in the targetNamespace"
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.saxonica.schema.sdoc.SchemaElement.REQUIRE_TARGET_NS">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="REQUIRE_NULL_NS"><!-- --></A><H3>
REQUIRE_NULL_NS</H3>
<PRE>
public static final int <B>REQUIRE_NULL_NS</B></PRE>
<DL>
<DD>Option indicating "no namespace prefix is allowed; the name is in the null Namespace"
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.saxonica.schema.sdoc.SchemaElement.REQUIRE_NULL_NS">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="USE_DEFAULT_NS_WITHOUT_IMPORT"><!-- --></A><H3>
USE_DEFAULT_NS_WITHOUT_IMPORT</H3>
<PRE>
public static final int <B>USE_DEFAULT_NS_WITHOUT_IMPORT</B></PRE>
<DL>
<DD>Option indicating "use the default element namespace when unprefixed", but without a requirement
 to have an xs:import
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.saxonica.schema.sdoc.SchemaElement.USE_DEFAULT_NS_WITHOUT_IMPORT">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="NAMESPACE_ANY"><!-- --></A><H3>
NAMESPACE_ANY</H3>
<PRE>
protected static final <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>NAMESPACE_ANY</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.saxonica.schema.sdoc.SchemaElement.NAMESPACE_ANY">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="NAMESPACE_LOCAL"><!-- --></A><H3>
NAMESPACE_LOCAL</H3>
<PRE>
protected static final <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>NAMESPACE_LOCAL</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.saxonica.schema.sdoc.SchemaElement.NAMESPACE_LOCAL">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="NAMESPACE_OTHER"><!-- --></A><H3>
NAMESPACE_OTHER</H3>
<PRE>
protected static final <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>NAMESPACE_OTHER</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.saxonica.schema.sdoc.SchemaElement.NAMESPACE_OTHER">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="NAMESPACE_TARGET"><!-- --></A><H3>
NAMESPACE_TARGET</H3>
<PRE>
protected static final <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>NAMESPACE_TARGET</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.saxonica.schema.sdoc.SchemaElement.NAMESPACE_TARGET">Constant Field Values</A></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="SchemaElement()"><!-- --></A><H3>
SchemaElement</H3>
<PRE>
public <B>SchemaElement</B>()</PRE>
<DL>
<DD>Construct a SchemaElement
<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="isTopLevel()"><!-- --></A><H3>
isTopLevel</H3>
<PRE>
protected boolean <B>isTopLevel</B>()</PRE>
<DL>
<DD>Return true if this element is a child of xs:schema or xs:redefine
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true if this element is a child of xs:schema or xs:redefine</DL>
</DD>
</DL>
<HR>

<A NAME="setSchemaNodeFactory(com.saxonica.schema.sdoc.SchemaNodeFactory)"><!-- --></A><H3>
setSchemaNodeFactory</H3>
<PRE>
public void <B>setSchemaNodeFactory</B>(<A HREF="../../../../com/saxonica/schema/sdoc/SchemaNodeFactory.html" title="class in com.saxonica.schema.sdoc">SchemaNodeFactory</A>&nbsp;factory)</PRE>
<DL>
<DD>Set the nodeFactory used to create this element.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>factory</CODE> - the schema node factory</DL>
</DD>
</DL>
<HR>

<A NAME="getSchemaNodeFactory()"><!-- --></A><H3>
getSchemaNodeFactory</H3>
<PRE>
public <A HREF="../../../../com/saxonica/schema/sdoc/SchemaNodeFactory.html" title="class in com.saxonica.schema.sdoc">SchemaNodeFactory</A> <B>getSchemaNodeFactory</B>()</PRE>
<DL>
<DD>Get the nodeFactory used to create this element. This nodeFactory is used to
 keep track of any errors encountered during construction of the schema document
<P>
<DD><DL>

<DT><B>Returns:</B><DD>factory the schema node factory</DL>
</DD>
</DL>
<HR>

<A NAME="processAllAttributes()"><!-- --></A><H3>
processAllAttributes</H3>
<PRE>
public void <B>processAllAttributes</B>()
                          throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Process the attributes of this element and all its children
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="prepareAttributes()"><!-- --></A><H3>
prepareAttributes</H3>
<PRE>
public abstract void <B>prepareAttributes</B>()
                                throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Set the attribute list for the element. This is called to process the attributes (note
 the distinction from processAttributes in the superclass).
 Must be supplied in a subclass
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="allowAttributes(net.sf.saxon.om.AttributeCollection, java.lang.String[])"><!-- --></A><H3>
allowAttributes</H3>
<PRE>
public void <B>allowAttributes</B>(<A HREF="../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A>&nbsp;atts,
                            <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;allowed)
                     throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Check the attributes of an element against a list of allowed attributes.
 Report an error if any extraneous attribute is present
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>atts</CODE> - the attributes actually present<DD><CODE>allowed</CODE> - the attributes that are allowed for this element. They must
 be listed in alphabetical order
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="requireAttribute(net.sf.saxon.om.AttributeCollection, java.lang.String)"><!-- --></A><H3>
requireAttribute</H3>
<PRE>
public void <B>requireAttribute</B>(<A HREF="../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A>&nbsp;atts,
                             <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;required)
                      throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Indicate that a particular attribute is required
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>atts</CODE> - the attribtue collection<DD><CODE>required</CODE> - the local name of the required attribute, which must be in the null namespace
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="validateSubtree(com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3>
validateSubtree</H3>
<PRE>
public void <B>validateSubtree</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>Recursive walk through the schema to validate all nodes
<P>
<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></DL>
</DD>
</DL>
<HR>

<A NAME="validateChildren(com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3>
validateChildren</H3>
<PRE>
protected void <B>validateChildren</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>Validate the children of this node, recursively.
<P>
<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 the subtree is not valid</DL>
</DD>
</DL>
<HR>

<A NAME="validate(com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3>
validate</H3>
<PRE>
public void <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 that the schema element is valid. This is called once for each element, after
 the entire tree has been built. As well as validation, it can perform first-time
 initialisation. The default implementation does nothing; it is normally overriden
 in subclasses.
<P>
<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 the subtree is not valid</DL>
</DD>
</DL>
<HR>

<A NAME="postValidate(com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3>
postValidate</H3>
<PRE>
public void <B>postValidate</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>Hook to allow additional validation of a parent element immediately after its
 children have been validated.
<P>
<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 errors are found</DL>
</DD>
</DL>
<HR>

<A NAME="getXSDSchema()"><!-- --></A><H3>
getXSDSchema</H3>
<PRE>
public <A HREF="../../../../com/saxonica/schema/sdoc/XSDSchema.html" title="class in com.saxonica.schema.sdoc">XSDSchema</A> <B>getXSDSchema</B>()
                       throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Get the owning XSDSchema element.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the containing xs:schema element
<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 none is found (which means the schema is invalid)</DL>
</DD>
</DL>
<HR>

<A NAME="getSchema()"><!-- --></A><H3>
getSchema</H3>
<PRE>
protected <A HREF="../../../../com/saxonica/schema/SingleNamespaceSchema.html" title="class in com.saxonica.schema">SingleNamespaceSchema</A> <B>getSchema</B>()
                                   throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Get the schema corresponding to the contents of the schema document containing this element
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the PreparedSchema object used to assemble the schema components defined in the schema
 document that contains this element.
<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 containing PreparedSchema cannot be found</DL>
</DD>
</DL>
<HR>

<A NAME="getContainingComplexType()"><!-- --></A><H3>
getContainingComplexType</H3>
<PRE>
protected <A HREF="../../../../com/saxonica/schema/UserComplexType.html" title="class in com.saxonica.schema">UserComplexType</A> <B>getContainingComplexType</B>()
                                            throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Get the complexType associated with the containing xs:complexType element
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the UserComplexType object representing the containing complex type
<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 element is not contained in an xs:complexType</DL>
</DD>
</DL>
<HR>

<A NAME="getContainingSimpleType()"><!-- --></A><H3>
getContainingSimpleType</H3>
<PRE>
protected <A HREF="../../../../com/saxonica/schema/sdoc/SimpleTypeDefinition.html" title="class in com.saxonica.schema.sdoc">SimpleTypeDefinition</A> <B>getContainingSimpleType</B>()
                                                throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Get the simpleTypeDefinition associated with the containing xs:simpleType element
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the schema component representing the containing simple type
<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 not contained in an xs:simpleType</DL>
</DD>
</DL>
<HR>

<A NAME="makeNamespaceContext()"><!-- --></A><H3>
makeNamespaceContext</H3>
<PRE>
protected <A HREF="../../../../net/sf/saxon/expr/instruct/SavedNamespaceContext.html" title="class in net.sf.saxon.expr.instruct">SavedNamespaceContext</A> <B>makeNamespaceContext</B>()</PRE>
<DL>
<DD>Make a NamespaceContext object representing the list of in-scope namespaces. The NamePool
 used for numeric codes in the NamespaceContext will be the target name pool.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>a copy of the namespace context for this element</DL>
</DD>
</DL>
<HR>

<A NAME="checkPermittedType(int, java.lang.String, java.lang.String)"><!-- --></A><H3>
checkPermittedType</H3>
<PRE>
public void <B>checkPermittedType</B>(int&nbsp;fp,
                               <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;name,
                               <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;role)
                        throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Check that a given type is a permitted type
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="parseBooleanAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
parseBooleanAttribute</H3>
<PRE>
public boolean <B>parseBooleanAttribute</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;name,
                                     <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)
                              throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Parse a boolean attribute value
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the attribute (for diagnostics)<DD><CODE>value</CODE> - the string value of the attribute (need not be trimmed)
<DT><B>Returns:</B><DD>the boolean value of the attribute if it is valid
<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 value is not a valid boolean</DL>
</DD>
</DL>
<HR>

<A NAME="error(java.lang.String)"><!-- --></A><H3>
error</H3>
<PRE>
protected void <B>error</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;err)
              throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called for a general error. The location of this message is the current element.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>err</CODE> - the error message to report
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="error(net.sf.saxon.type.SchemaException)"><!-- --></A><H3>
error</H3>
<PRE>
protected void <B>error</B>(<A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A>&nbsp;exception)
              throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called for a general error. The location of this message is the current element.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>exception</CODE> - the error message to report
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="warning(java.lang.String)"><!-- --></A><H3>
warning</H3>
<PRE>
protected void <B>warning</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;err)</PRE>
<DL>
<DD>Report a warning
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>err</CODE> - the warning message</DL>
</DD>
</DL>
<HR>

<A NAME="getFingerprint(java.lang.String, int)"><!-- --></A><H3>
getFingerprint</H3>
<PRE>
protected int <B>getFingerprint</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;name,
                             int&nbsp;option)
                      throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called to check that a QName is valid and allocate a
 fingerprint for the name in the namePool. If the QName isn't valid,
 the method throws an exception: it is the caller's responsibility to call
 the error handler and recover from the error. The method makes use of the
 namespace context information for the schema element.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The QName<DD><CODE>option</CODE> - The option for handling unprefixed names. Options are
 to use the default namespace, the target namespace, or the null namespace
 Note that this method
 assumes the name, if unprefixed, is in the default namespace: NOT
 the targetNamespace of the schema.
<DT><B>Returns:</B><DD>a fingerprint
<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 QName is invalid.</DL>
</DD>
</DL>
<HR>

<A NAME="getNameCode(java.lang.String, int)"><!-- --></A><H3>
getNameCode</H3>
<PRE>
protected int <B>getNameCode</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;name,
                          int&nbsp;option)
                   throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called to check that a QName is valid and allocate a
 nameCode for the name in the namePool. If the QName isn't valid,
 the method throws an exception: it is the caller's responsibility to call
 the error handler and recover from the error. The method makes use of the
 namespace context information for the schema element.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The QName<DD><CODE>option</CODE> - The option for handling unprefixed names. Options are
 to use the default namespace <A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#USE_DEFAULT_NS"><CODE>USE_DEFAULT_NS</CODE></A>,
 the target namespace <A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#REQUIRE_TARGET_NS"><CODE>REQUIRE_TARGET_NS</CODE></A>, or the null namespace
 <A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.html#REQUIRE_NULL_NS"><CODE>REQUIRE_NULL_NS</CODE></A>
<DT><B>Returns:</B><DD>an integer name code
<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 QName is invalid.</DL>
</DD>
</DL>
<HR>

<A NAME="checkOnlyChildIsAnnotation()"><!-- --></A><H3>
checkOnlyChildIsAnnotation</H3>
<PRE>
protected void <B>checkOnlyChildIsAnnotation</B>()
                                   throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Check that the only child element of this element is an
 (optional and non-repeatable) xs:annotation element
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="illegalElement(net.sf.saxon.om.NodeInfo)"><!-- --></A><H3>
illegalElement</H3>
<PRE>
protected void <B>illegalElement</B>(<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>&nbsp;child)
                       throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called when an illegal Element is encountered.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>child</CODE> - The child element whose presence is an error
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - thrown if the errorListener
 decides that it's a fatal error.</DL>
</DD>
</DL>
<HR>

<A NAME="duplicateElement(java.lang.String)"><!-- --></A><H3>
duplicateElement</H3>
<PRE>
protected void <B>duplicateElement</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;name)
                         throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called when two occurrences of a child element are found
 and only one is allowed.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the illegal element
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - thrown if the errorListener
 decides that it's a fatal error.</DL>
</DD>
</DL>
<HR>

<A NAME="duplicate(java.lang.String, java.lang.String)"><!-- --></A><H3>
duplicate</H3>
<PRE>
protected void <B>duplicate</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;category,
                         <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;name)
                  throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called when two objects in the same symbol space within
 a schema have duplicate names
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>category</CODE> - the name of the first attribute<DD><CODE>name</CODE> - the name of the second attribute
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - thrown if the errorListener
 decides that it's a fatal error.</DL>
</DD>
</DL>
<HR>

<A NAME="mutuallyExclusive(java.lang.String, java.lang.String)"><!-- --></A><H3>
mutuallyExclusive</H3>
<PRE>
protected void <B>mutuallyExclusive</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;name1,
                                 <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;name2)
                          throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called when two child elements may not coexist
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name1</CODE> - the name of the first element<DD><CODE>name2</CODE> - the name of the second element
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - thrown if the errorListener
 decides that it's a fatal error.</DL>
</DD>
</DL>
<HR>

<A NAME="mutuallyExclusiveElementAndAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
mutuallyExclusiveElementAndAttribute</H3>
<PRE>
protected void <B>mutuallyExclusiveElementAndAttribute</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;elem,
                                                    <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;att)
                                             throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called when an attribute and a child elements may not coexist
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elem</CODE> - the name of the element<DD><CODE>att</CODE> - the name of the attribute
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - thrown if the errorListener
 decides that it's a fatal error.</DL>
</DD>
</DL>
<HR>

<A NAME="mutuallyExclusiveAttributes(java.lang.String, java.lang.String)"><!-- --></A><H3>
mutuallyExclusiveAttributes</H3>
<PRE>
protected void <B>mutuallyExclusiveAttributes</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;name1,
                                           <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;name2)
                                    throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called when two attributes may not coexist
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name1</CODE> - the name of the first attribute<DD><CODE>name2</CODE> - the name of the second attribute
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - thrown if the errorListener
 decides that it's a fatal error.</DL>
</DD>
</DL>
<HR>

<A NAME="checkMutuallyExclusiveAttributes(java.lang.String, java.lang.String)"><!-- --></A><H3>
checkMutuallyExclusiveAttributes</H3>
<PRE>
protected void <B>checkMutuallyExclusiveAttributes</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;name1,
                                                <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;name2)
                                         throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method tests whether two attributes coexist and reports an error if they do
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name1</CODE> - the local name of the first attribute (must be in the null namespace)<DD><CODE>name2</CODE> - the local name of the second attribute (must be in the null namespace)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="mustPrecede(java.lang.String, java.lang.String)"><!-- --></A><H3>
mustPrecede</H3>
<PRE>
protected void <B>mustPrecede</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;name1,
                           <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;name2)
                    throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called when two child elements are found
 in the wrong order.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name1</CODE> - the name of the element that should be first<DD><CODE>name2</CODE> - the name of the element that should be second
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - thrown if the errorListener
 decides that it's a fatal error.</DL>
</DD>
</DL>
<HR>

<A NAME="mustBeFirstElement(java.lang.String)"><!-- --></A><H3>
mustBeFirstElement</H3>
<PRE>
protected void <B>mustBeFirstElement</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;name)
                           throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called when a child element is required to be the first
 child, but is found elsewhere
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the illegal element
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - thrown if the errorListener
 decides that it's a fatal error.</DL>
</DD>
</DL>
<HR>

<A NAME="indefiniteArticle(java.lang.String, java.lang.String)"><!-- --></A><H3>
indefiniteArticle</H3>
<PRE>
protected <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>indefiniteArticle</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;word,
                                   <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;start)</PRE>
<DL>
<DD>Construct an indefinite article in English
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>word</CODE> - The word to follow the article<DD><CODE>start</CODE> - Typically "a" or "A"
<DT><B>Returns:</B><DD>the indefinite article</DL>
</DD>
</DL>
<HR>

<A NAME="mustBeLastElement(java.lang.String)"><!-- --></A><H3>
mustBeLastElement</H3>
<PRE>
public void <B>mustBeLastElement</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;name)
                       throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called when a child element is required to be the first
 child, but is found elsewhere
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the illegal element
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - thrown if the errorListener
 decides that it's a fatal error.</DL>
</DD>
</DL>
<HR>

<A NAME="invalidAttributeValue(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
invalidAttributeValue</H3>
<PRE>
public void <B>invalidAttributeValue</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;name,
                                  <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,
                                  <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;message)
                           throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called when an invalid attribute value is found
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the attribute<DD><CODE>value</CODE> - the supplied value of the attribute<DD><CODE>message</CODE> - additional explanation of why it's wrong. May be null.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - thrown if the errorListener
 decides that it's a fatal error.</DL>
</DD>
</DL>
<HR>

<A NAME="missingAttribute(java.lang.String)"><!-- --></A><H3>
missingAttribute</H3>
<PRE>
public void <B>missingAttribute</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;name)
                      throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called when a required attribute is not found
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the attribute
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - thrown if the errorListener
 decides that it's a fatal error.</DL>
</DD>
</DL>
<HR>

<A NAME="missingChildElement(java.lang.String)"><!-- --></A><H3>
missingChildElement</H3>
<PRE>
public void <B>missingChildElement</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;name)
                         throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>This method is called when a required child element is not found
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the required child element
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - thrown if the errorListener
 decides that it's a fatal error.</DL>
</DD>
</DL>
<HR>

<A NAME="parseFinalOrBlock(java.lang.String, java.lang.String, int)"><!-- --></A><H3>
parseFinalOrBlock</H3>
<PRE>
public int <B>parseFinalOrBlock</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;attrName,
                             <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;finalValue,
                             int&nbsp;allowed)
                      throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Parse a list of blocked or final derivations. Used to process the block,
 final, blockDefault, and finalDefault attributes.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>attrName</CODE> - the name of the attribute being parsed<DD><CODE>finalValue</CODE> - A list of values to be parsed, as a string,
 for example "extension restriction"<DD><CODE>allowed</CODE> - The permitted values, as a bit-significant integer. For example
 the value (DERIVE_BY_EXTENSION | DERIVE_BY_RESTRICTION) allows the values
 "extension" and "restriction" to appear.
<DT><B>Returns:</B><DD>The final/blocked values, as a bit-significant integer
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="processId()"><!-- --></A><H3>
processId</H3>
<PRE>
public void <B>processId</B>()
               throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Process an @id attribute on the schema element: if present, check that it is a valid
 ID, and that it is unique in the schema document
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - if the id is present and is invalid or is a duplicate</DL>
</DD>
</DL>
<HR>

<A NAME="allocateAnonymousTypeCode()"><!-- --></A><H3>
allocateAnonymousTypeCode</H3>
<PRE>
protected int <B>allocateAnonymousTypeCode</B>()</PRE>
<DL>
<DD>Allocate a name to an anonymous type. It's important that the name allocated
 should be repeatable, because it can be referenced as a type annotation in a PTree document.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the name code of the allocated name</DL>
</DD>
</DL>
<HR>

<A NAME="processMaxOccurs(java.lang.String)"><!-- --></A><H3>
processMaxOccurs</H3>
<PRE>
public int <B>processMaxOccurs</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;attValue)
                     throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Process the value of a maxOccurs attribute on any element where it appears
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>attValue</CODE> - the value of the attribute as written, either "unbounded" or an integer
<DT><B>Returns:</B><DD>the value of the attribute as an integer, or -1 indicating "unbounded"
<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 value is invalid (in which case the error will have been reported).
 If the value is a very high integer (greater than Integer.MAX_VALUE), the method outputs a warning
 and treats the value as "unbounded".</DL>
</DD>
</DL>
<HR>

<A NAME="processMinOccurs(java.lang.String)"><!-- --></A><H3>
processMinOccurs</H3>
<PRE>
public int <B>processMinOccurs</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;attValue)
                     throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Process the value of a minOccurs attribute on any element where it appears
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>attValue</CODE> - the value of the attribute as written, an integer
<DT><B>Returns:</B><DD>the value of the attribute as an integer
<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 value is invalid (in which case the error will have been reported).
 If the value is a very high integer (greater than Integer.MAX_VALUE), the method outputs a warning
 and treats the value as Integer.MAX_VALUE.</DL>
</DD>
</DL>
<HR>

<A NAME="checkContentModel(int[][], int[][], boolean)"><!-- --></A><H3>
checkContentModel</H3>
<PRE>
protected void <B>checkContentModel</B>(int[][]&nbsp;stateTerms,
                                 int[][]&nbsp;stateTargets,
                                 boolean&nbsp;allowWildcards)
                          throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Check the content model of an element in the schema. This uses a finite state machine generated into
 the Java source code by applying an XSLT transformation to the schema component model for the Schema
 for Schemas.
 <p>The finite state machine is generated as follows: First process the S4S to create an SCM model,
 then apply the stylesheet generate-S4S-code in the build directory with type=complexType, for example.
 The value of the type parameter can be either the name of the type or its ID in the SCM file.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>stateTerms</CODE> - an array of states, and for each state, an array containing the fingerprints
 of elements allowed to appear in that state<DD><CODE>stateTargets</CODE> - an array of states, and for each state, an array containing the destinations
 of transitions when the corresponding term from stateTerms is encountered<DD><CODE>allowWildcards</CODE> - 
<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 being processed does not conform to the required content model</DL>
</DD>
</DL>
<HR>

<A NAME="isFinalState(int)"><!-- --></A><H3>
isFinalState</H3>
<PRE>
protected boolean <B>isFinalState</B>(int&nbsp;state)</PRE>
<DL>
<DD>For elements whose content model is parsed using a finite state machine, test whether
 a given state is a final state. The default implementation of this method is never used; it exists
 for the benefit of subclasses that do not use this mechanism
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>state</CODE> - the state to be tested
<DT><B>Returns:</B><DD>true if the given state is a final state</DL>
</DD>
</DL>
<HR>

<A NAME="processAllowedNamespaces(java.lang.String, com.saxonica.schema.Wildcard)"><!-- --></A><H3>
processAllowedNamespaces</H3>
<PRE>
protected void <B>processAllowedNamespaces</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;attValue,
                                        <A HREF="../../../../com/saxonica/schema/Wildcard.html" title="class in com.saxonica.schema">Wildcard</A>&nbsp;wildcard)
                                 throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Process the namespaces attribute of XSDAny or XSDAnyAttribute
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>attValue</CODE> - the value of the attribute<DD><CODE>wildcard</CODE> - the wildcard object being constructed
<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 attribute is in error</DL>
</DD>
</DL>
<HR>

<A NAME="processDisallowedNamespaces(java.lang.String, com.saxonica.schema.Wildcard)"><!-- --></A><H3>
processDisallowedNamespaces</H3>
<PRE>
protected void <B>processDisallowedNamespaces</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;attValue,
                                           <A HREF="../../../../com/saxonica/schema/Wildcard.html" title="class in com.saxonica.schema">Wildcard</A>&nbsp;wildcard)
                                    throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Process the notNamespaces attribute of XSDAny or XSDAnyAttribute
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>attValue</CODE> - the value of the attribute<DD><CODE>wildcard</CODE> - the wildcard object being constructed
<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 attribute is in error</DL>
</DD>
</DL>
<HR>

<A NAME="processDisallowedQNames(java.lang.String, com.saxonica.schema.Wildcard)"><!-- --></A><H3>
processDisallowedQNames</H3>
<PRE>
protected void <B>processDisallowedQNames</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;attValue,
                                       <A HREF="../../../../com/saxonica/schema/Wildcard.html" title="class in com.saxonica.schema">Wildcard</A>&nbsp;wildcard)
                                throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>Process the notQNames attribute of XSDAny or XSDAnyAttribute
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>attValue</CODE> - the value of the attribute<DD><CODE>wildcard</CODE> - the wildcard object being constructed
<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 attribute is in error</DL>
</DD>
</DL>
<HR>

<A NAME="checkLocalTargetNamespace(java.lang.String)"><!-- --></A><H3>
checkLocalTargetNamespace</H3>
<PRE>
public void <B>checkLocalTargetNamespace</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;elementOrAttribute)
                               throws <A HREF="../../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE>
<DL>
<DD>For an element or attribute declaration with a targetNamespace attribute (XSD 1.1), check the
 highly-paternalistic rules for when this attribute is permitted.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elementOrAttribute</CODE> - the string "element" or "attribute" for error messages
<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 rules are not satisfied</DL>
</DD>
</DL>
<HR>

<A NAME="getSequenceNumber()"><!-- --></A><H3>
getSequenceNumber</H3>
<PRE>
protected final long <B>getSequenceNumber</B>()</PRE>
<DL>
<DD>Get the node sequence number (in document order). Sequence numbers are monotonic but not
 consecutive. In the current implementation, parent nodes (elements and document nodes) have a zero
 least-significant word, while namespaces, attributes, text nodes, comments, and PIs have
 the top word the same as their owner and the bottom half reflecting their relative position.
 For nodes added by XQUery Update, the sequence number is -1L
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getSequenceNumber()">getSequenceNumber</A></CODE> in class <CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the sequence number if there is one, or -1L otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="getRawSequenceNumber()"><!-- --></A><H3>
getRawSequenceNumber</H3>
<PRE>
protected final int <B>getRawSequenceNumber</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setRawSequenceNumber(int)"><!-- --></A><H3>
setRawSequenceNumber</H3>
<PRE>
protected final void <B>setRawSequenceNumber</B>(int&nbsp;seq)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setChildren(java.lang.Object)"><!-- --></A><H3>
setChildren</H3>
<PRE>
protected final void <B>setChildren</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;children)</PRE>
<DL>
<DD>Set the children of this node
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>children</CODE> - null if there are no children, a single NodeInfo if there is one child, an array of NodeInfo
 if there are multiple children</DL>
</DD>
</DL>
<HR>

<A NAME="hasChildNodes()"><!-- --></A><H3>
hasChildNodes</H3>
<PRE>
public final boolean <B>hasChildNodes</B>()</PRE>
<DL>
<DD>Determine if the node has any children.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/om/NodeInfo.html#hasChildNodes()">hasChildNodes</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#hasChildNodes()">hasChildNodes</A></CODE> in class <CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD><code>true</code> if the node has any children,
         <code>false</code> if the node has no children.</DL>
</DD>
</DL>
<HR>

<A NAME="getNumberOfChildren()"><!-- --></A><H3>
getNumberOfChildren</H3>
<PRE>
public final int <B>getNumberOfChildren</B>()</PRE>
<DL>
<DD>Determine how many children the node has
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the number of children of this parent node</DL>
</DD>
</DL>
<HR>

<A NAME="enumerateChildren(net.sf.saxon.pattern.NodeTest)"><!-- --></A><H3>
enumerateChildren</H3>
<PRE>
protected final <A HREF="../../../../net/sf/saxon/tree/iter/AxisIterator.html" title="interface in net.sf.saxon.tree.iter">AxisIterator</A> <B>enumerateChildren</B>(<A HREF="../../../../net/sf/saxon/pattern/NodeTest.html" title="class in net.sf.saxon.pattern">NodeTest</A>&nbsp;test)</PRE>
<DL>
<DD>Get an enumeration of the children of this node
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>test</CODE> - A NodeTest to be satisfied by the child nodes, or null
 if all child node are to be returned
<DT><B>Returns:</B><DD>an iterator over the children of this node</DL>
</DD>
</DL>
<HR>

<A NAME="getFirstChild()"><!-- --></A><H3>
getFirstChild</H3>
<PRE>
public final <A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> <B>getFirstChild</B>()</PRE>
<DL>
<DD>Get the first child node of the element
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getFirstChild()">getFirstChild</A></CODE> in class <CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the first child node of the required type, or null if there are no children</DL>
</DD>
</DL>
<HR>

<A NAME="getLastChild()"><!-- --></A><H3>
getLastChild</H3>
<PRE>
public final <A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> <B>getLastChild</B>()</PRE>
<DL>
<DD>Get the last child node of the element
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getLastChild()">getLastChild</A></CODE> in class <CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the last child of the element, or null if there are no children</DL>
</DD>
</DL>
<HR>

<A NAME="getNthChild(int)"><!-- --></A><H3>
getNthChild</H3>
<PRE>
protected final <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A> <B>getNthChild</B>(int&nbsp;n)</PRE>
<DL>
<DD>Get the nth child node of the element (numbering from 0)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>n</CODE> - identifies the required child
<DT><B>Returns:</B><DD>the last child of the element, or null if there is no n'th child</DL>
</DD>
</DL>
<HR>

<A NAME="removeChild(net.sf.saxon.tree.linked.NodeImpl)"><!-- --></A><H3>
removeChild</H3>
<PRE>
protected void <B>removeChild</B>(<A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A>&nbsp;child)</PRE>
<DL>
<DD>Remove a given child
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>child</CODE> - the child to be removed</DL>
</DD>
</DL>
<HR>

<A NAME="getStringValue()"><!-- --></A><H3>
getStringValue</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>getStringValue</B>()</PRE>
<DL>
<DD>Return the string-value of the node, that is, the concatenation
 of the character content of all descendent elements and text nodes.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the accumulated character content of the element, including descendant elements.<DT><B>See Also:</B><DD><A HREF="../../../../net/sf/saxon/om/Item.html#getStringValueCS()"><CODE>Item.getStringValueCS()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getStringValueCS()"><!-- --></A><H3>
getStringValueCS</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang">CharSequence</A> <B>getStringValueCS</B>()</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getStringValueCS()">NodeImpl</A></CODE></B></DD>
<DD>Get the value of the item as a CharSequence. This is in some cases more efficient than
 the version of the method that returns a String.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/om/Item.html#getStringValueCS()">getStringValueCS</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/om/Item.html" title="interface in net.sf.saxon.om">Item</A>&lt;<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>&gt;</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/om/ValueRepresentation.html#getStringValueCS()">getStringValueCS</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/om/ValueRepresentation.html" title="interface in net.sf.saxon.om">ValueRepresentation</A>&lt;<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>&gt;</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#getStringValueCS()">getStringValueCS</A></CODE> in class <CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the string value of the item<DT><B>See Also:</B><DD><A HREF="../../../../net/sf/saxon/om/Item.html#getStringValue()"><CODE>Item.getStringValue()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="addChild(net.sf.saxon.tree.linked.NodeImpl, int)"><!-- --></A><H3>
addChild</H3>
<PRE>
protected void <B>addChild</B>(<A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A>&nbsp;node,
                        int&nbsp;index)</PRE>
<DL>
<DD>Add a child node to this node. For system use only. Note: normalizing adjacent text nodes
 is the responsibility of the caller.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the node to be added as a child of this node. This must be an instance of
 <A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked"><CODE>NodeImpl</CODE></A>. It will be modified as a result of this call (by setting its
 parent property and sibling position)<DD><CODE>index</CODE> - the position where the child is to be added</DL>
</DD>
</DL>
<HR>

<A NAME="insertChildren(net.sf.saxon.om.NodeInfo[], boolean, boolean)"><!-- --></A><H3>
insertChildren</H3>
<PRE>
public void <B>insertChildren</B>(<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>[]&nbsp;source,
                           boolean&nbsp;atStart,
                           boolean&nbsp;inherit)</PRE>
<DL>
<DD>Insert a sequence of nodes as children of this node.

 <p>This method takes no action unless the target node is a document node or element node. It also
 takes no action in respect of any supplied nodes that are not elements, text nodes, comments, or
 processing instructions.</p>

 <p>The supplied nodes will form the new children. Adjacent text nodes will be merged, and
 zero-length text nodes removed. The supplied nodes may be modified in situ, for example to change their
 parent property and to add namespace bindings, or they may be copied, at the discretion of
 the implementation.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/om/MutableNodeInfo.html#insertChildren(net.sf.saxon.om.NodeInfo[], boolean, boolean)">insertChildren</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/om/MutableNodeInfo.html" title="interface in net.sf.saxon.om">MutableNodeInfo</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html#insertChildren(net.sf.saxon.om.NodeInfo[], boolean, boolean)">insertChildren</A></CODE> in class <CODE><A HREF="../../../../net/sf/saxon/tree/linked/NodeImpl.html" title="class in net.sf.saxon.tree.linked">NodeImpl</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - the nodes to be inserted. The implementation determines what implementation classes
 of node it will accept; this implementation will accept text, comment, and processing instruction
 nodes belonging to any implementation, but elements must be instances of <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html" title="class in net.sf.saxon.tree.linked"><CODE>ElementImpl</CODE></A>.
 The supplied nodes will be modified in situ, for example
 to change their parent property and to add namespace bindings, if they are instances of
 <A HREF="../../../../net/sf/saxon/tree/linked/ElementImpl.html" title="class in net.sf.saxon.tree.linked"><CODE>ElementImpl</CODE></A>; otherwise they will be copied. If the nodes are copied, then on return
 the supplied source array will contain the copy rather than the original.<DD><CODE>atStart</CODE> - true if the new nodes are to be inserted before existing children; false if they are
 to be inserted after existing children<DD><CODE>inherit</CODE> - true if the inserted nodes are to inherit the namespaces of their new parent; false
 if such namespaces are to be undeclared
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the supplied nodes use a node implementation that this
 implementation does not accept.</DL>
</DD>
</DL>
<HR>

<A NAME="insertChildrenAt(net.sf.saxon.om.NodeInfo[], int, boolean)"><!-- --></A><H3>
insertChildrenAt</H3>
<PRE>
protected void <B>insertChildrenAt</B>(<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>[]&nbsp;source,
                                int&nbsp;index,
                                boolean&nbsp;inherit)</PRE>
<DL>
<DD>Insert children before or after a given existing child
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - the children to be inserted. We allow any kind of text, comment, or processing instruction
 node, but element nodes must be instances of this NodeInfo implementation.<DD><CODE>index</CODE> - the position before which they are to be inserted: 0 indicates insertion before the
 first child, 1 insertion before the second child, and so on.<DD><CODE>inherit</CODE> - true if the inserted nodes are to inherit the namespaces that are in-scope for their
 new parent; false if such namespaces should be undeclared on the children</DL>
</DD>
</DL>
<HR>

<A NAME="replaceChildrenAt(net.sf.saxon.om.NodeInfo[], int, boolean)"><!-- --></A><H3>
replaceChildrenAt</H3>
<PRE>
protected void <B>replaceChildrenAt</B>(<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>[]&nbsp;source,
                                 int&nbsp;index,
                                 boolean&nbsp;inherit)</PRE>
<DL>
<DD>Replace child at a given index by new children
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - the children to be inserted<DD><CODE>index</CODE> - the position at which they are to be inserted: 0 indicates replacement of the
 first child, replacement of the second child, and so on. The effect is undefined if index
 is out of range<DD><CODE>inherit</CODE> - set to true if the new child elements are to inherit the in-scope namespaces
 of their new parent
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if any of the replacement nodes is not an element, text,
 comment, or processing instruction node</DL>
</DD>
</DL>
<HR>

<A NAME="compact(int)"><!-- --></A><H3>
compact</H3>
<PRE>
public void <B>compact</B>(int&nbsp;size)</PRE>
<DL>
<DD>Compact the space used by this node
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>size</CODE> - the number of actual children</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/saxonica/schema/sdoc/SchemaDocumentTransformer.html" title="class in com.saxonica.schema.sdoc"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/saxonica/schema/sdoc/SchemaElement.XPathStaticContext.html" title="class in com.saxonica.schema.sdoc"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/saxonica/schema/sdoc/SchemaElement.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="SchemaElement.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;<A HREF="#nested_class_summary">NESTED</A>&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>