source: NonGTP/Xerces/xerces/doc/html/apiDocs/classXSParticle.html @ 358

Revision 358, 31.8 KB checked in by bittner, 19 years ago (diff)

xerces added

Line 
1<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>XSParticle class Reference</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="../resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="../resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="../resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="../graphics/api-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="../resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','../resources/button-xml-hi.gif','../resources/button-xml-lo.gif');" src="../resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','../resources/button-asf-hi.gif','../resources/button-asf-lo.gif');" src="../resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','../resources/button-w3c-hi.gif','../resources/button-w3c-lo.gif');" src="../resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="../resources/join.gif" vspace="0" width="120"><BR>
2  <A href="../../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','../graphics/ext-2-label-2.jpg','../graphics/ext-2-label-3.jpg');" src="../graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR>
3
4  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
5
6  <A href="../index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','../graphics/index-label-2.jpg','../graphics/index-label-3.jpg');" src="../graphics/index-label-3.jpg" vspace="0" width="120"></A><BR>
7  <A href="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Release Info" border="0" height="12" hspace="0" name="side-releases" onLoad="rolloverLoad('side-releases','../graphics/releases-label-2.jpg','../graphics/releases-label-3.jpg');" src="../graphics/releases-label-3.jpg" vspace="0" width="120"></A><BR>
8  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
9  <A href="../install.html" onMouseOut="rolloverOff('side-install');" onMouseOver="rolloverOn('side-install');"><IMG alt="Installation" border="0" height="12" hspace="0" name="side-install" onLoad="rolloverLoad('side-install','../graphics/install-label-2.jpg','../graphics/install-label-3.jpg');" src="../graphics/install-label-3.jpg" vspace="0" width="120"></A><BR>
10  <A href="http://xml.apache.org/dist/xerces-c/" onMouseOut="rolloverOff('side-ext-18');" onMouseOver="rolloverOn('side-ext-18');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-18" onLoad="rolloverLoad('side-ext-18','../graphics/ext-18-label-2.jpg','../graphics/ext-18-label-3.jpg');" src="../graphics/ext-18-label-3.jpg" vspace="0" width="120"></A><BR>
11  <A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build" border="0" height="12" hspace="0" name="side-build" onLoad="rolloverLoad('side-build','../graphics/build-label-2.jpg','../graphics/build-label-3.jpg');" src="../graphics/build-label-3.jpg" vspace="0" width="120"></A><BR>
12
13  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
14  <A href="../faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','../graphics/faqs-label-2.jpg','../graphics/faqs-label-3.jpg');" src="../graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> 
15  <A href="../samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Samples" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','../graphics/samples-label-2.jpg','../graphics/samples-label-3.jpg');" src="../graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR>
16  <A href="../api.html" onMouseOut="rolloverOff('side-api');" onMouseOver="rolloverOn('side-api');"><IMG alt="API Docs" border="0" height="12" hspace="0" name="side-api" onLoad="rolloverLoad('side-api','../graphics/api-label-2.jpg','../graphics/api-label-3.jpg');" src="../graphics/api-label-3.jpg" vspace="0" width="120"></A><BR> 
17
18  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> 
19  <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-68');" onMouseOver="rolloverOn('side-ext-68');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-68" onLoad="rolloverLoad('side-ext-68','../graphics/ext-68-label-2.jpg','../graphics/ext-68-label-3.jpg');" src="../graphics/ext-68-label-3.jpg" vspace="0" width="120"></A><BR>
20
21  <A href="../program.html" onMouseOut="rolloverOff('side-program');" onMouseOver="rolloverOn('side-program');"><IMG alt="Programming" border="0" height="12" hspace="0" name="side-program" onLoad="rolloverLoad('side-program','../graphics/program-label-2.jpg','../graphics/program-label-3.jpg');" src="../graphics/program-label-3.jpg" vspace="0" width="120"></A><BR>
22  <A href="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration Guide" border="0" height="12" hspace="0" name="side-migrate" onLoad="rolloverLoad('side-migrate','../graphics/migrate-label-2.jpg','../graphics/migrate-label-3.jpg');" src="../graphics/migrate-label-3.jpg" vspace="0" width="120"></A><BR>
23
24  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
25
26  <A href="../feedback.html" onMouseOut="rolloverOff('side-feedback');" onMouseOver="rolloverOn('side-feedback');"><IMG alt="Feedback" border="0" height="12" hspace="0" name="side-feedback" onLoad="rolloverLoad('side-feedback','../graphics/feedback-label-2.jpg','../graphics/feedback-label-3.jpg');" src="../graphics/feedback-label-3.jpg" vspace="0" width="120"></A><BR>
27  <A href="../bug-report.html" onMouseOut="rolloverOff('side-bug-report');" onMouseOver="rolloverOn('side-bug-report');"><IMG alt="Bug-Reporting" border="0" height="12" hspace="0" name="side-bug-report" onLoad="rolloverLoad('side-bug-report','../graphics/bug-report-label-2.jpg','../graphics/bug-report-label-3.jpg');" src="../graphics/bug-report-label-3.jpg" vspace="0" width="120"></A><BR> 
28  <A href="../pdf.html" onMouseOut="rolloverOff('side-pdf');" onMouseOver="rolloverOn('side-pdf');"><IMG alt="PDF Document" border="0" height="12" hspace="0" name="side-pdf" onLoad="rolloverLoad('side-pdf','../graphics/pdf-label-2.jpg','../graphics/pdf-label-3.jpg');" src="../graphics/pdf-label-3.jpg" vspace="0" width="120"></A><BR>
29
30  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
31
32  <A href="http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/" onMouseOut="rolloverOff('side-ext-100');" onMouseOver="rolloverOn('side-ext-100');"><IMG alt="CVS Repository" border="0" height="12" hspace="0" name="side-ext-100" onLoad="rolloverLoad('side-ext-100','../graphics/ext-100-label-2.jpg','../graphics/ext-100-label-3.jpg');" src="../graphics/ext-100-label-3.jpg" vspace="0" width="120"></A><BR>
33
34  <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-102');" onMouseOver="rolloverOn('side-ext-102');"><IMG alt="Mail Archive" border="0" height="12" hspace="0" name="side-ext-102" onLoad="rolloverLoad('side-ext-102','../graphics/ext-102-label-2.jpg','../graphics/ext-102-label-3.jpg');" src="../graphics/ext-102-label-3.jpg" vspace="0" width="120"></A><BR>
35
36
37<IMG border="0" height="14" hspace="0" src="../resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD>
38    <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#FFFFFF" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="../resources/void.gif" vspace="0" width="2"><B>API Docs for SAX and DOM</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif">
39
40            <P>
41<!-- Generated by Doxygen 1.2.14 -->
42<center>
43<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
44<hr><h1>XSParticle  Class Reference</h1>Inheritance diagram for XSParticle:<p><center><img src="classXSParticle__inherit__graph.gif" border="0" usemap="#XSParticle__inherit__map" alt="Inheritance graph"></center>
45<map name="XSParticle__inherit__map">
46<area href="classXSObject.html" shape="rect" coords="11,105,80,86" alt="">
47<area href="classXMemory.html" shape="rect" coords="11,36,80,17" alt="">
48</map>
49<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XSParticle:<p><center><img src="classXSParticle__coll__graph.gif" border="0" usemap="#XSParticle__coll__map" alt="Collaboration graph"></center>
50<map name="XSParticle__coll__map">
51<area href="classXSObject.html" shape="rect" coords="195,399,264,380" alt="">
52<area href="classXMemory.html" shape="rect" coords="61,36,131,17" alt="">
53<area href="classXSModel.html" shape="rect" coords="196,308,263,289" alt="">
54<area href="classXSNamedMap.html" shape="rect" coords="139,217,320,199" alt="">
55<area href="classXSNamedMap.html" shape="rect" coords="159,127,308,108" alt="">
56<area href="classMemoryManager.html" shape="rect" coords="395,36,504,17" alt="">
57</map>
58<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXSParticle-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
59<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
60<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classXSParticle.html#s4">TERM_TYPE</a> { <a class="el" href="classXSParticle.html#s4s0">TERM_EMPTY</a> =  0,
61<a class="el" href="classXSParticle.html#s4s1">TERM_ELEMENT</a> =  XSConstants::ELEMENT_DECLARATION,
62<a class="el" href="classXSParticle.html#s4s2">TERM_MODELGROUP</a> =  XSConstants::MODEL_GROUP_DEFINITION,
63<a class="el" href="classXSParticle.html#s4s3">TERM_WILDCARD</a> =  XSConstants::WILDCARD
64 }</td></tr>
65<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
66<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
67<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXSParticle.html#z397_0">XSParticle</a> (<a class="el" href="classXSParticle.html#s4">TERM_TYPE</a> termType, <a class="el" href="classXSModel.html">XSModel</a> *const xsModel, <a class="el" href="classXSObject.html">XSObject</a> *const particleTerm, int minOccurs, int maxOccurs, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
68<tr><td>&nbsp;</td><td><font size=-1><em>The default constructor.</em> <a href="#z397_0">More...</a><em></em></font><br><br></td></tr>
69<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
70<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXSParticle.html#z398_0">~XSParticle</a> ()</td></tr>
71<tr><td colspan="2"><div class="groupHeader">XSParticle methods</div></td></tr>
72<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classXSParticle.html#z399_0">getMinOccurs</a> () const</td></tr>
73<tr><td>&nbsp;</td><td><font size=-1><em>[min occurs]: determines the minimum number of terms that can occur.</em> <a href="#z399_0">More...</a><em></em></font><br><br></td></tr>
74<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classXSParticle.html#z399_1">getMaxOccurs</a> () const</td></tr>
75<tr><td>&nbsp;</td><td><font size=-1><em>[max occurs] determines the maximum number of terms that can occur.</em> <a href="#z399_1">More...</a><em></em></font><br><br></td></tr>
76<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classXSParticle.html#z399_2">getMaxOccursUnbounded</a> () const</td></tr>
77<tr><td>&nbsp;</td><td><font size=-1><em>[max occurs] whether the maxOccurs value is unbounded.</em> <a href="#z399_2">More...</a><em></em></font><br><br></td></tr>
78<tr><td nowrap align=right valign=top><a class="el" href="classXSParticle.html#s4">TERM_TYPE</a>&nbsp;</td><td valign=bottom><a class="el" href="classXSParticle.html#z399_3">getTermType</a> () const</td></tr>
79<tr><td>&nbsp;</td><td><font size=-1><em>Returns the type of the [term]: one of TERM_EMPTY, TERM_ELEMENT, TERM_MODELGROUP, or TERM_WILDCARD.</em> <a href="#z399_3">More...</a><em></em></font><br><br></td></tr>
80<tr><td nowrap align=right valign=top><a class="el" href="classXSElementDeclaration.html">XSElementDeclaration</a> *&nbsp;</td><td valign=bottom><a class="el" href="classXSParticle.html#z399_4">getElementTerm</a> ()</td></tr>
81<tr><td>&nbsp;</td><td><font size=-1><em>If this particle has an [element declaration] for its term, this method returns that declaration; otherwise, it returns 0.</em> <a href="#z399_4">More...</a><em></em></font><br><br></td></tr>
82<tr><td nowrap align=right valign=top><a class="el" href="classXSModelGroup.html">XSModelGroup</a> *&nbsp;</td><td valign=bottom><a class="el" href="classXSParticle.html#z399_5">getModelGroupTerm</a> ()</td></tr>
83<tr><td>&nbsp;</td><td><font size=-1><em>If this particle has a [model group] for its term, this method returns that definition; otherwise, it returns 0.</em> <a href="#z399_5">More...</a><em></em></font><br><br></td></tr>
84<tr><td nowrap align=right valign=top><a class="el" href="classXSWildcard.html">XSWildcard</a> *&nbsp;</td><td valign=bottom><a class="el" href="classXSParticle.html#z399_6">getWildcardTerm</a> ()</td></tr>
85<tr><td>&nbsp;</td><td><font size=-1><em>If this particle has an [wildcard] for its term, this method returns that declaration; otherwise, it returns 0.</em> <a href="#z399_6">More...</a><em></em></font><br><br></td></tr>
86<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
87<tr><td nowrap align=right valign=top><a class="el" href="classXSParticle.html#s4">TERM_TYPE</a>&nbsp;</td><td valign=bottom><a class="el" href="classXSParticle.html#n0">fTermType</a></td></tr>
88<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classXSParticle.html#n1">fMinOccurs</a></td></tr>
89<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classXSParticle.html#n2">fMaxOccurs</a></td></tr>
90<tr><td nowrap align=right valign=top><a class="el" href="classXSObject.html">XSObject</a> *&nbsp;</td><td valign=bottom><a class="el" href="classXSParticle.html#n3">fTerm</a></td></tr>
91</table>
92<hr><h2>Member Enumeration Documentation</h2>
93<a name="s4" doxytag="XSParticle::TERM_TYPE"></a><p>
94<table width="100%" cellpadding="2" cellspacing="0" border="0">
95  <tr>
96    <td class="md">
97      <table cellpadding="0" cellspacing="0" border="0">
98        <tr>
99          <td class="md" nowrap valign="top"> enum XSParticle::TERM_TYPE
100      </table>
101    </td>
102  </tr>
103</table>
104<table cellspacing=5 cellpadding=0 border=0>
105  <tr>
106    <td>
107      &nbsp;
108    </td>
109    <td>
110
111<p>
112<dl compact><dt><b>
113Enumeration values:</b><dd>
114<table border=0 cellspacing=2 cellpadding=0>
115<tr><td valign=top><em><a name="s4s0" doxytag="TERM_EMPTY"></a><em>TERM_EMPTY</em></em>&nbsp;</td><td>
116</td></tr>
117<tr><td valign=top><em><a name="s4s1" doxytag="TERM_ELEMENT"></a><em>TERM_ELEMENT</em></em>&nbsp;</td><td>
118</td></tr>
119<tr><td valign=top><em><a name="s4s2" doxytag="TERM_MODELGROUP"></a><em>TERM_MODELGROUP</em></em>&nbsp;</td><td>
120</td></tr>
121<tr><td valign=top><em><a name="s4s3" doxytag="TERM_WILDCARD"></a><em>TERM_WILDCARD</em></em>&nbsp;</td><td>
122</td></tr>
123</table>
124</dl>
125    </td>
126  </tr>
127</table>
128<hr><h2>Constructor &amp; Destructor Documentation</h2>
129<a name="z397_0" doxytag="XSParticle::XSParticle"></a><p>
130<table width="100%" cellpadding="2" cellspacing="0" border="0">
131  <tr>
132    <td class="md">
133      <table cellpadding="0" cellspacing="0" border="0">
134        <tr>
135          <td class="md" nowrap valign="top"> XSParticle::XSParticle </td>
136          <td class="md" valign="top">(&nbsp;</td>
137          <td class="md" nowrap valign="top"><a class="el" href="classXSParticle.html#s4">TERM_TYPE</a>&nbsp;</td>
138          <td class="mdname" nowrap>&nbsp; <em>termType</em>, </td>
139        </tr>
140        <tr>
141          <td></td>
142          <td></td>
143          <td class="md" nowrap><a class="el" href="classXSModel.html">XSModel</a> *const&nbsp;</td>
144          <td class="mdname" nowrap>&nbsp; <em>xsModel</em>, </td>
145        </tr>
146        <tr>
147          <td></td>
148          <td></td>
149          <td class="md" nowrap><a class="el" href="classXSObject.html">XSObject</a> *const&nbsp;</td>
150          <td class="mdname" nowrap>&nbsp; <em>particleTerm</em>, </td>
151        </tr>
152        <tr>
153          <td></td>
154          <td></td>
155          <td class="md" nowrap>int&nbsp;</td>
156          <td class="mdname" nowrap>&nbsp; <em>minOccurs</em>, </td>
157        </tr>
158        <tr>
159          <td></td>
160          <td></td>
161          <td class="md" nowrap>int&nbsp;</td>
162          <td class="mdname" nowrap>&nbsp; <em>maxOccurs</em>, </td>
163        </tr>
164        <tr>
165          <td></td>
166          <td></td>
167          <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
168          <td class="mdname" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
169        </tr>
170        <tr>
171          <td></td>
172          <td class="md">)&nbsp;</td>
173          <td class="md" colspan="2"></td>
174        </tr>
175
176      </table>
177    </td>
178  </tr>
179</table>
180<table cellspacing=5 cellpadding=0 border=0>
181  <tr>
182    <td>
183      &nbsp;
184    </td>
185    <td>
186
187<p>
188The default constructor.
189<p>
190<dl compact><dt><b>
191Parameters: </b><dd>
192<table border=0 cellspacing=2 cellpadding=0>
193<tr><td valign=top><em>termType</em>&nbsp;</td><td>
194</td></tr>
195<tr><td valign=top><em>xsModel</em>&nbsp;</td><td>
196</td></tr>
197<tr><td valign=top><em>particleTerm</em>&nbsp;</td><td>
198</td></tr>
199<tr><td valign=top><em>minOccurs</em>&nbsp;</td><td>
200</td></tr>
201<tr><td valign=top><em>maxOccurs</em>&nbsp;</td><td>
202</td></tr>
203<tr><td valign=top><em>manager</em>&nbsp;</td><td>
204The configurable memory manager </td></tr>
205</table>
206</dl>    </td>
207  </tr>
208</table>
209<a name="z398_0" doxytag="XSParticle::~XSParticle"></a><p>
210<table width="100%" cellpadding="2" cellspacing="0" border="0">
211  <tr>
212    <td class="md">
213      <table cellpadding="0" cellspacing="0" border="0">
214        <tr>
215          <td class="md" nowrap valign="top"> XSParticle::~XSParticle </td>
216          <td class="md" valign="top">(&nbsp;</td>
217          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
218          <td class="md" valign="top">)&nbsp;</td>
219          <td class="md" nowrap></td>
220        </tr>
221
222      </table>
223    </td>
224  </tr>
225</table>
226<table cellspacing=5 cellpadding=0 border=0>
227  <tr>
228    <td>
229      &nbsp;
230    </td>
231    <td>
232
233<p>
234    </td>
235  </tr>
236</table>
237<hr><h2>Member Function Documentation</h2>
238<a name="z399_4" doxytag="XSParticle::getElementTerm"></a><p>
239<table width="100%" cellpadding="2" cellspacing="0" border="0">
240  <tr>
241    <td class="md">
242      <table cellpadding="0" cellspacing="0" border="0">
243        <tr>
244          <td class="md" nowrap valign="top"> <a class="el" href="classXSElementDeclaration.html">XSElementDeclaration</a>* XSParticle::getElementTerm </td>
245          <td class="md" valign="top">(&nbsp;</td>
246          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
247          <td class="md" valign="top">)&nbsp;</td>
248          <td class="md" nowrap></td>
249        </tr>
250
251      </table>
252    </td>
253  </tr>
254</table>
255<table cellspacing=5 cellpadding=0 border=0>
256  <tr>
257    <td>
258      &nbsp;
259    </td>
260    <td>
261
262<p>
263If this particle has an [element declaration] for its term, this method returns that declaration; otherwise, it returns 0.
264<p>
265<dl compact><dt><b>
266Returns: </b><dd>
267The element declaration that is the [term] of this Particle if and only if <a class="el" href="classXSParticle.html#z399_3">getTermType</a>() == TERM_ELEMENT. </dl>    </td>
268  </tr>
269</table>
270<a name="z399_1" doxytag="XSParticle::getMaxOccurs"></a><p>
271<table width="100%" cellpadding="2" cellspacing="0" border="0">
272  <tr>
273    <td class="md">
274      <table cellpadding="0" cellspacing="0" border="0">
275        <tr>
276          <td class="md" nowrap valign="top"> int XSParticle::getMaxOccurs </td>
277          <td class="md" valign="top">(&nbsp;</td>
278          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
279          <td class="md" valign="top">)&nbsp;</td>
280          <td class="md" nowrap> const</td>
281        </tr>
282
283      </table>
284    </td>
285  </tr>
286</table>
287<table cellspacing=5 cellpadding=0 border=0>
288  <tr>
289    <td>
290      &nbsp;
291    </td>
292    <td>
293
294<p>
295[max occurs] determines the maximum number of terms that can occur.
296<p>
297To  query for value of unbounded use <code>maxOccursUnbounded</code>.     </td>
298  </tr>
299</table>
300<a name="z399_2" doxytag="XSParticle::getMaxOccursUnbounded"></a><p>
301<table width="100%" cellpadding="2" cellspacing="0" border="0">
302  <tr>
303    <td class="md">
304      <table cellpadding="0" cellspacing="0" border="0">
305        <tr>
306          <td class="md" nowrap valign="top"> bool XSParticle::getMaxOccursUnbounded </td>
307          <td class="md" valign="top">(&nbsp;</td>
308          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
309          <td class="md" valign="top">)&nbsp;</td>
310          <td class="md" nowrap> const</td>
311        </tr>
312
313      </table>
314    </td>
315  </tr>
316</table>
317<table cellspacing=5 cellpadding=0 border=0>
318  <tr>
319    <td>
320      &nbsp;
321    </td>
322    <td>
323
324<p>
325[max occurs] whether the maxOccurs value is unbounded.
326<p>
327    </td>
328  </tr>
329</table>
330<a name="z399_0" doxytag="XSParticle::getMinOccurs"></a><p>
331<table width="100%" cellpadding="2" cellspacing="0" border="0">
332  <tr>
333    <td class="md">
334      <table cellpadding="0" cellspacing="0" border="0">
335        <tr>
336          <td class="md" nowrap valign="top"> int XSParticle::getMinOccurs </td>
337          <td class="md" valign="top">(&nbsp;</td>
338          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
339          <td class="md" valign="top">)&nbsp;</td>
340          <td class="md" nowrap> const</td>
341        </tr>
342
343      </table>
344    </td>
345  </tr>
346</table>
347<table cellspacing=5 cellpadding=0 border=0>
348  <tr>
349    <td>
350      &nbsp;
351    </td>
352    <td>
353
354<p>
355[min occurs]: determines the minimum number of terms that can occur.
356<p>
357    </td>
358  </tr>
359</table>
360<a name="z399_5" doxytag="XSParticle::getModelGroupTerm"></a><p>
361<table width="100%" cellpadding="2" cellspacing="0" border="0">
362  <tr>
363    <td class="md">
364      <table cellpadding="0" cellspacing="0" border="0">
365        <tr>
366          <td class="md" nowrap valign="top"> <a class="el" href="classXSModelGroup.html">XSModelGroup</a>* XSParticle::getModelGroupTerm </td>
367          <td class="md" valign="top">(&nbsp;</td>
368          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
369          <td class="md" valign="top">)&nbsp;</td>
370          <td class="md" nowrap></td>
371        </tr>
372
373      </table>
374    </td>
375  </tr>
376</table>
377<table cellspacing=5 cellpadding=0 border=0>
378  <tr>
379    <td>
380      &nbsp;
381    </td>
382    <td>
383
384<p>
385If this particle has a [model group] for its term, this method returns that definition; otherwise, it returns 0.
386<p>
387<dl compact><dt><b>
388Returns: </b><dd>
389The model group that is the [term] of this Particle if and only if <a class="el" href="classXSParticle.html#z399_3">getTermType</a>() == TERM_MODELGROUP. </dl>    </td>
390  </tr>
391</table>
392<a name="z399_3" doxytag="XSParticle::getTermType"></a><p>
393<table width="100%" cellpadding="2" cellspacing="0" border="0">
394  <tr>
395    <td class="md">
396      <table cellpadding="0" cellspacing="0" border="0">
397        <tr>
398          <td class="md" nowrap valign="top"> <a class="el" href="classXSParticle.html#s4">XSParticle::TERM_TYPE</a> XSParticle::getTermType </td>
399          <td class="md" valign="top">(&nbsp;</td>
400          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
401          <td class="md" valign="top">)&nbsp;</td>
402          <td class="md" nowrap> const</td>
403        </tr>
404
405      </table>
406    </td>
407  </tr>
408</table>
409<table cellspacing=5 cellpadding=0 border=0>
410  <tr>
411    <td>
412      &nbsp;
413    </td>
414    <td>
415
416<p>
417Returns the type of the [term]: one of TERM_EMPTY, TERM_ELEMENT, TERM_MODELGROUP, or TERM_WILDCARD.
418<p>
419    </td>
420  </tr>
421</table>
422<a name="z399_6" doxytag="XSParticle::getWildcardTerm"></a><p>
423<table width="100%" cellpadding="2" cellspacing="0" border="0">
424  <tr>
425    <td class="md">
426      <table cellpadding="0" cellspacing="0" border="0">
427        <tr>
428          <td class="md" nowrap valign="top"> <a class="el" href="classXSWildcard.html">XSWildcard</a>* XSParticle::getWildcardTerm </td>
429          <td class="md" valign="top">(&nbsp;</td>
430          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
431          <td class="md" valign="top">)&nbsp;</td>
432          <td class="md" nowrap></td>
433        </tr>
434
435      </table>
436    </td>
437  </tr>
438</table>
439<table cellspacing=5 cellpadding=0 border=0>
440  <tr>
441    <td>
442      &nbsp;
443    </td>
444    <td>
445
446<p>
447If this particle has an [wildcard] for its term, this method returns that declaration; otherwise, it returns 0.
448<p>
449<dl compact><dt><b>
450Returns: </b><dd>
451The wildcard declaration that is the [term] of this Particle if and only if <a class="el" href="classXSParticle.html#z399_3">getTermType</a>() == TERM_WILDCARD. </dl>    </td>
452  </tr>
453</table>
454<hr><h2>Member Data Documentation</h2>
455<a name="n2" doxytag="XSParticle::fMaxOccurs"></a><p>
456<table width="100%" cellpadding="2" cellspacing="0" border="0">
457  <tr>
458    <td class="md">
459      <table cellpadding="0" cellspacing="0" border="0">
460        <tr>
461          <td class="md" nowrap valign="top"> int XSParticle::fMaxOccurs<code> [protected]</code>
462      </table>
463    </td>
464  </tr>
465</table>
466<table cellspacing=5 cellpadding=0 border=0>
467  <tr>
468    <td>
469      &nbsp;
470    </td>
471    <td>
472
473<p>
474    </td>
475  </tr>
476</table>
477<a name="n1" doxytag="XSParticle::fMinOccurs"></a><p>
478<table width="100%" cellpadding="2" cellspacing="0" border="0">
479  <tr>
480    <td class="md">
481      <table cellpadding="0" cellspacing="0" border="0">
482        <tr>
483          <td class="md" nowrap valign="top"> int XSParticle::fMinOccurs<code> [protected]</code>
484      </table>
485    </td>
486  </tr>
487</table>
488<table cellspacing=5 cellpadding=0 border=0>
489  <tr>
490    <td>
491      &nbsp;
492    </td>
493    <td>
494
495<p>
496    </td>
497  </tr>
498</table>
499<a name="n3" doxytag="XSParticle::fTerm"></a><p>
500<table width="100%" cellpadding="2" cellspacing="0" border="0">
501  <tr>
502    <td class="md">
503      <table cellpadding="0" cellspacing="0" border="0">
504        <tr>
505          <td class="md" nowrap valign="top"> <a class="el" href="classXSObject.html">XSObject</a>* XSParticle::fTerm<code> [protected]</code>
506      </table>
507    </td>
508  </tr>
509</table>
510<table cellspacing=5 cellpadding=0 border=0>
511  <tr>
512    <td>
513      &nbsp;
514    </td>
515    <td>
516
517<p>
518    </td>
519  </tr>
520</table>
521<a name="n0" doxytag="XSParticle::fTermType"></a><p>
522<table width="100%" cellpadding="2" cellspacing="0" border="0">
523  <tr>
524    <td class="md">
525      <table cellpadding="0" cellspacing="0" border="0">
526        <tr>
527          <td class="md" nowrap valign="top"> <a class="el" href="classXSParticle.html#s4">TERM_TYPE</a> XSParticle::fTermType<code> [protected]</code>
528      </table>
529    </td>
530  </tr>
531</table>
532<table cellspacing=5 cellpadding=0 border=0>
533  <tr>
534    <td>
535      &nbsp;
536    </td>
537    <td>
538
539<p>
540    </td>
541  </tr>
542</table>
543<hr>The documentation for this class was generated from the following file:<ul>
544<li><a class="el" href="XSParticle_8hpp-source.html">XSParticle.hpp</a></ul>
545    </FONT></TD></TR></TABLE><BR>
546</TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1" alt=""></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
547              Copyright &copy; 1994-2004 The Apache Software Foundation.
548              All Rights Reserved.
549            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.