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

Revision 358, 74.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>XMLElementDecl 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>XMLElementDecl  Class Reference</h1>This class defines the core information of an element declaration.
45<a href="#_details">More...</a>
46<p>
47Inheritance diagram for XMLElementDecl:<p><center><img src="classXMLElementDecl__inherit__graph.gif" border="0" usemap="#XMLElementDecl__inherit__map" alt="Inheritance graph"></center>
48<map name="XMLElementDecl__inherit__map">
49<area href="classXMemory.html" shape="rect" coords="29,36,99,17" alt="">
50</map>
51<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XMLElementDecl:<p><center><img src="classXMLElementDecl__coll__graph.gif" border="0" usemap="#XMLElementDecl__coll__map" alt="Collaboration graph"></center>
52<map name="XMLElementDecl__coll__map">
53<area href="classXMemory.html" shape="rect" coords="11,36,80,17" alt="">
54<area href="classQName.html" shape="rect" coords="80,127,136,108" alt="">
55<area href="classMemoryManager.html" shape="rect" coords="167,36,276,17" alt="">
56</map>
57<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXMLElementDecl-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
58<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
59<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#s14">CreateReasons</a> { <br>
60&nbsp;&nbsp;<a class="el" href="classXMLElementDecl.html#s14s0">NoReason</a>,
61<a class="el" href="classXMLElementDecl.html#s14s1">Declared</a>,
62<a class="el" href="classXMLElementDecl.html#s14s2">AttList</a>,
63<a class="el" href="classXMLElementDecl.html#s14s3">InContentModel</a>,
64<br>
65&nbsp;&nbsp;<a class="el" href="classXMLElementDecl.html#s14s4">AsRootElem</a>,
66<a class="el" href="classXMLElementDecl.html#s14s5">JustFaultIn</a>
67<br>
68 }</td></tr>
69<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#s15">LookupOpts</a> { <a class="el" href="classXMLElementDecl.html#s15s6">AddIfNotFound</a>,
70<a class="el" href="classXMLElementDecl.html#s15s7">FailIfNotFound</a>
71 }</td></tr>
72<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#s16">CharDataOpts</a> { <a class="el" href="classXMLElementDecl.html#s16s8">NoCharData</a>,
73<a class="el" href="classXMLElementDecl.html#s16s9">SpacesOk</a>,
74<a class="el" href="classXMLElementDecl.html#s16s10">AllCharData</a>
75 }</td></tr>
76<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#s17">objectType</a> { <a class="el" href="classXMLElementDecl.html#s17s11">Schema</a>,
77<a class="el" href="classXMLElementDecl.html#s17s12">DTD</a>,
78<a class="el" href="classXMLElementDecl.html#s17s13">UnKnown</a>
79 }</td></tr>
80<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
81<tr><td nowrap align=right valign=top>virtual <a class="el" href="classXMLElementDecl.html#s17">XMLElementDecl::objectType</a>&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#a0">getObjectType</a> () const=0</td></tr>
82<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
83<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z262_0">~XMLElementDecl</a> ()</td></tr>
84<tr><td colspan="2"><div class="groupHeader">Virual ElementDecl interface</div></td></tr>
85<tr><td nowrap align=right valign=top>virtual <a class="el" href="classXMLAttDef.html">XMLAttDef</a> *&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z263_0">findAttr</a> (const XMLCh *const qName, const unsigned int uriId, const XMLCh *const baseName, const XMLCh *const prefix, const <a class="el" href="classXMLElementDecl.html#s15">LookupOpts</a> options, bool &amp;wasAdded) const=0</td></tr>
86<tr><td>&nbsp;</td><td><font size=-1><em>Find an attribute by name or optionally fault it in.</em> <a href="#z263_0">More...</a><em></em></font><br><br></td></tr>
87<tr><td nowrap align=right valign=top>virtual <a class="el" href="classXMLAttDefList.html">XMLAttDefList</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z263_1">getAttDefList</a> () const=0</td></tr>
88<tr><td>&nbsp;</td><td><font size=-1><em>Get a list of attributes defined for this element.</em> <a href="#z263_1">More...</a><em></em></font><br><br></td></tr>
89<tr><td nowrap align=right valign=top>virtual <a class="el" href="classXMLElementDecl.html#s16">CharDataOpts</a>&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z263_2">getCharDataOpts</a> () const=0</td></tr>
90<tr><td>&nbsp;</td><td><font size=-1><em>The character data options for this element type.</em> <a href="#z263_2">More...</a><em></em></font><br><br></td></tr>
91<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z263_3">hasAttDefs</a> () const=0</td></tr>
92<tr><td>&nbsp;</td><td><font size=-1><em>Indicate whether this element type defined any attributes.</em> <a href="#z263_3">More...</a><em></em></font><br><br></td></tr>
93<tr><td nowrap align=right valign=top>virtual bool&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z263_4">resetDefs</a> ()=0</td></tr>
94<tr><td>&nbsp;</td><td><font size=-1><em>Reset the flags on the attribute definitions.</em> <a href="#z263_4">More...</a><em></em></font><br><br></td></tr>
95<tr><td nowrap align=right valign=top>virtual const <a class="el" href="XMLElementDecl_8hpp.html#a1">ContentSpecNode</a> *&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z263_5">getContentSpec</a> () const=0</td></tr>
96<tr><td>&nbsp;</td><td><font size=-1><em>Get a pointer to the content spec node.</em> <a href="#z263_5">More...</a><em></em></font><br><br></td></tr>
97<tr><td nowrap align=right valign=top>virtual <a class="el" href="XMLElementDecl_8hpp.html#a1">ContentSpecNode</a> *&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z263_6">getContentSpec</a> ()=0</td></tr>
98<tr><td>&nbsp;</td><td><font size=-1><em>Get a pointer to the content spec node.</em> <a href="#z263_6">More...</a><em></em></font><br><br></td></tr>
99<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z263_7">setContentSpec</a> (<a class="el" href="XMLElementDecl_8hpp.html#a1">ContentSpecNode</a> *toAdopt)=0</td></tr>
100<tr><td>&nbsp;</td><td><font size=-1><em>Set the content spec node object for this element type.</em> <a href="#z263_7">More...</a><em></em></font><br><br></td></tr>
101<tr><td nowrap align=right valign=top>virtual <a class="el" href="classXMLContentModel.html">XMLContentModel</a> *&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z263_8">getContentModel</a> ()=0</td></tr>
102<tr><td>&nbsp;</td><td><font size=-1><em>Get a pointer to the abstract content model.</em> <a href="#z263_8">More...</a><em></em></font><br><br></td></tr>
103<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z263_9">setContentModel</a> (<a class="el" href="classXMLContentModel.html">XMLContentModel</a> *const newModelToAdopt)=0</td></tr>
104<tr><td>&nbsp;</td><td><font size=-1><em>Set the content model object for this element type.</em> <a href="#z263_9">More...</a><em></em></font><br><br></td></tr>
105<tr><td nowrap align=right valign=top>virtual const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z263_10">getFormattedContentModel</a> () const=0</td></tr>
106<tr><td>&nbsp;</td><td><font size=-1><em>Geta formatted string of the content model.</em> <a href="#z263_10">More...</a><em></em></font><br><br></td></tr>
107<tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
108<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z264_0">getBaseName</a> () const</td></tr>
109<tr><td>&nbsp;</td><td><font size=-1><em>Get the base name of this element type.</em> <a href="#z264_0">More...</a><em></em></font><br><br></td></tr>
110<tr><td nowrap align=right valign=top>XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z264_1">getBaseName</a> ()</td></tr>
111<tr><td nowrap align=right valign=top>unsigned int&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z264_2">getURI</a> () const</td></tr>
112<tr><td>&nbsp;</td><td><font size=-1><em>Get the URI id of this element type.</em> <a href="#z264_2">More...</a><em></em></font><br><br></td></tr>
113<tr><td nowrap align=right valign=top>const <a class="el" href="classQName.html">QName</a> *&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z264_3">getElementName</a> () const</td></tr>
114<tr><td>&nbsp;</td><td><font size=-1><em>Get the <a class="el" href="classQName.html">QName</a> of this element type.</em> <a href="#z264_3">More...</a><em></em></font><br><br></td></tr>
115<tr><td nowrap align=right valign=top><a class="el" href="classQName.html">QName</a> *&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z264_4">getElementName</a> ()</td></tr>
116<tr><td nowrap align=right valign=top>const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z264_5">getFullName</a> () const</td></tr>
117<tr><td>&nbsp;</td><td><font size=-1><em>Get the full name of this element type.</em> <a href="#z264_5">More...</a><em></em></font><br><br></td></tr>
118<tr><td nowrap align=right valign=top><a class="el" href="classXMLElementDecl.html#s14">CreateReasons</a>&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z264_6">getCreateReason</a> () const</td></tr>
119<tr><td>&nbsp;</td><td><font size=-1><em>Get the create reason for this element type.</em> <a href="#z264_6">More...</a><em></em></font><br><br></td></tr>
120<tr><td nowrap align=right valign=top>unsigned int&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z264_7">getId</a> () const</td></tr>
121<tr><td>&nbsp;</td><td><font size=-1><em>Get the element decl pool id for this element type.</em> <a href="#z264_7">More...</a><em></em></font><br><br></td></tr>
122<tr><td nowrap align=right valign=top>virtual const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z264_8">getDOMTypeInfoUri</a> () const=0</td></tr>
123<tr><td nowrap align=right valign=top>virtual const XMLCh *&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z264_9">getDOMTypeInfoName</a> () const=0</td></tr>
124<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z264_10">isDeclared</a> () const</td></tr>
125<tr><td>&nbsp;</td><td><font size=-1><em>Indicate whether this element type has been declared yet.</em> <a href="#z264_10">More...</a><em></em></font><br><br></td></tr>
126<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z264_11">isExternal</a> () const</td></tr>
127<tr><td>&nbsp;</td><td><font size=-1><em>Indicate whether this element type has been declared externally.</em> <a href="#z264_11">More...</a><em></em></font><br><br></td></tr>
128<tr><td nowrap align=right valign=top><a class="el" href="classMemoryManager.html">MemoryManager</a> *&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z264_12">getMemoryManager</a> () const</td></tr>
129<tr><td>&nbsp;</td><td><font size=-1><em>Get the memory manager.</em> <a href="#z264_12">More...</a><em></em></font><br><br></td></tr>
130<tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
131<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z265_0">setElementName</a> (const XMLCh *const prefix, const XMLCh *const localPart, const int uriId)</td></tr>
132<tr><td>&nbsp;</td><td><font size=-1><em>Set the element name object for this element type.</em> <a href="#z265_0">More...</a><em></em></font><br><br></td></tr>
133<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z265_1">setElementName</a> (const XMLCh *const rawName, const int uriId)</td></tr>
134<tr><td>&nbsp;</td><td><font size=-1><em>Set the element name object for this element type.</em> <a href="#z265_1">More...</a><em></em></font><br><br></td></tr>
135<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z265_2">setElementName</a> (const <a class="el" href="classQName.html">QName</a> *const elementName)</td></tr>
136<tr><td>&nbsp;</td><td><font size=-1><em>Set the element name object for this element type.</em> <a href="#z265_2">More...</a><em></em></font><br><br></td></tr>
137<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z265_3">setCreateReason</a> (const <a class="el" href="classXMLElementDecl.html#s14">CreateReasons</a> newReason)</td></tr>
138<tr><td>&nbsp;</td><td><font size=-1><em>Update the create reason for this element type.</em> <a href="#z265_3">More...</a><em></em></font><br><br></td></tr>
139<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z265_4">setId</a> (const unsigned int newId)</td></tr>
140<tr><td>&nbsp;</td><td><font size=-1><em>Set the element decl pool id for this element type.</em> <a href="#z265_4">More...</a><em></em></font><br><br></td></tr>
141<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#z265_5">setExternalElemDeclaration</a> (const bool aValue)</td></tr>
142<tr><td>&nbsp;</td><td><font size=-1><em>Set the element decl to indicate external declaration.</em> <a href="#z265_5">More...</a><em></em></font><br><br></td></tr>
143<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
144<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#d0">storeElementDecl</a> (XSerializeEngine &amp;serEng, XMLElementDecl *const element)</td></tr>
145<tr><td nowrap align=right valign=top>XMLElementDecl *&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#d1">loadElementDecl</a> (XSerializeEngine &amp;serEng)</td></tr>
146<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
147<tr><td nowrap align=right valign=top>const unsigned int&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#p0">fgInvalidElemId</a></td></tr>
148<tr><td nowrap align=right valign=top>const unsigned int&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#p1">fgPCDataElemId</a></td></tr>
149<tr><td nowrap align=right valign=top>const XMLCh&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#p2">fgPCDataElemName</a> []</td></tr>
150<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
151<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classXMLElementDecl.html#b0">XMLElementDecl</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
152</table>
153<hr><a name="_details"></a><h2>Detailed Description</h2>
154This class defines the core information of an element declaration.
155<p>
156Each validator (DTD, Schema, etc...) will have its own information that it associations with the declaration of an element, but they must all share at least this core information, i.e. they must all derive from this class. The set of info enforced at this level is driven by the needs of XML 1.0 spec validation and well formedness checks.
157<p>
158This class defines some special element id values for invalid elements and PCDATA elements, as well as a string for the special PCDATA element name. All validators must honor these special values in order to allow content models to work generically (i.e. to let code know when its dealing with invalid or PCDATA element ids without having to know what type of validator its messing with.)
159<p>
160<hr><h2>Member Enumeration Documentation</h2>
161<a name="s16" doxytag="XMLElementDecl::CharDataOpts"></a><p>
162<table width="100%" cellpadding="2" cellspacing="0" border="0">
163  <tr>
164    <td class="md">
165      <table cellpadding="0" cellspacing="0" border="0">
166        <tr>
167          <td class="md" nowrap valign="top"> enum XMLElementDecl::CharDataOpts
168      </table>
169    </td>
170  </tr>
171</table>
172<table cellspacing=5 cellpadding=0 border=0>
173  <tr>
174    <td>
175      &nbsp;
176    </td>
177    <td>
178
179<p>
180<dl compact><dt><b>
181Enumeration values:</b><dd>
182<table border=0 cellspacing=2 cellpadding=0>
183<tr><td valign=top><em><a name="s16s8" doxytag="NoCharData"></a><em>NoCharData</em></em>&nbsp;</td><td>
184</td></tr>
185<tr><td valign=top><em><a name="s16s9" doxytag="SpacesOk"></a><em>SpacesOk</em></em>&nbsp;</td><td>
186</td></tr>
187<tr><td valign=top><em><a name="s16s10" doxytag="AllCharData"></a><em>AllCharData</em></em>&nbsp;</td><td>
188</td></tr>
189</table>
190</dl>
191    </td>
192  </tr>
193</table>
194<a name="s14" doxytag="XMLElementDecl::CreateReasons"></a><p>
195<table width="100%" cellpadding="2" cellspacing="0" border="0">
196  <tr>
197    <td class="md">
198      <table cellpadding="0" cellspacing="0" border="0">
199        <tr>
200          <td class="md" nowrap valign="top"> enum XMLElementDecl::CreateReasons
201      </table>
202    </td>
203  </tr>
204</table>
205<table cellspacing=5 cellpadding=0 border=0>
206  <tr>
207    <td>
208      &nbsp;
209    </td>
210    <td>
211
212<p>
213<dl compact><dt><b>
214Enumeration values:</b><dd>
215<table border=0 cellspacing=2 cellpadding=0>
216<tr><td valign=top><em><a name="s14s0" doxytag="NoReason"></a><em>NoReason</em></em>&nbsp;</td><td>
217</td></tr>
218<tr><td valign=top><em><a name="s14s1" doxytag="Declared"></a><em>Declared</em></em>&nbsp;</td><td>
219</td></tr>
220<tr><td valign=top><em><a name="s14s2" doxytag="AttList"></a><em>AttList</em></em>&nbsp;</td><td>
221</td></tr>
222<tr><td valign=top><em><a name="s14s3" doxytag="InContentModel"></a><em>InContentModel</em></em>&nbsp;</td><td>
223</td></tr>
224<tr><td valign=top><em><a name="s14s4" doxytag="AsRootElem"></a><em>AsRootElem</em></em>&nbsp;</td><td>
225</td></tr>
226<tr><td valign=top><em><a name="s14s5" doxytag="JustFaultIn"></a><em>JustFaultIn</em></em>&nbsp;</td><td>
227</td></tr>
228</table>
229</dl>
230    </td>
231  </tr>
232</table>
233<a name="s15" doxytag="XMLElementDecl::LookupOpts"></a><p>
234<table width="100%" cellpadding="2" cellspacing="0" border="0">
235  <tr>
236    <td class="md">
237      <table cellpadding="0" cellspacing="0" border="0">
238        <tr>
239          <td class="md" nowrap valign="top"> enum XMLElementDecl::LookupOpts
240      </table>
241    </td>
242  </tr>
243</table>
244<table cellspacing=5 cellpadding=0 border=0>
245  <tr>
246    <td>
247      &nbsp;
248    </td>
249    <td>
250
251<p>
252<dl compact><dt><b>
253Deprecated: </b><dd>
254Use of addIfNotFound couldl produce undefined  behaviour in multithreaded environments. </dl><dl compact><dt><b>
255Enumeration values:</b><dd>
256<table border=0 cellspacing=2 cellpadding=0>
257<tr><td valign=top><em><a name="s15s6" doxytag="AddIfNotFound"></a><em>AddIfNotFound</em></em>&nbsp;</td><td>
258</td></tr>
259<tr><td valign=top><em><a name="s15s7" doxytag="FailIfNotFound"></a><em>FailIfNotFound</em></em>&nbsp;</td><td>
260</td></tr>
261</table>
262</dl>
263    </td>
264  </tr>
265</table>
266<a name="s17" doxytag="XMLElementDecl::objectType"></a><p>
267<table width="100%" cellpadding="2" cellspacing="0" border="0">
268  <tr>
269    <td class="md">
270      <table cellpadding="0" cellspacing="0" border="0">
271        <tr>
272          <td class="md" nowrap valign="top"> enum XMLElementDecl::objectType
273      </table>
274    </td>
275  </tr>
276</table>
277<table cellspacing=5 cellpadding=0 border=0>
278  <tr>
279    <td>
280      &nbsp;
281    </td>
282    <td>
283
284<p>
285<dl compact><dt><b>
286Enumeration values:</b><dd>
287<table border=0 cellspacing=2 cellpadding=0>
288<tr><td valign=top><em><a name="s17s11" doxytag="Schema"></a><em>Schema</em></em>&nbsp;</td><td>
289</td></tr>
290<tr><td valign=top><em><a name="s17s12" doxytag="DTD"></a><em>DTD</em></em>&nbsp;</td><td>
291</td></tr>
292<tr><td valign=top><em><a name="s17s13" doxytag="UnKnown"></a><em>UnKnown</em></em>&nbsp;</td><td>
293</td></tr>
294</table>
295</dl>
296    </td>
297  </tr>
298</table>
299<hr><h2>Constructor &amp; Destructor Documentation</h2>
300<a name="z262_0" doxytag="XMLElementDecl::~XMLElementDecl"></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"> virtual XMLElementDecl::~XMLElementDecl </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><code> [virtual]</code></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    </td>
326  </tr>
327</table>
328<a name="b0" doxytag="XMLElementDecl::XMLElementDecl"></a><p>
329<table width="100%" cellpadding="2" cellspacing="0" border="0">
330  <tr>
331    <td class="md">
332      <table cellpadding="0" cellspacing="0" border="0">
333        <tr>
334          <td class="md" nowrap valign="top"> XMLElementDecl::XMLElementDecl </td>
335          <td class="md" valign="top">(&nbsp;</td>
336          <td class="md" nowrap valign="top"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const&nbsp;</td>
337          <td class="mdname1" valign="top" nowrap>&nbsp; <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>          </td>
338          <td class="md" valign="top">)&nbsp;</td>
339          <td class="md" nowrap><code> [protected]</code></td>
340        </tr>
341
342      </table>
343    </td>
344  </tr>
345</table>
346<table cellspacing=5 cellpadding=0 border=0>
347  <tr>
348    <td>
349      &nbsp;
350    </td>
351    <td>
352
353<p>
354    </td>
355  </tr>
356</table>
357<hr><h2>Member Function Documentation</h2>
358<a name="z263_0" doxytag="XMLElementDecl::findAttr"></a><p>
359<table width="100%" cellpadding="2" cellspacing="0" border="0">
360  <tr>
361    <td class="md">
362      <table cellpadding="0" cellspacing="0" border="0">
363        <tr>
364          <td class="md" nowrap valign="top"> virtual <a class="el" href="classXMLAttDef.html">XMLAttDef</a>* XMLElementDecl::findAttr </td>
365          <td class="md" valign="top">(&nbsp;</td>
366          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
367          <td class="mdname" nowrap>&nbsp; <em>qName</em>, </td>
368        </tr>
369        <tr>
370          <td></td>
371          <td></td>
372          <td class="md" nowrap>const unsigned int&nbsp;</td>
373          <td class="mdname" nowrap>&nbsp; <em>uriId</em>, </td>
374        </tr>
375        <tr>
376          <td></td>
377          <td></td>
378          <td class="md" nowrap>const XMLCh *const&nbsp;</td>
379          <td class="mdname" nowrap>&nbsp; <em>baseName</em>, </td>
380        </tr>
381        <tr>
382          <td></td>
383          <td></td>
384          <td class="md" nowrap>const XMLCh *const&nbsp;</td>
385          <td class="mdname" nowrap>&nbsp; <em>prefix</em>, </td>
386        </tr>
387        <tr>
388          <td></td>
389          <td></td>
390          <td class="md" nowrap>const <a class="el" href="classXMLElementDecl.html#s15">LookupOpts</a>&nbsp;</td>
391          <td class="mdname" nowrap>&nbsp; <em>options</em>, </td>
392        </tr>
393        <tr>
394          <td></td>
395          <td></td>
396          <td class="md" nowrap>bool &amp;&nbsp;</td>
397          <td class="mdname" nowrap>&nbsp; <em>wasAdded</em></td>
398        </tr>
399        <tr>
400          <td></td>
401          <td class="md">)&nbsp;</td>
402          <td class="md" colspan="2"> const<code> [pure virtual]</code></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>
417Find an attribute by name or optionally fault it in.
418<p>
419The derived class should look up the passed attribute in the list of of attributes for this element. If namespaces are enabled, then it should use the uriId/baseName pair, else it should use the qName. The options allow the caller to indicate whether the attribute should be defaulted in if not found. If it is defaulted in, then wasAdded should be set, else it should be cleared. If its not found and the caller does not want defaulting, then return a null pointer. Note that, in a multithreaded environment, it is dangerous for a  caller to invoke this method with options set to AddIfNotFound.<dl compact><dt><b>
420Parameters: </b><dd>
421<table border=0 cellspacing=2 cellpadding=0>
422<tr><td valign=top><em>qName</em>&nbsp;</td><td>
423This is the qName of the attribute, i.e. the actual lexical name found.</td></tr>
424<tr><td valign=top><em>uriId</em>&nbsp;</td><td>
425This is the id of the URI of the namespace to which this attribute mapped. Only valid if namespaces are enabled.</td></tr>
426<tr><td valign=top><em>baseName</em>&nbsp;</td><td>
427This is the base part of the name, i.e. after any prefix.</td></tr>
428<tr><td valign=top><em>prefix</em>&nbsp;</td><td>
429The prefix, if any, of this attribute's name. If this is empty, then uriID is meaningless as well.</td></tr>
430<tr><td valign=top><em>options</em>&nbsp;</td><td>
431Indicates the lookup options.</td></tr>
432<tr><td valign=top><em>wasAdded</em>&nbsp;</td><td>
433Should be set if the attribute is faulted in, else cleared. </td></tr>
434</table>
435</dl>    </td>
436  </tr>
437</table>
438<a name="z263_1" doxytag="XMLElementDecl::getAttDefList"></a><p>
439<table width="100%" cellpadding="2" cellspacing="0" border="0">
440  <tr>
441    <td class="md">
442      <table cellpadding="0" cellspacing="0" border="0">
443        <tr>
444          <td class="md" nowrap valign="top"> virtual <a class="el" href="classXMLAttDefList.html">XMLAttDefList</a>&amp; XMLElementDecl::getAttDefList </td>
445          <td class="md" valign="top">(&nbsp;</td>
446          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
447          <td class="md" valign="top">)&nbsp;</td>
448          <td class="md" nowrap> const<code> [pure virtual]</code></td>
449        </tr>
450
451      </table>
452    </td>
453  </tr>
454</table>
455<table cellspacing=5 cellpadding=0 border=0>
456  <tr>
457    <td>
458      &nbsp;
459    </td>
460    <td>
461
462<p>
463Get a list of attributes defined for this element.
464<p>
465The derived class should return a reference to some member object which implements the <a class="el" href="classXMLAttDefList.html">XMLAttDefList</a> interface. This object gives the scanner the ability to look through the attributes defined for this element.
466<p>
467It is done this way for efficiency, though of course this is not thread safe. The scanner guarantees that it won't ever call this method in any nested way, but the outside world must be careful about when it calls this method, and optimally never would.     </td>
468  </tr>
469</table>
470<a name="z264_1" doxytag="XMLElementDecl::getBaseName"></a><p>
471<table width="100%" cellpadding="2" cellspacing="0" border="0">
472  <tr>
473    <td class="md">
474      <table cellpadding="0" cellspacing="0" border="0">
475        <tr>
476          <td class="md" nowrap valign="top"> XMLCh * XMLElementDecl::getBaseName </td>
477          <td class="md" valign="top">(&nbsp;</td>
478          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
479          <td class="md" valign="top">)&nbsp;</td>
480          <td class="md" nowrap></td>
481        </tr>
482
483      </table>
484    </td>
485  </tr>
486</table>
487<table cellspacing=5 cellpadding=0 border=0>
488  <tr>
489    <td>
490      &nbsp;
491    </td>
492    <td>
493
494<p>
495    </td>
496  </tr>
497</table>
498<a name="z264_0" doxytag="XMLElementDecl::getBaseName"></a><p>
499<table width="100%" cellpadding="2" cellspacing="0" border="0">
500  <tr>
501    <td class="md">
502      <table cellpadding="0" cellspacing="0" border="0">
503        <tr>
504          <td class="md" nowrap valign="top"> const XMLCh * XMLElementDecl::getBaseName </td>
505          <td class="md" valign="top">(&nbsp;</td>
506          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
507          <td class="md" valign="top">)&nbsp;</td>
508          <td class="md" nowrap> const</td>
509        </tr>
510
511      </table>
512    </td>
513  </tr>
514</table>
515<table cellspacing=5 cellpadding=0 border=0>
516  <tr>
517    <td>
518      &nbsp;
519    </td>
520    <td>
521
522<p>
523Get the base name of this element type.
524<p>
525Return the base name part of the element's name. This is the same regardless of whether namespaces are enabled or not.
526<p>
527<dl compact><dt><b>
528Returns: </b><dd>
529A const pointer to the base name of the element decl. </dl>    </td>
530  </tr>
531</table>
532<a name="z263_2" doxytag="XMLElementDecl::getCharDataOpts"></a><p>
533<table width="100%" cellpadding="2" cellspacing="0" border="0">
534  <tr>
535    <td class="md">
536      <table cellpadding="0" cellspacing="0" border="0">
537        <tr>
538          <td class="md" nowrap valign="top"> virtual <a class="el" href="classXMLElementDecl.html#s16">CharDataOpts</a> XMLElementDecl::getCharDataOpts </td>
539          <td class="md" valign="top">(&nbsp;</td>
540          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
541          <td class="md" valign="top">)&nbsp;</td>
542          <td class="md" nowrap> const<code> [pure virtual]</code></td>
543        </tr>
544
545      </table>
546    </td>
547  </tr>
548</table>
549<table cellspacing=5 cellpadding=0 border=0>
550  <tr>
551    <td>
552      &nbsp;
553    </td>
554    <td>
555
556<p>
557The character data options for this element type.
558<p>
559The derived class should return an appropriate character data opts value which correctly represents its tolerance towards whitespace or character data inside of its instances. This allows the scanner to do all of the validation of character data.     </td>
560  </tr>
561</table>
562<a name="z263_8" doxytag="XMLElementDecl::getContentModel"></a><p>
563<table width="100%" cellpadding="2" cellspacing="0" border="0">
564  <tr>
565    <td class="md">
566      <table cellpadding="0" cellspacing="0" border="0">
567        <tr>
568          <td class="md" nowrap valign="top"> virtual <a class="el" href="classXMLContentModel.html">XMLContentModel</a>* XMLElementDecl::getContentModel </td>
569          <td class="md" valign="top">(&nbsp;</td>
570          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
571          <td class="md" valign="top">)&nbsp;</td>
572          <td class="md" nowrap><code> [pure virtual]</code></td>
573        </tr>
574
575      </table>
576    </td>
577  </tr>
578</table>
579<table cellspacing=5 cellpadding=0 border=0>
580  <tr>
581    <td>
582      &nbsp;
583    </td>
584    <td>
585
586<p>
587Get a pointer to the abstract content model.
588<p>
589This method will return a const pointer to the content model object of this element. This class is a simple abstraction that allows an element to define and use multiple, specialized content model types internally but still allow the outside world to do simple stuff with them.
590<p>
591<dl compact><dt><b>
592Returns: </b><dd>
593A pointer to the element's content model, via the basic abstract content model type. </dl>    </td>
594  </tr>
595</table>
596<a name="z263_6" doxytag="XMLElementDecl::getContentSpec"></a><p>
597<table width="100%" cellpadding="2" cellspacing="0" border="0">
598  <tr>
599    <td class="md">
600      <table cellpadding="0" cellspacing="0" border="0">
601        <tr>
602          <td class="md" nowrap valign="top"> virtual <a class="el" href="XMLElementDecl_8hpp.html#a1">ContentSpecNode</a>* XMLElementDecl::getContentSpec </td>
603          <td class="md" valign="top">(&nbsp;</td>
604          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
605          <td class="md" valign="top">)&nbsp;</td>
606          <td class="md" nowrap><code> [pure virtual]</code></td>
607        </tr>
608
609      </table>
610    </td>
611  </tr>
612</table>
613<table cellspacing=5 cellpadding=0 border=0>
614  <tr>
615    <td>
616      &nbsp;
617    </td>
618    <td>
619
620<p>
621Get a pointer to the content spec node.
622<p>
623This method is identical to the previous one, except that it is non const.     </td>
624  </tr>
625</table>
626<a name="z263_5" doxytag="XMLElementDecl::getContentSpec"></a><p>
627<table width="100%" cellpadding="2" cellspacing="0" border="0">
628  <tr>
629    <td class="md">
630      <table cellpadding="0" cellspacing="0" border="0">
631        <tr>
632          <td class="md" nowrap valign="top"> virtual const <a class="el" href="XMLElementDecl_8hpp.html#a1">ContentSpecNode</a>* XMLElementDecl::getContentSpec </td>
633          <td class="md" valign="top">(&nbsp;</td>
634          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
635          <td class="md" valign="top">)&nbsp;</td>
636          <td class="md" nowrap> const<code> [pure virtual]</code></td>
637        </tr>
638
639      </table>
640    </td>
641  </tr>
642</table>
643<table cellspacing=5 cellpadding=0 border=0>
644  <tr>
645    <td>
646      &nbsp;
647    </td>
648    <td>
649
650<p>
651Get a pointer to the content spec node.
652<p>
653This method will return a const pointer to the content spec node object of this element.
654<p>
655<dl compact><dt><b>
656Returns: </b><dd>
657A const pointer to the element's content spec node </dl>    </td>
658  </tr>
659</table>
660<a name="z264_6" doxytag="XMLElementDecl::getCreateReason"></a><p>
661<table width="100%" cellpadding="2" cellspacing="0" border="0">
662  <tr>
663    <td class="md">
664      <table cellpadding="0" cellspacing="0" border="0">
665        <tr>
666          <td class="md" nowrap valign="top"> <a class="el" href="classXMLElementDecl.html#s14">XMLElementDecl::CreateReasons</a> XMLElementDecl::getCreateReason </td>
667          <td class="md" valign="top">(&nbsp;</td>
668          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
669          <td class="md" valign="top">)&nbsp;</td>
670          <td class="md" nowrap> const</td>
671        </tr>
672
673      </table>
674    </td>
675  </tr>
676</table>
677<table cellspacing=5 cellpadding=0 border=0>
678  <tr>
679    <td>
680      &nbsp;
681    </td>
682    <td>
683
684<p>
685Get the create reason for this element type.
686<p>
687This method returns an enumeration which indicates why this element declaration exists. Elements can be used before they are actually declared, so they will often be faulted into the pool and marked as to why they are there.
688<p>
689<dl compact><dt><b>
690Returns: </b><dd>
691An enumerated value that indicates the reason why this element was added to the element decl pool. </dl>    </td>
692  </tr>
693</table>
694<a name="z264_9" doxytag="XMLElementDecl::getDOMTypeInfoName"></a><p>
695<table width="100%" cellpadding="2" cellspacing="0" border="0">
696  <tr>
697    <td class="md">
698      <table cellpadding="0" cellspacing="0" border="0">
699        <tr>
700          <td class="md" nowrap valign="top"> virtual const XMLCh* XMLElementDecl::getDOMTypeInfoName </td>
701          <td class="md" valign="top">(&nbsp;</td>
702          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
703          <td class="md" valign="top">)&nbsp;</td>
704          <td class="md" nowrap> const<code> [pure virtual]</code></td>
705        </tr>
706
707      </table>
708    </td>
709  </tr>
710</table>
711<table cellspacing=5 cellpadding=0 border=0>
712  <tr>
713    <td>
714      &nbsp;
715    </td>
716    <td>
717
718<p>
719<dl compact><dt><b>
720Returns: </b><dd>
721the name part of DOM Level 3 TypeInfo </dl><dl compact><dt><b>
722Deprecated: </b><dd>
723</dl>    </td>
724  </tr>
725</table>
726<a name="z264_8" doxytag="XMLElementDecl::getDOMTypeInfoUri"></a><p>
727<table width="100%" cellpadding="2" cellspacing="0" border="0">
728  <tr>
729    <td class="md">
730      <table cellpadding="0" cellspacing="0" border="0">
731        <tr>
732          <td class="md" nowrap valign="top"> virtual const XMLCh* XMLElementDecl::getDOMTypeInfoUri </td>
733          <td class="md" valign="top">(&nbsp;</td>
734          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
735          <td class="md" valign="top">)&nbsp;</td>
736          <td class="md" nowrap> const<code> [pure virtual]</code></td>
737        </tr>
738
739      </table>
740    </td>
741  </tr>
742</table>
743<table cellspacing=5 cellpadding=0 border=0>
744  <tr>
745    <td>
746      &nbsp;
747    </td>
748    <td>
749
750<p>
751<dl compact><dt><b>
752Returns: </b><dd>
753the uri part of DOM Level 3 TypeInfo </dl><dl compact><dt><b>
754Deprecated: </b><dd>
755</dl>    </td>
756  </tr>
757</table>
758<a name="z264_4" doxytag="XMLElementDecl::getElementName"></a><p>
759<table width="100%" cellpadding="2" cellspacing="0" border="0">
760  <tr>
761    <td class="md">
762      <table cellpadding="0" cellspacing="0" border="0">
763        <tr>
764          <td class="md" nowrap valign="top"> <a class="el" href="classQName.html">QName</a> * XMLElementDecl::getElementName </td>
765          <td class="md" valign="top">(&nbsp;</td>
766          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
767          <td class="md" valign="top">)&nbsp;</td>
768          <td class="md" nowrap></td>
769        </tr>
770
771      </table>
772    </td>
773  </tr>
774</table>
775<table cellspacing=5 cellpadding=0 border=0>
776  <tr>
777    <td>
778      &nbsp;
779    </td>
780    <td>
781
782<p>
783    </td>
784  </tr>
785</table>
786<a name="z264_3" doxytag="XMLElementDecl::getElementName"></a><p>
787<table width="100%" cellpadding="2" cellspacing="0" border="0">
788  <tr>
789    <td class="md">
790      <table cellpadding="0" cellspacing="0" border="0">
791        <tr>
792          <td class="md" nowrap valign="top"> const <a class="el" href="classQName.html">QName</a> * XMLElementDecl::getElementName </td>
793          <td class="md" valign="top">(&nbsp;</td>
794          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
795          <td class="md" valign="top">)&nbsp;</td>
796          <td class="md" nowrap> const</td>
797        </tr>
798
799      </table>
800    </td>
801  </tr>
802</table>
803<table cellspacing=5 cellpadding=0 border=0>
804  <tr>
805    <td>
806      &nbsp;
807    </td>
808    <td>
809
810<p>
811Get the <a class="el" href="classQName.html">QName</a> of this element type.
812<p>
813Return the <a class="el" href="classQName.html">QName</a> part of the element's name. This is the same regardless of whether namespaces are enabled or not.
814<p>
815<dl compact><dt><b>
816Returns: </b><dd>
817A const pointer to the <a class="el" href="classQName.html">QName</a> of the element decl. </dl>    </td>
818  </tr>
819</table>
820<a name="z263_10" doxytag="XMLElementDecl::getFormattedContentModel"></a><p>
821<table width="100%" cellpadding="2" cellspacing="0" border="0">
822  <tr>
823    <td class="md">
824      <table cellpadding="0" cellspacing="0" border="0">
825        <tr>
826          <td class="md" nowrap valign="top"> virtual const XMLCh* XMLElementDecl::getFormattedContentModel </td>
827          <td class="md" valign="top">(&nbsp;</td>
828          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
829          <td class="md" valign="top">)&nbsp;</td>
830          <td class="md" nowrap> const<code> [pure virtual]</code></td>
831        </tr>
832
833      </table>
834    </td>
835  </tr>
836</table>
837<table cellspacing=5 cellpadding=0 border=0>
838  <tr>
839    <td>
840      &nbsp;
841    </td>
842    <td>
843
844<p>
845Geta formatted string of the content model.
846<p>
847This method is a convenience method which will create a formatted representation of the content model of the element. It will not always exactly recreate the original model, since some normalization or or reformatting may occur. But, it will be a technically accurate representation of the original content model.
848<p>
849<dl compact><dt><b>
850Returns: </b><dd>
851A pointer to an internal buffer which contains the formatted content model. The caller does not own this buffer and should copy it if it needs to be kept around. </dl>    </td>
852  </tr>
853</table>
854<a name="z264_5" doxytag="XMLElementDecl::getFullName"></a><p>
855<table width="100%" cellpadding="2" cellspacing="0" border="0">
856  <tr>
857    <td class="md">
858      <table cellpadding="0" cellspacing="0" border="0">
859        <tr>
860          <td class="md" nowrap valign="top"> const XMLCh * XMLElementDecl::getFullName </td>
861          <td class="md" valign="top">(&nbsp;</td>
862          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
863          <td class="md" valign="top">)&nbsp;</td>
864          <td class="md" nowrap> const</td>
865        </tr>
866
867      </table>
868    </td>
869  </tr>
870</table>
871<table cellspacing=5 cellpadding=0 border=0>
872  <tr>
873    <td>
874      &nbsp;
875    </td>
876    <td>
877
878<p>
879Get the full name of this element type.
880<p>
881Return the full name of the element. If namespaces are not enabled, then this is the qName. Else it is the {uri}baseName form. For those validators that always require namespace processing, it will always be in the latter form because namespace processing will always be on.     </td>
882  </tr>
883</table>
884<a name="z264_7" doxytag="XMLElementDecl::getId"></a><p>
885<table width="100%" cellpadding="2" cellspacing="0" border="0">
886  <tr>
887    <td class="md">
888      <table cellpadding="0" cellspacing="0" border="0">
889        <tr>
890          <td class="md" nowrap valign="top"> unsigned int XMLElementDecl::getId </td>
891          <td class="md" valign="top">(&nbsp;</td>
892          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
893          <td class="md" valign="top">)&nbsp;</td>
894          <td class="md" nowrap> const</td>
895        </tr>
896
897      </table>
898    </td>
899  </tr>
900</table>
901<table cellspacing=5 cellpadding=0 border=0>
902  <tr>
903    <td>
904      &nbsp;
905    </td>
906    <td>
907
908<p>
909Get the element decl pool id for this element type.
910<p>
911This method will return the element decl pool id of this element declaration. This uniquely identifies this element type within the parse event that it is declared within. This value is assigned by the grammar whose decl pool this object belongs to.
912<p>
913<dl compact><dt><b>
914Returns: </b><dd>
915The element decl id of this element declaration. </dl>    </td>
916  </tr>
917</table>
918<a name="z264_12" doxytag="XMLElementDecl::getMemoryManager"></a><p>
919<table width="100%" cellpadding="2" cellspacing="0" border="0">
920  <tr>
921    <td class="md">
922      <table cellpadding="0" cellspacing="0" border="0">
923        <tr>
924          <td class="md" nowrap valign="top"> <a class="el" href="classMemoryManager.html">MemoryManager</a> * XMLElementDecl::getMemoryManager </td>
925          <td class="md" valign="top">(&nbsp;</td>
926          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
927          <td class="md" valign="top">)&nbsp;</td>
928          <td class="md" nowrap> const</td>
929        </tr>
930
931      </table>
932    </td>
933  </tr>
934</table>
935<table cellspacing=5 cellpadding=0 border=0>
936  <tr>
937    <td>
938      &nbsp;
939    </td>
940    <td>
941
942<p>
943Get the memory manager.
944<p>
945This method returns the configurable memory manager used by the element declaration for dynamic allocation/deacllocation.
946<p>
947<dl compact><dt><b>
948Returns: </b><dd>
949the memory manager </dl>    </td>
950  </tr>
951</table>
952<a name="a0" doxytag="XMLElementDecl::getObjectType"></a><p>
953<table width="100%" cellpadding="2" cellspacing="0" border="0">
954  <tr>
955    <td class="md">
956      <table cellpadding="0" cellspacing="0" border="0">
957        <tr>
958          <td class="md" nowrap valign="top"> virtual <a class="el" href="classXMLElementDecl.html#s17">XMLElementDecl::objectType</a> XMLElementDecl::getObjectType </td>
959          <td class="md" valign="top">(&nbsp;</td>
960          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
961          <td class="md" valign="top">)&nbsp;</td>
962          <td class="md" nowrap> const<code> [pure virtual]</code></td>
963        </tr>
964
965      </table>
966    </td>
967  </tr>
968</table>
969<table cellspacing=5 cellpadding=0 border=0>
970  <tr>
971    <td>
972      &nbsp;
973    </td>
974    <td>
975
976<p>
977    </td>
978  </tr>
979</table>
980<a name="z264_2" doxytag="XMLElementDecl::getURI"></a><p>
981<table width="100%" cellpadding="2" cellspacing="0" border="0">
982  <tr>
983    <td class="md">
984      <table cellpadding="0" cellspacing="0" border="0">
985        <tr>
986          <td class="md" nowrap valign="top"> unsigned int XMLElementDecl::getURI </td>
987          <td class="md" valign="top">(&nbsp;</td>
988          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
989          <td class="md" valign="top">)&nbsp;</td>
990          <td class="md" nowrap> const</td>
991        </tr>
992
993      </table>
994    </td>
995  </tr>
996</table>
997<table cellspacing=5 cellpadding=0 border=0>
998  <tr>
999    <td>
1000      &nbsp;
1001    </td>
1002    <td>
1003
1004<p>
1005Get the URI id of this element type.
1006<p>
1007Return the URI Id of this element.
1008<p>
1009<dl compact><dt><b>
1010Returns: </b><dd>
1011The URI Id of the element decl, or the emptyNamespaceId if not applicable. </dl>    </td>
1012  </tr>
1013</table>
1014<a name="z263_3" doxytag="XMLElementDecl::hasAttDefs"></a><p>
1015<table width="100%" cellpadding="2" cellspacing="0" border="0">
1016  <tr>
1017    <td class="md">
1018      <table cellpadding="0" cellspacing="0" border="0">
1019        <tr>
1020          <td class="md" nowrap valign="top"> virtual bool XMLElementDecl::hasAttDefs </td>
1021          <td class="md" valign="top">(&nbsp;</td>
1022          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
1023          <td class="md" valign="top">)&nbsp;</td>
1024          <td class="md" nowrap> const<code> [pure virtual]</code></td>
1025        </tr>
1026
1027      </table>
1028    </td>
1029  </tr>
1030</table>
1031<table cellspacing=5 cellpadding=0 border=0>
1032  <tr>
1033    <td>
1034      &nbsp;
1035    </td>
1036    <td>
1037
1038<p>
1039Indicate whether this element type defined any attributes.
1040<p>
1041The derived class should return a boolean that indicates whether this element has any attributes defined for it or not. This is an optimization that allows the scanner to skip some work if no attributes exist.     </td>
1042  </tr>
1043</table>
1044<a name="z264_10" doxytag="XMLElementDecl::isDeclared"></a><p>
1045<table width="100%" cellpadding="2" cellspacing="0" border="0">
1046  <tr>
1047    <td class="md">
1048      <table cellpadding="0" cellspacing="0" border="0">
1049        <tr>
1050          <td class="md" nowrap valign="top"> bool XMLElementDecl::isDeclared </td>
1051          <td class="md" valign="top">(&nbsp;</td>
1052          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
1053          <td class="md" valign="top">)&nbsp;</td>
1054          <td class="md" nowrap> const</td>
1055        </tr>
1056
1057      </table>
1058    </td>
1059  </tr>
1060</table>
1061<table cellspacing=5 cellpadding=0 border=0>
1062  <tr>
1063    <td>
1064      &nbsp;
1065    </td>
1066    <td>
1067
1068<p>
1069Indicate whether this element type has been declared yet.
1070<p>
1071This method returns a boolean that indicates whether this element has been declared yet. There are a number of reasons why an element declaration can be faulted in, but eventually it must be declared or its an error. See the CreateReasons enumeration.
1072<p>
1073<dl compact><dt><b>
1074Returns: </b><dd>
1075true if this element has been declared, else false. </dl>    </td>
1076  </tr>
1077</table>
1078<a name="z264_11" doxytag="XMLElementDecl::isExternal"></a><p>
1079<table width="100%" cellpadding="2" cellspacing="0" border="0">
1080  <tr>
1081    <td class="md">
1082      <table cellpadding="0" cellspacing="0" border="0">
1083        <tr>
1084          <td class="md" nowrap valign="top"> bool XMLElementDecl::isExternal </td>
1085          <td class="md" valign="top">(&nbsp;</td>
1086          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
1087          <td class="md" valign="top">)&nbsp;</td>
1088          <td class="md" nowrap> const</td>
1089        </tr>
1090
1091      </table>
1092    </td>
1093  </tr>
1094</table>
1095<table cellspacing=5 cellpadding=0 border=0>
1096  <tr>
1097    <td>
1098      &nbsp;
1099    </td>
1100    <td>
1101
1102<p>
1103Indicate whether this element type has been declared externally.
1104<p>
1105This method returns a boolean that indicates whether this element has been declared externally.
1106<p>
1107<dl compact><dt><b>
1108Returns: </b><dd>
1109true if this element has been declared externally, else false. </dl>    </td>
1110  </tr>
1111</table>
1112<a name="d1" doxytag="XMLElementDecl::loadElementDecl"></a><p>
1113<table width="100%" cellpadding="2" cellspacing="0" border="0">
1114  <tr>
1115    <td class="md">
1116      <table cellpadding="0" cellspacing="0" border="0">
1117        <tr>
1118          <td class="md" nowrap valign="top"> XMLElementDecl* XMLElementDecl::loadElementDecl </td>
1119          <td class="md" valign="top">(&nbsp;</td>
1120          <td class="md" nowrap valign="top">XSerializeEngine &amp;&nbsp;</td>
1121          <td class="mdname1" valign="top" nowrap>&nbsp; <em>serEng</em>          </td>
1122          <td class="md" valign="top">)&nbsp;</td>
1123          <td class="md" nowrap><code> [static]</code></td>
1124        </tr>
1125
1126      </table>
1127    </td>
1128  </tr>
1129</table>
1130<table cellspacing=5 cellpadding=0 border=0>
1131  <tr>
1132    <td>
1133      &nbsp;
1134    </td>
1135    <td>
1136
1137<p>
1138    </td>
1139  </tr>
1140</table>
1141<a name="z263_4" doxytag="XMLElementDecl::resetDefs"></a><p>
1142<table width="100%" cellpadding="2" cellspacing="0" border="0">
1143  <tr>
1144    <td class="md">
1145      <table cellpadding="0" cellspacing="0" border="0">
1146        <tr>
1147          <td class="md" nowrap valign="top"> virtual bool XMLElementDecl::resetDefs </td>
1148          <td class="md" valign="top">(&nbsp;</td>
1149          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
1150          <td class="md" valign="top">)&nbsp;</td>
1151          <td class="md" nowrap><code> [pure virtual]</code></td>
1152        </tr>
1153
1154      </table>
1155    </td>
1156  </tr>
1157</table>
1158<table cellspacing=5 cellpadding=0 border=0>
1159  <tr>
1160    <td>
1161      &nbsp;
1162    </td>
1163    <td>
1164
1165<p>
1166Reset the flags on the attribute definitions.
1167<p>
1168This method is called by the scanner at the beginning of each scan of a start tag, asking this element decl to reset the 'declared' flag of each of its attribute defs. This allows the scanner to mark each one as declared yet or not.     </td>
1169  </tr>
1170</table>
1171<a name="z263_9" doxytag="XMLElementDecl::setContentModel"></a><p>
1172<table width="100%" cellpadding="2" cellspacing="0" border="0">
1173  <tr>
1174    <td class="md">
1175      <table cellpadding="0" cellspacing="0" border="0">
1176        <tr>
1177          <td class="md" nowrap valign="top"> virtual void XMLElementDecl::setContentModel </td>
1178          <td class="md" valign="top">(&nbsp;</td>
1179          <td class="md" nowrap valign="top"><a class="el" href="classXMLContentModel.html">XMLContentModel</a> *const&nbsp;</td>
1180          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newModelToAdopt</em>          </td>
1181          <td class="md" valign="top">)&nbsp;</td>
1182          <td class="md" nowrap><code> [pure virtual]</code></td>
1183        </tr>
1184
1185      </table>
1186    </td>
1187  </tr>
1188</table>
1189<table cellspacing=5 cellpadding=0 border=0>
1190  <tr>
1191    <td>
1192      &nbsp;
1193    </td>
1194    <td>
1195
1196<p>
1197Set the content model object for this element type.
1198<p>
1199This method will adopt the based content model object. This is called by the actual validator which is parsing its DTD or Schema or whatever a creating an element decl. It will build what it feels is the correct content model type object and store it on the element decl object via this method.<dl compact><dt><b>
1200Parameters: </b><dd>
1201<table border=0 cellspacing=2 cellpadding=0>
1202<tr><td valign=top><em>newModelToAdopt</em>&nbsp;</td><td>
1203This method will adopt the passed content model object. Any previous object is destroyed. </td></tr>
1204</table>
1205</dl>    </td>
1206  </tr>
1207</table>
1208<a name="z263_7" doxytag="XMLElementDecl::setContentSpec"></a><p>
1209<table width="100%" cellpadding="2" cellspacing="0" border="0">
1210  <tr>
1211    <td class="md">
1212      <table cellpadding="0" cellspacing="0" border="0">
1213        <tr>
1214          <td class="md" nowrap valign="top"> virtual void XMLElementDecl::setContentSpec </td>
1215          <td class="md" valign="top">(&nbsp;</td>
1216          <td class="md" nowrap valign="top"><a class="el" href="XMLElementDecl_8hpp.html#a1">ContentSpecNode</a> *&nbsp;</td>
1217          <td class="mdname1" valign="top" nowrap>&nbsp; <em>toAdopt</em>          </td>
1218          <td class="md" valign="top">)&nbsp;</td>
1219          <td class="md" nowrap><code> [pure virtual]</code></td>
1220        </tr>
1221
1222      </table>
1223    </td>
1224  </tr>
1225</table>
1226<table cellspacing=5 cellpadding=0 border=0>
1227  <tr>
1228    <td>
1229      &nbsp;
1230    </td>
1231    <td>
1232
1233<p>
1234Set the content spec node object for this element type.
1235<p>
1236This method will adopt the based content spec node object. This is called by the actual validator which is parsing its DTD or Schema or whatever and store it on the element decl object via this method.<dl compact><dt><b>
1237Parameters: </b><dd>
1238<table border=0 cellspacing=2 cellpadding=0>
1239<tr><td valign=top><em>toAdopt</em>&nbsp;</td><td>
1240This method will adopt the passed content node spec object. Any previous object is destroyed. </td></tr>
1241</table>
1242</dl>    </td>
1243  </tr>
1244</table>
1245<a name="z265_3" doxytag="XMLElementDecl::setCreateReason"></a><p>
1246<table width="100%" cellpadding="2" cellspacing="0" border="0">
1247  <tr>
1248    <td class="md">
1249      <table cellpadding="0" cellspacing="0" border="0">
1250        <tr>
1251          <td class="md" nowrap valign="top"> void XMLElementDecl::setCreateReason </td>
1252          <td class="md" valign="top">(&nbsp;</td>
1253          <td class="md" nowrap valign="top">const <a class="el" href="classXMLElementDecl.html#s14">CreateReasons</a>&nbsp;</td>
1254          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newReason</em>          </td>
1255          <td class="md" valign="top">)&nbsp;</td>
1256          <td class="md" nowrap></td>
1257        </tr>
1258
1259      </table>
1260    </td>
1261  </tr>
1262</table>
1263<table cellspacing=5 cellpadding=0 border=0>
1264  <tr>
1265    <td>
1266      &nbsp;
1267    </td>
1268    <td>
1269
1270<p>
1271Update the create reason for this element type.
1272<p>
1273This method will update the 'create reason' field for this element decl object. As the validator parses its DTD, Schema, etc... it will encounter various references to an element declaration, which will cause the element declaration to either be declared or to be faulted into the pool in preperation for some future declaration. As it does so,it will update this field to indicate the current satus of the decl object.     </td>
1274  </tr>
1275</table>
1276<a name="z265_2" doxytag="XMLElementDecl::setElementName"></a><p>
1277<table width="100%" cellpadding="2" cellspacing="0" border="0">
1278  <tr>
1279    <td class="md">
1280      <table cellpadding="0" cellspacing="0" border="0">
1281        <tr>
1282          <td class="md" nowrap valign="top"> void XMLElementDecl::setElementName </td>
1283          <td class="md" valign="top">(&nbsp;</td>
1284          <td class="md" nowrap valign="top">const <a class="el" href="classQName.html">QName</a> *const&nbsp;</td>
1285          <td class="mdname1" valign="top" nowrap>&nbsp; <em>elementName</em>          </td>
1286          <td class="md" valign="top">)&nbsp;</td>
1287          <td class="md" nowrap></td>
1288        </tr>
1289
1290      </table>
1291    </td>
1292  </tr>
1293</table>
1294<table cellspacing=5 cellpadding=0 border=0>
1295  <tr>
1296    <td>
1297      &nbsp;
1298    </td>
1299    <td>
1300
1301<p>
1302Set the element name object for this element type.
1303<p>
1304This method will adopt the based content spec node object. This is called by the actual validator which is parsing its DTD or Schema or whatever and store it on the element decl object via this method.<dl compact><dt><b>
1305Parameters: </b><dd>
1306<table border=0 cellspacing=2 cellpadding=0>
1307<tr><td valign=top><em>elementName</em>&nbsp;</td><td>
1308<a class="el" href="classQName.html">QName</a> of the element </td></tr>
1309</table>
1310</dl>    </td>
1311  </tr>
1312</table>
1313<a name="z265_1" doxytag="XMLElementDecl::setElementName"></a><p>
1314<table width="100%" cellpadding="2" cellspacing="0" border="0">
1315  <tr>
1316    <td class="md">
1317      <table cellpadding="0" cellspacing="0" border="0">
1318        <tr>
1319          <td class="md" nowrap valign="top"> void XMLElementDecl::setElementName </td>
1320          <td class="md" valign="top">(&nbsp;</td>
1321          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
1322          <td class="mdname" nowrap>&nbsp; <em>rawName</em>, </td>
1323        </tr>
1324        <tr>
1325          <td></td>
1326          <td></td>
1327          <td class="md" nowrap>const int&nbsp;</td>
1328          <td class="mdname" nowrap>&nbsp; <em>uriId</em></td>
1329        </tr>
1330        <tr>
1331          <td></td>
1332          <td class="md">)&nbsp;</td>
1333          <td class="md" colspan="2"></td>
1334        </tr>
1335
1336      </table>
1337    </td>
1338  </tr>
1339</table>
1340<table cellspacing=5 cellpadding=0 border=0>
1341  <tr>
1342    <td>
1343      &nbsp;
1344    </td>
1345    <td>
1346
1347<p>
1348Set the element name object for this element type.
1349<p>
1350This method will adopt the based content spec node object. This is called by the actual validator which is parsing its DTD or Schema or whatever and store it on the element decl object via this method.<dl compact><dt><b>
1351Parameters: </b><dd>
1352<table border=0 cellspacing=2 cellpadding=0>
1353<tr><td valign=top><em>rawName</em>&nbsp;</td><td>
1354Full Name of the element </td></tr>
1355<tr><td valign=top><em>uriId</em>&nbsp;</td><td>
1356The uriId of the element </td></tr>
1357</table>
1358</dl>    </td>
1359  </tr>
1360</table>
1361<a name="z265_0" doxytag="XMLElementDecl::setElementName"></a><p>
1362<table width="100%" cellpadding="2" cellspacing="0" border="0">
1363  <tr>
1364    <td class="md">
1365      <table cellpadding="0" cellspacing="0" border="0">
1366        <tr>
1367          <td class="md" nowrap valign="top"> void XMLElementDecl::setElementName </td>
1368          <td class="md" valign="top">(&nbsp;</td>
1369          <td class="md" nowrap valign="top">const XMLCh *const&nbsp;</td>
1370          <td class="mdname" nowrap>&nbsp; <em>prefix</em>, </td>
1371        </tr>
1372        <tr>
1373          <td></td>
1374          <td></td>
1375          <td class="md" nowrap>const XMLCh *const&nbsp;</td>
1376          <td class="mdname" nowrap>&nbsp; <em>localPart</em>, </td>
1377        </tr>
1378        <tr>
1379          <td></td>
1380          <td></td>
1381          <td class="md" nowrap>const int&nbsp;</td>
1382          <td class="mdname" nowrap>&nbsp; <em>uriId</em></td>
1383        </tr>
1384        <tr>
1385          <td></td>
1386          <td class="md">)&nbsp;</td>
1387          <td class="md" colspan="2"></td>
1388        </tr>
1389
1390      </table>
1391    </td>
1392  </tr>
1393</table>
1394<table cellspacing=5 cellpadding=0 border=0>
1395  <tr>
1396    <td>
1397      &nbsp;
1398    </td>
1399    <td>
1400
1401<p>
1402Set the element name object for this element type.
1403<p>
1404This method will adopt the based content spec node object. This is called by the actual validator which is parsing its DTD or Schema or whatever and store it on the element decl object via this method.<dl compact><dt><b>
1405Parameters: </b><dd>
1406<table border=0 cellspacing=2 cellpadding=0>
1407<tr><td valign=top><em>prefix</em>&nbsp;</td><td>
1408Prefix of the element </td></tr>
1409<tr><td valign=top><em>localPart</em>&nbsp;</td><td>
1410Base Name of the element </td></tr>
1411<tr><td valign=top><em>uriId</em>&nbsp;</td><td>
1412The uriId of the element </td></tr>
1413</table>
1414</dl>    </td>
1415  </tr>
1416</table>
1417<a name="z265_5" doxytag="XMLElementDecl::setExternalElemDeclaration"></a><p>
1418<table width="100%" cellpadding="2" cellspacing="0" border="0">
1419  <tr>
1420    <td class="md">
1421      <table cellpadding="0" cellspacing="0" border="0">
1422        <tr>
1423          <td class="md" nowrap valign="top"> void XMLElementDecl::setExternalElemDeclaration </td>
1424          <td class="md" valign="top">(&nbsp;</td>
1425          <td class="md" nowrap valign="top">const bool&nbsp;</td>
1426          <td class="mdname1" valign="top" nowrap>&nbsp; <em>aValue</em>          </td>
1427          <td class="md" valign="top">)&nbsp;</td>
1428          <td class="md" nowrap></td>
1429        </tr>
1430
1431      </table>
1432    </td>
1433  </tr>
1434</table>
1435<table cellspacing=5 cellpadding=0 border=0>
1436  <tr>
1437    <td>
1438      &nbsp;
1439    </td>
1440    <td>
1441
1442<p>
1443Set the element decl to indicate external declaration.
1444<p>
1445    </td>
1446  </tr>
1447</table>
1448<a name="z265_4" doxytag="XMLElementDecl::setId"></a><p>
1449<table width="100%" cellpadding="2" cellspacing="0" border="0">
1450  <tr>
1451    <td class="md">
1452      <table cellpadding="0" cellspacing="0" border="0">
1453        <tr>
1454          <td class="md" nowrap valign="top"> void XMLElementDecl::setId </td>
1455          <td class="md" valign="top">(&nbsp;</td>
1456          <td class="md" nowrap valign="top">const unsigned int&nbsp;</td>
1457          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newId</em>          </td>
1458          <td class="md" valign="top">)&nbsp;</td>
1459          <td class="md" nowrap></td>
1460        </tr>
1461
1462      </table>
1463    </td>
1464  </tr>
1465</table>
1466<table cellspacing=5 cellpadding=0 border=0>
1467  <tr>
1468    <td>
1469      &nbsp;
1470    </td>
1471    <td>
1472
1473<p>
1474Set the element decl pool id for this element type.
1475<p>
1476This method will set the pool id of this element decl. This is called by the grammar which created this object, and will provide this decl object with a unique id within the parse event that created it.     </td>
1477  </tr>
1478</table>
1479<a name="d0" doxytag="XMLElementDecl::storeElementDecl"></a><p>
1480<table width="100%" cellpadding="2" cellspacing="0" border="0">
1481  <tr>
1482    <td class="md">
1483      <table cellpadding="0" cellspacing="0" border="0">
1484        <tr>
1485          <td class="md" nowrap valign="top"> void XMLElementDecl::storeElementDecl </td>
1486          <td class="md" valign="top">(&nbsp;</td>
1487          <td class="md" nowrap valign="top">XSerializeEngine &amp;&nbsp;</td>
1488          <td class="mdname" nowrap>&nbsp; <em>serEng</em>, </td>
1489        </tr>
1490        <tr>
1491          <td></td>
1492          <td></td>
1493          <td class="md" nowrap>XMLElementDecl *const&nbsp;</td>
1494          <td class="mdname" nowrap>&nbsp; <em>element</em></td>
1495        </tr>
1496        <tr>
1497          <td></td>
1498          <td class="md">)&nbsp;</td>
1499          <td class="md" colspan="2"><code> [static]</code></td>
1500        </tr>
1501
1502      </table>
1503    </td>
1504  </tr>
1505</table>
1506<table cellspacing=5 cellpadding=0 border=0>
1507  <tr>
1508    <td>
1509      &nbsp;
1510    </td>
1511    <td>
1512
1513<p>
1514    </td>
1515  </tr>
1516</table>
1517<hr><h2>Member Data Documentation</h2>
1518<a name="p0" doxytag="XMLElementDecl::fgInvalidElemId"></a><p>
1519<table width="100%" cellpadding="2" cellspacing="0" border="0">
1520  <tr>
1521    <td class="md">
1522      <table cellpadding="0" cellspacing="0" border="0">
1523        <tr>
1524          <td class="md" nowrap valign="top"> const unsigned int XMLElementDecl::fgInvalidElemId<code> [static]</code>
1525      </table>
1526    </td>
1527  </tr>
1528</table>
1529<table cellspacing=5 cellpadding=0 border=0>
1530  <tr>
1531    <td>
1532      &nbsp;
1533    </td>
1534    <td>
1535
1536<p>
1537    </td>
1538  </tr>
1539</table>
1540<a name="p1" doxytag="XMLElementDecl::fgPCDataElemId"></a><p>
1541<table width="100%" cellpadding="2" cellspacing="0" border="0">
1542  <tr>
1543    <td class="md">
1544      <table cellpadding="0" cellspacing="0" border="0">
1545        <tr>
1546          <td class="md" nowrap valign="top"> const unsigned int XMLElementDecl::fgPCDataElemId<code> [static]</code>
1547      </table>
1548    </td>
1549  </tr>
1550</table>
1551<table cellspacing=5 cellpadding=0 border=0>
1552  <tr>
1553    <td>
1554      &nbsp;
1555    </td>
1556    <td>
1557
1558<p>
1559    </td>
1560  </tr>
1561</table>
1562<a name="p2" doxytag="XMLElementDecl::fgPCDataElemName"></a><p>
1563<table width="100%" cellpadding="2" cellspacing="0" border="0">
1564  <tr>
1565    <td class="md">
1566      <table cellpadding="0" cellspacing="0" border="0">
1567        <tr>
1568          <td class="md" nowrap valign="top"> const XMLCh XMLElementDecl::fgPCDataElemName[]<code> [static]</code>
1569      </table>
1570    </td>
1571  </tr>
1572</table>
1573<table cellspacing=5 cellpadding=0 border=0>
1574  <tr>
1575    <td>
1576      &nbsp;
1577    </td>
1578    <td>
1579
1580<p>
1581    </td>
1582  </tr>
1583</table>
1584<hr>The documentation for this class was generated from the following file:<ul>
1585<li><a class="el" href="XMLElementDecl_8hpp-source.html">XMLElementDecl.hpp</a></ul>
1586    </FONT></TD></TR></TABLE><BR>
1587</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>
1588              Copyright &copy; 1994-2004 The Apache Software Foundation.
1589              All Rights Reserved.
1590            </I></FONT></TD></TR></TABLE></BODY></HTML>
Note: See TracBrowser for help on using the repository browser.