<!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 Sat Dec 04 05:26:39 UTC 2010 --> <TITLE> XsAGOccurs </TITLE> <META NAME="date" CONTENT="2010-12-04"> <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="XsAGOccurs"; } } </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="../../../../../../org/apache/ws/jaxme/xs/xml/XsAGDefRef.html" title="interface in org.apache.ws.jaxme.xs.xml"><B>PREV CLASS</B></A> <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsAnyURI.html" title="class in org.apache.ws.jaxme.xs.xml"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?org/apache/ws/jaxme/xs/xml/XsAGOccurs.html" target="_top"><B>FRAMES</B></A> <A HREF="XsAGOccurs.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <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"> org.apache.ws.jaxme.xs.xml</FONT> <BR> Interface XsAGOccurs</H2> <DL> <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsEAny.html" title="interface in org.apache.ws.jaxme.xs.xml">XsEAny</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsEChoice.html" title="interface in org.apache.ws.jaxme.xs.xml">XsEChoice</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsESequence.html" title="interface in org.apache.ws.jaxme.xs.xml">XsESequence</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsTAll.html" title="interface in org.apache.ws.jaxme.xs.xml">XsTAll</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsTElement.html" title="interface in org.apache.ws.jaxme.xs.xml">XsTElement</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsTExplicitGroup.html" title="interface in org.apache.ws.jaxme.xs.xml">XsTExplicitGroup</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsTGroup.html" title="interface in org.apache.ws.jaxme.xs.xml">XsTGroup</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsTGroupRef.html" title="interface in org.apache.ws.jaxme.xs.xml">XsTGroupRef</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsTLocalElement.html" title="interface in org.apache.ws.jaxme.xs.xml">XsTLocalElement</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsTRealGroup.html" title="interface in org.apache.ws.jaxme.xs.xml">XsTRealGroup</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsTTopLevelElement.html" title="interface in org.apache.ws.jaxme.xs.xml">XsTTopLevelElement</A></DD> </DL> <DL> <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/impl/XsAGOccursImpl.html" title="class in org.apache.ws.jaxme.xs.xml.impl">XsAGOccursImpl</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/impl/XsEAnyImpl.html" title="class in org.apache.ws.jaxme.xs.xml.impl">XsEAnyImpl</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/impl/XsEChoiceImpl.html" title="class in org.apache.ws.jaxme.xs.xml.impl">XsEChoiceImpl</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/impl/XsESequenceImpl.html" title="class in org.apache.ws.jaxme.xs.xml.impl">XsESequenceImpl</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/impl/XsTAllImpl.html" title="class in org.apache.ws.jaxme.xs.xml.impl">XsTAllImpl</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/impl/XsTElementImpl.html" title="class in org.apache.ws.jaxme.xs.xml.impl">XsTElementImpl</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/impl/XsTExplicitGroupImpl.html" title="class in org.apache.ws.jaxme.xs.xml.impl">XsTExplicitGroupImpl</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/impl/XsTGroupImpl.html" title="class in org.apache.ws.jaxme.xs.xml.impl">XsTGroupImpl</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/impl/XsTGroupRefImpl.html" title="class in org.apache.ws.jaxme.xs.xml.impl">XsTGroupRefImpl</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/impl/XsTLocalAllElementImpl.html" title="class in org.apache.ws.jaxme.xs.xml.impl">XsTLocalAllElementImpl</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/impl/XsTLocalElementImpl.html" title="class in org.apache.ws.jaxme.xs.xml.impl">XsTLocalElementImpl</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/impl/XsTRealGroupImpl.html" title="class in org.apache.ws.jaxme.xs.xml.impl">XsTRealGroupImpl</A>, <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/impl/XsTTopLevelElementImpl.html" title="class in org.apache.ws.jaxme.xs.xml.impl">XsTTopLevelElementImpl</A></DD> </DL> <HR> <DL> <DT><PRE>public interface <B>XsAGOccurs</B></DL> </PRE> <P> <p>Interface of the attribute group <code>xs:occurs</code>, as specified by the following: <pre> <xs:attributeGroup name="occurs"> <xs:annotation> <xs:documentation> for all particles </xs:documentation> </xs:annotation> <xs:attribute name="minOccurs" type="xs:nonNegativeInteger" use="optional" default="1"/> <xs:attribute name="maxOccurs" type="xs:allNNI" use="optional" default="1"/> </xs:attributeGroup> </pre></p> <p><em>Implementation note:</em> The implementation must ensure that either 'maxOccurs' is unbounded or 'minOccurs' <= 'maxOccurs'. This is checked by the <code>validate</code> method.</p> <P> <P> <DL> <DT><B>Author:</B></DT> <DD><a href="mailto:joe@ispsoft.de">Jochen Wiedmann</a></DD> </DL> <HR> <P> <!-- ========== 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> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsAGOccurs.html#getMaxOccurs()">getMaxOccurs</A></B>()</CODE> <BR> -1 for 'unbounded'</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="../../../../../../org/apache/ws/jaxme/xs/xml/XsAGOccurs.html#getMinOccurs()">getMinOccurs</A></B>()</CODE> <BR> </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="../../../../../../org/apache/ws/jaxme/xs/xml/XsAGOccurs.html#setMaxOccurs(java.lang.String)">setMaxOccurs</A></B>(java.lang.String pMaxOccurs)</CODE> <BR> Either of 'unbounded' or a nonnegative integer value.</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="../../../../../../org/apache/ws/jaxme/xs/xml/XsAGOccurs.html#setMinOccurs(int)">setMinOccurs</A></B>(int pMinOccurs)</CODE> <BR> </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="../../../../../../org/apache/ws/jaxme/xs/xml/XsAGOccurs.html#validate()">validate</A></B>()</CODE> <BR> Verifies whether the attribute group constraints are met.</TD> </TR> </TABLE> <P> <!-- ============ 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="setMaxOccurs(java.lang.String)"><!-- --></A><H3> setMaxOccurs</H3> <PRE> void <B>setMaxOccurs</B>(java.lang.String pMaxOccurs)</PRE> <DL> <DD><p>Either of 'unbounded' or a nonnegative integer value.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getMaxOccurs()"><!-- --></A><H3> getMaxOccurs</H3> <PRE> int <B>getMaxOccurs</B>()</PRE> <DL> <DD><p>-1 for 'unbounded'</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setMinOccurs(int)"><!-- --></A><H3> setMinOccurs</H3> <PRE> void <B>setMinOccurs</B>(int pMinOccurs)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getMinOccurs()"><!-- --></A><H3> getMinOccurs</H3> <PRE> int <B>getMinOccurs</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="validate()"><!-- --></A><H3> validate</H3> <PRE> void <B>validate</B>() throws org.xml.sax.SAXException</PRE> <DL> <DD><p>Verifies whether the attribute group constraints are met.</p> <P> <DD><DL> <DT><B>Throws:</B> <DD><CODE>org.xml.sax.SAXException</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="../../../../../../org/apache/ws/jaxme/xs/xml/XsAGDefRef.html" title="interface in org.apache.ws.jaxme.xs.xml"><B>PREV CLASS</B></A> <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsAnyURI.html" title="class in org.apache.ws.jaxme.xs.xml"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?org/apache/ws/jaxme/xs/xml/XsAGOccurs.html" target="_top"><B>FRAMES</B></A> <A HREF="XsAGOccurs.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>