<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_18) on Fri Dec 09 20:47:46 GMT 2011 --> <TITLE> AttributeGroupDecl </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="AttributeGroupDecl"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/saxonica/schema/AttributeDecl.html" title="class in com.saxonica.schema"><B>PREV CLASS</B></A> <A HREF="../../../com/saxonica/schema/AttributeGroupReference.html" title="class in com.saxonica.schema"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/saxonica/schema/AttributeGroupDecl.html" target="_top"><B>FRAMES</B></A> <A HREF="AttributeGroupDecl.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.saxonica.schema</FONT> <BR> Class AttributeGroupDecl</H2> <PRE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/saxonica/schema/SchemaStructure.html" title="class in com.saxonica.schema">com.saxonica.schema.SchemaStructure</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.saxonica.schema.AttributeGroupDecl</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../com/saxonica/schema/SerializableSchemaComponent.html" title="interface in com.saxonica.schema">SerializableSchemaComponent</A>, <A HREF="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema">UserSchemaComponent</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/SourceLocator.html?is-external=true" title="class or interface in javax.xml.transform">SourceLocator</A>, <A HREF="../../../net/sf/saxon/type/SchemaComponent.html" title="interface in net.sf.saxon.type">SchemaComponent</A></DD> </DL> <HR> <DL> <DT><PRE>public final class <B>AttributeGroupDecl</B><DT>extends <A HREF="../../../com/saxonica/schema/SchemaStructure.html" title="class in com.saxonica.schema">SchemaStructure</A><DT>implements <A HREF="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema">UserSchemaComponent</A>, <A HREF="../../../com/saxonica/schema/SerializableSchemaComponent.html" title="interface in com.saxonica.schema">SerializableSchemaComponent</A></DL> </PRE> <P> An XML Schema Attribute Group Declaration. This represents a named attribute group, but not an attribute group reference. As well as attribute groups explicitly written in the schema using xsl:attributeGroup, this class is also used to represent any collection of attributes defined using xsl:attribute elements as part of a complex type definition. <p>In contrast with the Attribute Group Definition schema component as defined in the W3C specification, the model retains explicit references to subsidiary attribute group definitions. However, the method <A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#getAttributeUses()"><CODE>getAttributeUses()</CODE></A> performs the transitive closure of these references, returning all the attributes at the leaves of the tree.</p> <P> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#com.saxonica.schema.AttributeGroupDecl">Serialized Form</A></DL> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> </TABLE> <A NAME="fields_inherited_from_class_net.sf.saxon.type.SchemaComponent"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface net.sf.saxon.type.<A HREF="../../../net/sf/saxon/type/SchemaComponent.html" title="interface in net.sf.saxon.type">SchemaComponent</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../net/sf/saxon/type/SchemaComponent.html#FIXED_UP">FIXED_UP</A>, <A HREF="../../../net/sf/saxon/type/SchemaComponent.html#INCOMPLETE">INCOMPLETE</A>, <A HREF="../../../net/sf/saxon/type/SchemaComponent.html#INVALID">INVALID</A>, <A HREF="../../../net/sf/saxon/type/SchemaComponent.html#UNVALIDATED">UNVALIDATED</A>, <A HREF="../../../net/sf/saxon/type/SchemaComponent.html#VALIDATED">VALIDATED</A>, <A HREF="../../../net/sf/saxon/type/SchemaComponent.html#VALIDATING">VALIDATING</A></CODE></TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#AttributeGroupDecl(com.saxonica.config.EnterpriseConfiguration)">AttributeGroupDecl</A></B>(<A HREF="../../../com/saxonica/config/EnterpriseConfiguration.html" title="class in com.saxonica.config">EnterpriseConfiguration</A> config)</CODE> <BR> Creates a new AttributeGroup definition.</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#addAttributeGroupReference(com.saxonica.schema.AttributeGroupReference)">addAttributeGroupReference</A></B>(<A HREF="../../../com/saxonica/schema/AttributeGroupReference.html" title="class in com.saxonica.schema">AttributeGroupReference</A> attrGroup)</CODE> <BR> Adds the given AttributeGroupReference to this AttributeGroup.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#addAttributeUse(com.saxonica.schema.AttributeUse)">addAttributeUse</A></B>(<A HREF="../../../com/saxonica/schema/AttributeUse.html" title="class in com.saxonica.schema">AttributeUse</A> use)</CODE> <BR> Add the given attribute use to this AttributeGroup.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#buildCounterMap()">buildCounterMap</A></B>()</CODE> <BR> Build the counter map</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#elaborate(com.saxonica.schema.SchemaCompiler)">elaborate</A></B>(<A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler)</CODE> <BR> Elaborate the schema component: after reloading a serialized schema component model, this expands the component with derived information needed during validation episodes.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#fixup(com.saxonica.schema.SchemaCompiler)">fixup</A></B>(<A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler)</CODE> <BR> Check references from this component to other components</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#gatherAttributeUses(java.util.List)">gatherAttributeUses</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/saxonica/schema/AttributeUse.html" title="class in com.saxonica.schema">AttributeUse</A>> list)</CODE> <BR> Append all attribute declarations contained directly or indirectly in this attribute group to a supplied List.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../com/saxonica/schema/AttributeUse.html" title="class in com.saxonica.schema">AttributeUse</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#getAttributeUse(int)">getAttributeUse</A></B>(int fingerprint)</CODE> <BR> Get the attribute use with a specific name, if there is one.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../com/saxonica/schema/AttributeUse.html" title="class in com.saxonica.schema">AttributeUse</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#getAttributeUses()">getAttributeUses</A></B>()</CODE> <BR> Returns an Iterator over all the attribute uses of this attribute group.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../com/saxonica/schema/AttributeWildcard.html" title="class in com.saxonica.schema">AttributeWildcard</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#getAttributeWildcard(com.saxonica.schema.SchemaCompiler)">getAttributeWildcard</A></B>(<A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler)</CODE> <BR> Get the complete attribute wildcard used in this attribute group.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../net/sf/saxon/expr/sort/IntToIntMap.html" title="interface in net.sf.saxon.expr.sort">IntToIntMap</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#getCounterMap()">getCounterMap</A></B>()</CODE> <BR> Get the counter map used to map attribute names to positions in an array of counters used during instance validation</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../net/sf/saxon/expr/sort/IntHashMap.html" title="class in net.sf.saxon.expr.sort">IntHashMap</A><<A HREF="../../../com/saxonica/schema/AttributeUse.html" title="class in com.saxonica.schema">AttributeUse</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#getDeclaredAttributes()">getDeclaredAttributes</A></B>()</CODE> <BR> Get a HashMap containing all the attributes in this attribute group, expanded recursively.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/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/AttributeGroupDecl.html#getDisplayName()">getDisplayName</A></B>()</CODE> <BR> Return the name of this AttributeGroup, for display purposes</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#getFingerprint()">getFingerprint</A></B>()</CODE> <BR> Get the fingerprint of the name of the attribute group</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#getLocalAttributeGroupReferences()">getLocalAttributeGroupReferences</A></B>()</CODE> <BR> Returns the AttributeGroup references contained locally in this attribute group.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#getLocalAttributes()">getLocalAttributes</A></B>()</CODE> <BR> Returns the attributes defined locally in this attribute group.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../com/saxonica/schema/AttributeWildcard.html" title="class in com.saxonica.schema">AttributeWildcard</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#getLocalAttributeWildcard()">getLocalAttributeWildcard</A></B>()</CODE> <BR> Get the local attribute wildcard used in this attribute group</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/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/AttributeGroupDecl.html#getName()">getName</A></B>()</CODE> <BR> Returns the local part of the name of this named AttributeGroup.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/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/AttributeGroupDecl.html#getTargetNamespace()">getTargetNamespace</A></B>()</CODE> <BR> Returns the namespace URI of the name of this named AttributeGroup.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#isSameDeclaration(com.saxonica.schema.AttributeGroupDecl)">isSameDeclaration</A></B>(<A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html" title="class in com.saxonica.schema">AttributeGroupDecl</A> other)</CODE> <BR> Test whether this is the same type as another type.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#isValidRestriction(com.saxonica.schema.AttributeGroupDecl, com.saxonica.schema.SchemaCompiler)">isValidRestriction</A></B>(<A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html" title="class in com.saxonica.schema">AttributeGroupDecl</A> base, <A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler)</CODE> <BR> Test whether this attribute group is a valid restriction of another attribute group.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#lookForCycles(java.util.Stack, com.saxonica.schema.SchemaCompiler)">lookForCycles</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Stack.html?is-external=true" title="class or interface in java.util">Stack</A> references, <A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler)</CODE> <BR> Check for cycles in the attribute group.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#serialize(com.saxonica.schema.SchemaModelSerializer)">serialize</A></B>(<A HREF="../../../com/saxonica/schema/SchemaModelSerializer.html" title="class in com.saxonica.schema">SchemaModelSerializer</A> serializer)</CODE> <BR> Serialize the schema component</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#serializeContents(com.saxonica.schema.SchemaModelSerializer)">serializeContents</A></B>(<A HREF="../../../com/saxonica/schema/SchemaModelSerializer.html" title="class in com.saxonica.schema">SchemaModelSerializer</A> serializer)</CODE> <BR> Serialize the list of attribute users and wildcard</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#setAnyAttribute(com.saxonica.schema.AttributeWildcard)">setAnyAttribute</A></B>(<A HREF="../../../com/saxonica/schema/AttributeWildcard.html" title="class in com.saxonica.schema">AttributeWildcard</A> wildcard)</CODE> <BR> Sets the wildcard (anyAttribute) of this attribute Group.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#setNameCode(int)">setNameCode</A></B>(int nameCode)</CODE> <BR> Set the nameCode of the name of this attribute group.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#setRedefinedAttributeGroupDecl(com.saxonica.schema.AttributeGroupDecl)">setRedefinedAttributeGroupDecl</A></B>(<A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html" title="class in com.saxonica.schema">AttributeGroupDecl</A> other)</CODE> <BR> Set the attribute group that this attribute group redefines.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html#validate(com.saxonica.schema.SchemaCompiler)">validate</A></B>(<A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler)</CODE> <BR> Check the validity of this AttributeGroup declaration.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.saxonica.schema.SchemaStructure"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.saxonica.schema.<A HREF="../../../com/saxonica/schema/SchemaStructure.html" title="class in com.saxonica.schema">SchemaStructure</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../com/saxonica/schema/SchemaStructure.html#getColumnNumber()">getColumnNumber</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getConfiguration()">getConfiguration</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getFixupStatus()">getFixupStatus</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getLineNumber()">getLineNumber</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getPublicId()">getPublicId</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getRedefinitionLevel()">getRedefinitionLevel</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getSchemaDocumentURI()">getSchemaDocumentURI</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getSystemId()">getSystemId</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#getValidationStatus()">getValidationStatus</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setConfiguration(com.saxonica.config.EnterpriseConfiguration)">setConfiguration</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setFixupStatus(int)">setFixupStatus</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setLineNumber(int)">setLineNumber</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setLocator(javax.xml.transform.SourceLocator)">setLocator</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setRedefinitionLevel(int)">setRedefinitionLevel</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setSchemaDocumentURI(java.lang.String)">setSchemaDocumentURI</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setSystemId(java.lang.String)">setSystemId</A>, <A HREF="../../../com/saxonica/schema/SchemaStructure.html#setValidationStatus(int)">setValidationStatus</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.type.SchemaComponent"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface net.sf.saxon.type.<A HREF="../../../net/sf/saxon/type/SchemaComponent.html" title="interface in net.sf.saxon.type">SchemaComponent</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../net/sf/saxon/type/SchemaComponent.html#getRedefinitionLevel()">getRedefinitionLevel</A>, <A HREF="../../../net/sf/saxon/type/SchemaComponent.html#getValidationStatus()">getValidationStatus</A></CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="AttributeGroupDecl(com.saxonica.config.EnterpriseConfiguration)"><!-- --></A><H3> AttributeGroupDecl</H3> <PRE> public <B>AttributeGroupDecl</B>(<A HREF="../../../com/saxonica/config/EnterpriseConfiguration.html" title="class in com.saxonica.config">EnterpriseConfiguration</A> config)</PRE> <DL> <DD>Creates a new AttributeGroup definition. For internal use only. <P> <DL> <DT><B>Parameters:</B><DD><CODE>config</CODE> - the EnterpriseConfiguration that this AttributeGroup belongs to.</DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="getName()"><!-- --></A><H3> getName</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE> <DL> <DD>Returns the local part of the name of this named AttributeGroup. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the local name of this named AttributeGroup.</DL> </DD> </DL> <HR> <A NAME="getTargetNamespace()"><!-- --></A><H3> getTargetNamespace</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getTargetNamespace</B>()</PRE> <DL> <DD>Returns the namespace URI of the name of this named AttributeGroup. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the namespace URI of this named AttributeGroup: null if the attribute group is in no namespace</DL> </DD> </DL> <HR> <A NAME="addAttributeUse(com.saxonica.schema.AttributeUse)"><!-- --></A><H3> addAttributeUse</H3> <PRE> public void <B>addAttributeUse</B>(<A HREF="../../../com/saxonica/schema/AttributeUse.html" title="class in com.saxonica.schema">AttributeUse</A> use)</PRE> <DL> <DD>Add the given attribute use to this AttributeGroup. Doesn't throw an error if it's a duplicate: this is left until validation time. For internal use only. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>use</CODE> - the AttributeUse to add</DL> </DD> </DL> <HR> <A NAME="addAttributeGroupReference(com.saxonica.schema.AttributeGroupReference)"><!-- --></A><H3> addAttributeGroupReference</H3> <PRE> public void <B>addAttributeGroupReference</B>(<A HREF="../../../com/saxonica/schema/AttributeGroupReference.html" title="class in com.saxonica.schema">AttributeGroupReference</A> attrGroup)</PRE> <DL> <DD>Adds the given AttributeGroupReference to this AttributeGroup. For internal use only. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>attrGroup</CODE> - the AttributeGroupReference to add</DL> </DD> </DL> <HR> <A NAME="setRedefinedAttributeGroupDecl(com.saxonica.schema.AttributeGroupDecl)"><!-- --></A><H3> setRedefinedAttributeGroupDecl</H3> <PRE> public void <B>setRedefinedAttributeGroupDecl</B>(<A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html" title="class in com.saxonica.schema">AttributeGroupDecl</A> other)</PRE> <DL> <DD>Set the attribute group that this attribute group redefines. This is called only for an attribute group that redefined another one, *without* a self-reference <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>other</CODE> - the attribute group declaration that this attribute group redefines</DL> </DD> </DL> <HR> <A NAME="getLocalAttributes()"><!-- --></A><H3> getLocalAttributes</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A> <B>getLocalAttributes</B>()</PRE> <DL> <DD>Returns the attributes defined locally in this attribute group. (not those of the nested groups) <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>an iterator over the attribute uses defined locally in this attribute group. The objects returned by the iterator are instances of <A HREF="../../../com/saxonica/schema/AttributeDecl.html" title="class in com.saxonica.schema"><CODE>AttributeDecl</CODE></A></DL> </DD> </DL> <HR> <A NAME="getLocalAttributeGroupReferences()"><!-- --></A><H3> getLocalAttributeGroupReferences</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A> <B>getLocalAttributeGroupReferences</B>()</PRE> <DL> <DD>Returns the AttributeGroup references contained locally in this attribute group. (not those of the nested groups) <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>an iterator over the locally-defined attribute groups. The objects returned by this iterator are instances of <A HREF="../../../com/saxonica/schema/AttributeGroupReference.html" title="class in com.saxonica.schema"><CODE>AttributeGroupReference</CODE></A></DL> </DD> </DL> <HR> <A NAME="lookForCycles(java.util.Stack, com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3> lookForCycles</H3> <PRE> public void <B>lookForCycles</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Stack.html?is-external=true" title="class or interface in java.util">Stack</A> references, <A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler) throws <A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE> <DL> <DD>Check for cycles in the attribute group. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html#lookForCycles(java.util.Stack, com.saxonica.schema.SchemaCompiler)">lookForCycles</A></CODE> in interface <CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema">UserSchemaComponent</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/saxonica/schema/SchemaStructure.html#lookForCycles(java.util.Stack, com.saxonica.schema.SchemaCompiler)">lookForCycles</A></CODE> in class <CODE><A HREF="../../../com/saxonica/schema/SchemaStructure.html" title="class in com.saxonica.schema">SchemaStructure</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>references</CODE> - The attribute groups that contain direct or indirect references to this attribute group<DD><CODE>compiler</CODE> - used to report errors and warnings <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - if a circularity is detected.</DL> </DD> </DL> <HR> <A NAME="getLocalAttributeWildcard()"><!-- --></A><H3> getLocalAttributeWildcard</H3> <PRE> public <A HREF="../../../com/saxonica/schema/AttributeWildcard.html" title="class in com.saxonica.schema">AttributeWildcard</A> <B>getLocalAttributeWildcard</B>()</PRE> <DL> <DD>Get the local attribute wildcard used in this attribute group <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the wildcard used in this complexType if there is one; otherwise return null.</DL> </DD> </DL> <HR> <A NAME="getAttributeWildcard(com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3> getAttributeWildcard</H3> <PRE> public <A HREF="../../../com/saxonica/schema/AttributeWildcard.html" title="class in com.saxonica.schema">AttributeWildcard</A> <B>getAttributeWildcard</B>(<A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler) throws <A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></PRE> <DL> <DD>Get the complete attribute wildcard used in this attribute group. This takes into account any attribute wildcards used in contained attribute groups. The rules are given in Schema Part 1 section 3.4.2. The returned wildcard is the intersection of the attribute wildcards in the various attribute groups: that is, a wildcard that allows only what each one of these wildcards allows. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>compiler</CODE> - Used for error reporting. May be null if used at validation time. <DT><B>Returns:</B><DD>the combined wildcard used in this attribute group. This can be null. It can also be "inexpressible". This results in an AttributeWildcard marked as being inexpressible, an error condition that the caller is left to deal with. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/type/UnresolvedReferenceException.html" title="class in net.sf.saxon.type">UnresolvedReferenceException</A></CODE> - if a required component contains a reference to another component that is not present in the schema</DL> </DD> </DL> <HR> <A NAME="getAttributeUses()"><!-- --></A><H3> getAttributeUses</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../com/saxonica/schema/AttributeUse.html" title="class in com.saxonica.schema">AttributeUse</A>> <B>getAttributeUses</B>()</PRE> <DL> <DD>Returns an Iterator over all the attribute uses of this attribute group. The iteration includes attributes from all attribute groups references contained in this AttributeGroup. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>an Iterator over all the attributes of this attribute group, expanded recursively. The objects returned by this Iterator are <A HREF="../../../com/saxonica/schema/AttributeDecl.html" title="class in com.saxonica.schema"><CODE>AttributeDecl</CODE></A> objects. The iterator does not include attribute wildcards.</DL> </DD> </DL> <HR> <A NAME="gatherAttributeUses(java.util.List)"><!-- --></A><H3> gatherAttributeUses</H3> <PRE> public void <B>gatherAttributeUses</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/saxonica/schema/AttributeUse.html" title="class in com.saxonica.schema">AttributeUse</A>> list)</PRE> <DL> <DD>Append all attribute declarations contained directly or indirectly in this attribute group to a supplied List. The AttributeGroupDecl must have been validated before this method is called. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>list</CODE> - the list to which the contained attribute declarations should be appended</DL> </DD> </DL> <HR> <A NAME="getCounterMap()"><!-- --></A><H3> getCounterMap</H3> <PRE> public <A HREF="../../../net/sf/saxon/expr/sort/IntToIntMap.html" title="interface in net.sf.saxon.expr.sort">IntToIntMap</A> <B>getCounterMap</B>()</PRE> <DL> <DD>Get the counter map used to map attribute names to positions in an array of counters used during instance validation <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the counter map. This is available at any time after validate() is called. The counter map maps the fingerprints of the attributes defined in this attribute group to a sequence of consecutive integers that can be used to index into an array of counters.</DL> </DD> </DL> <HR> <A NAME="getDisplayName()"><!-- --></A><H3> getDisplayName</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getDisplayName</B>()</PRE> <DL> <DD>Return the name of this AttributeGroup, for display purposes <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the name of this AttributeGroup, or null, if no name was defined.</DL> </DD> </DL> <HR> <A NAME="setAnyAttribute(com.saxonica.schema.AttributeWildcard)"><!-- --></A><H3> setAnyAttribute</H3> <PRE> public void <B>setAnyAttribute</B>(<A HREF="../../../com/saxonica/schema/AttributeWildcard.html" title="class in com.saxonica.schema">AttributeWildcard</A> wildcard)</PRE> <DL> <DD>Sets the wildcard (anyAttribute) of this attribute Group. It is the caller's responsibility to ensure that only one attribute wildcard is defined in an attribute group. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>wildcard</CODE> - the wildcard defining the xs:anyAttribute content of this attribute group, if any.</DL> </DD> </DL> <HR> <A NAME="fixup(com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3> fixup</H3> <PRE> public boolean <B>fixup</B>(<A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler) throws <A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE> <DL> <DD>Check references from this component to other components <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html#fixup(com.saxonica.schema.SchemaCompiler)">fixup</A></CODE> in interface <CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema">UserSchemaComponent</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/saxonica/schema/SchemaStructure.html#fixup(com.saxonica.schema.SchemaCompiler)">fixup</A></CODE> in class <CODE><A HREF="../../../com/saxonica/schema/SchemaStructure.html" title="class in com.saxonica.schema">SchemaStructure</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>compiler</CODE> - used for reporting errors and warnings <DT><B>Returns:</B><DD>true if all is well, false if errors found <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE></DL> </DD> </DL> <HR> <A NAME="validate(com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3> validate</H3> <PRE> public boolean <B>validate</B>(<A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler) throws <A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE> <DL> <DD>Check the validity of this AttributeGroup declaration. For internal use only. Any errors found are reported to the error listener. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html#validate(com.saxonica.schema.SchemaCompiler)">validate</A></CODE> in interface <CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema">UserSchemaComponent</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>compiler</CODE> - used for reporting errors and warnings <DT><B>Returns:</B><DD>true if the declaration is valid, false if not <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - if this Attribute declaration is invalid and the error listener chooses to treat the error as fatal.</DL> </DD> </DL> <HR> <A NAME="buildCounterMap()"><!-- --></A><H3> buildCounterMap</H3> <PRE> public void <B>buildCounterMap</B>()</PRE> <DL> <DD>Build the counter map <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="isValidRestriction(com.saxonica.schema.AttributeGroupDecl, com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3> isValidRestriction</H3> <PRE> public boolean <B>isValidRestriction</B>(<A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html" title="class in com.saxonica.schema">AttributeGroupDecl</A> base, <A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler) throws <A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE> <DL> <DD>Test whether this attribute group is a valid restriction of another attribute group. If it is not a valid restriction, an error is reported to the error listener and the method returns false. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>base</CODE> - the other attribute group<DD><CODE>compiler</CODE> - user for reporting errors and warnings <DT><B>Returns:</B><DD>true if this is a valid restriction, false if not <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE> - if an error is detected and the error listener decides to treat the error as fatal.</DL> </DD> </DL> <HR> <A NAME="isSameDeclaration(com.saxonica.schema.AttributeGroupDecl)"><!-- --></A><H3> isSameDeclaration</H3> <PRE> public boolean <B>isSameDeclaration</B>(<A HREF="../../../com/saxonica/schema/AttributeGroupDecl.html" title="class in com.saxonica.schema">AttributeGroupDecl</A> other)</PRE> <DL> <DD>Test whether this is the same type as another type. They are considered to be the same type if they are derived from the same type definition in the original XML representation (which can happen when there are multiple includes of the same file) <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>other</CODE> - the attribute group declaration that we are comparing with <DT><B>Returns:</B><DD>true if the two attribute group declarations are identical</DL> </DD> </DL> <HR> <A NAME="getFingerprint()"><!-- --></A><H3> getFingerprint</H3> <PRE> public int <B>getFingerprint</B>()</PRE> <DL> <DD>Get the fingerprint of the name of the attribute group <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the NamePool fingerprint of the attribute group's expanded name</DL> </DD> </DL> <HR> <A NAME="setNameCode(int)"><!-- --></A><H3> setNameCode</H3> <PRE> public void <B>setNameCode</B>(int nameCode)</PRE> <DL> <DD>Set the nameCode of the name of this attribute group. For internal use only. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>nameCode</CODE> - the fingerprint of the name, in the NamePool</DL> </DD> </DL> <HR> <A NAME="getDeclaredAttributes()"><!-- --></A><H3> getDeclaredAttributes</H3> <PRE> public <A HREF="../../../net/sf/saxon/expr/sort/IntHashMap.html" title="class in net.sf.saxon.expr.sort">IntHashMap</A><<A HREF="../../../com/saxonica/schema/AttributeUse.html" title="class in com.saxonica.schema">AttributeUse</A>> <B>getDeclaredAttributes</B>()</PRE> <DL> <DD>Get a HashMap containing all the attributes in this attribute group, expanded recursively. The key is the integer fingerprint identifying the name of the attribute. The value is an AttributeUse object identifying the attribute declaration. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>a map defining the attributes in the attribute group</DL> </DD> </DL> <HR> <A NAME="getAttributeUse(int)"><!-- --></A><H3> getAttributeUse</H3> <PRE> public final <A HREF="../../../com/saxonica/schema/AttributeUse.html" title="class in com.saxonica.schema">AttributeUse</A> <B>getAttributeUse</B>(int fingerprint)</PRE> <DL> <DD>Get the attribute use with a specific name, if there is one. Otherwise return null. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>fingerprint</CODE> - the fingerprint identifying the expanded name of the required attribute in the name pool. <DT><B>Returns:</B><DD>the attribute with a given name, from among the transitively-expanded definition of this attribute group.</DL> </DD> </DL> <HR> <A NAME="serialize(com.saxonica.schema.SchemaModelSerializer)"><!-- --></A><H3> serialize</H3> <PRE> public void <B>serialize</B>(<A HREF="../../../com/saxonica/schema/SchemaModelSerializer.html" title="class in com.saxonica.schema">SchemaModelSerializer</A> serializer) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Serialize the schema component <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/saxonica/schema/SerializableSchemaComponent.html#serialize(com.saxonica.schema.SchemaModelSerializer)">serialize</A></CODE> in interface <CODE><A HREF="../../../com/saxonica/schema/SerializableSchemaComponent.html" title="interface in com.saxonica.schema">SerializableSchemaComponent</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>serializer</CODE> - the object responsible for performing the serialization <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - if serialization fails</DL> </DD> </DL> <HR> <A NAME="serializeContents(com.saxonica.schema.SchemaModelSerializer)"><!-- --></A><H3> serializeContents</H3> <PRE> public void <B>serializeContents</B>(<A HREF="../../../com/saxonica/schema/SchemaModelSerializer.html" title="class in com.saxonica.schema">SchemaModelSerializer</A> serializer) throws <A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE> <DL> <DD>Serialize the list of attribute users and wildcard <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>serializer</CODE> - the object to which the information is to be sent <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - if a failure occurs</DL> </DD> </DL> <HR> <A NAME="elaborate(com.saxonica.schema.SchemaCompiler)"><!-- --></A><H3> elaborate</H3> <PRE> public void <B>elaborate</B>(<A HREF="../../../com/saxonica/schema/SchemaCompiler.html" title="class in com.saxonica.schema">SchemaCompiler</A> compiler) throws <A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></PRE> <DL> <DD>Elaborate the schema component: after reloading a serialized schema component model, this expands the component with derived information needed during validation episodes. The model is assumed to be valid. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html#elaborate(com.saxonica.schema.SchemaCompiler)">elaborate</A></CODE> in interface <CODE><A HREF="../../../com/saxonica/schema/UserSchemaComponent.html" title="interface in com.saxonica.schema">UserSchemaComponent</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/saxonica/schema/SchemaStructure.html#elaborate(com.saxonica.schema.SchemaCompiler)">elaborate</A></CODE> in class <CODE><A HREF="../../../com/saxonica/schema/SchemaStructure.html" title="class in com.saxonica.schema">SchemaStructure</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>compiler</CODE> - the schema compiler <DT><B>Throws:</B> <DD><CODE><A HREF="../../../net/sf/saxon/type/SchemaException.html" title="class in net.sf.saxon.type">SchemaException</A></CODE></DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/saxonica/schema/AttributeDecl.html" title="class in com.saxonica.schema"><B>PREV CLASS</B></A> <A HREF="../../../com/saxonica/schema/AttributeGroupReference.html" title="class in com.saxonica.schema"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/saxonica/schema/AttributeGroupDecl.html" target="_top"><B>FRAMES</B></A> <A HREF="AttributeGroupDecl.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright (c) 2004-2011 Saxonica Limited. All rights reserved. </BODY> </HTML>