Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 3edf0460bd0634d0868f9e30d85505ae > files > 613

xerces-c-manual-1.5.2-1mdk.i586.rpm

<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>XMLAttDef 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>
  <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>

  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

  <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>
  <A href="http://xml.apache.org/dist/xerces-c/" onMouseOut="rolloverOff('side-ext-8');" onMouseOver="rolloverOn('side-ext-8');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-8" onLoad="rolloverLoad('side-ext-8','../graphics/ext-8-label-2.jpg','../graphics/ext-8-label-3.jpg');" src="../graphics/ext-8-label-3.jpg" vspace="0" width="120"></A><BR>
  <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>
  <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>

  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

  <IMG alt="API Docs" border="0" height="12" hspace="0" src="../graphics/api-label-1.jpg" vspace="0" width="120"><BR>

  <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>

  <A href="../schema.html" onMouseOut="rolloverOff('side-schema');" onMouseOver="rolloverOn('side-schema');"><IMG alt="Schema" border="0" height="12" hspace="0" name="side-schema" onLoad="rolloverLoad('side-schema','../graphics/schema-label-2.jpg','../graphics/schema-label-3.jpg');" src="../graphics/schema-label-3.jpg" vspace="0" width="120"></A><BR>
  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

  <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>

  <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>
  <A href="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration" 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>

  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

  <A href="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Releases" 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>
  <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>
  <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>

  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>
  <A href="../y2k.html" onMouseOut="rolloverOff('side-y2k');" onMouseOver="rolloverOn('side-y2k');"><IMG alt="Y2K Compliance" border="0" height="12" hspace="0" name="side-y2k" onLoad="rolloverLoad('side-y2k','../graphics/y2k-label-2.jpg','../graphics/y2k-label-3.jpg');" src="../graphics/y2k-label-3.jpg" vspace="0" width="120"></A><BR>
  
  <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>

  <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR>

  <A href="http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/" onMouseOut="rolloverOff('side-ext-50');" onMouseOver="rolloverOn('side-ext-50');"><IMG alt="CVS Repository" border="0" height="12" hspace="0" name="side-ext-50" onLoad="rolloverLoad('side-ext-50','../graphics/ext-50-label-2.jpg','../graphics/ext-50-label-3.jpg');" src="../graphics/ext-50-label-3.jpg" vspace="0" width="120"></A><BR>
  <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-52');" onMouseOver="rolloverOn('side-ext-52');"><IMG alt="Mail Archive" border="0" height="12" hspace="0" name="side-ext-52" onLoad="rolloverLoad('side-ext-52','../graphics/ext-52-label-2.jpg','../graphics/ext-52-label-3.jpg');" src="../graphics/ext-52-label-3.jpg" vspace="0" width="120"></A><BR>

<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>
    <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">

	    <P>
<!-- Generated by Doxygen 1.2.4 on Fri Oct 26 10:36:03 2001 -->
<center>
<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>
<hr><h1>XMLAttDef  Class Reference</h1>Represents the core information of an atribute definition. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="XMLAttDef_hpp-source.html">XMLAttDef.hpp</a>&gt;</code>
<p>
<a href="class_XMLAttDef-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#s33">AttTypes</a> { <br>
&nbsp;&nbsp;<a class="el" href="class_XMLAttDef.html#s33s0">CData</a> = 0, 
<a class="el" href="class_XMLAttDef.html#s33s1">ID</a> = 1, 
<a class="el" href="class_XMLAttDef.html#s33s2">IDRef</a> = 2, 
<a class="el" href="class_XMLAttDef.html#s33s3">IDRefs</a> = 3, 
<br>
&nbsp;&nbsp;<a class="el" href="class_XMLAttDef.html#s33s4">Entity</a> = 4, 
<a class="el" href="class_XMLAttDef.html#s33s5">Entities</a> = 5, 
<a class="el" href="class_XMLAttDef.html#s33s6">NmToken</a> = 6, 
<a class="el" href="class_XMLAttDef.html#s33s7">NmTokens</a> = 7, 
<br>
&nbsp;&nbsp;<a class="el" href="class_XMLAttDef.html#s33s8">Notation</a> = 8, 
<a class="el" href="class_XMLAttDef.html#s33s9">Enumeration</a> = 9, 
<a class="el" href="class_XMLAttDef.html#s33s10">Simple</a> = 10, 
<a class="el" href="class_XMLAttDef.html#s33s11">Any_Any</a> = 11, 
<br>
&nbsp;&nbsp;<a class="el" href="class_XMLAttDef.html#s33s12">Any_Other</a> = 12, 
<a class="el" href="class_XMLAttDef.html#s33s13">Any_List</a> = 13, 
<a class="el" href="class_XMLAttDef.html#s33s14">AttTypes_Count</a>, 
<a class="el" href="class_XMLAttDef.html#s33s15">AttTypes_Min</a> = 0, 
<br>
&nbsp;&nbsp;<a class="el" href="class_XMLAttDef.html#s33s16">AttTypes_Max</a> = 13, 
<a class="el" href="class_XMLAttDef.html#s33s17">AttTypes_Unknown</a> = -1
<br>
 }</td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#s34">DefAttTypes</a> { <br>
&nbsp;&nbsp;<a class="el" href="class_XMLAttDef.html#s34s18">Default</a> = 0, 
<a class="el" href="class_XMLAttDef.html#s34s19">Required</a> = 1, 
<a class="el" href="class_XMLAttDef.html#s34s20">Implied</a> = 2, 
<a class="el" href="class_XMLAttDef.html#s34s21">Prohibited</a> = 3, 
<br>
&nbsp;&nbsp;<a class="el" href="class_XMLAttDef.html#s34s22">Fixed</a> = 4, 
<a class="el" href="class_XMLAttDef.html#s34s23">Required_And_Fixed</a> = 5, 
<a class="el" href="class_XMLAttDef.html#s34s24">ProcessContents_Strict</a> = 6, 
<a class="el" href="class_XMLAttDef.html#s34s25">ProcessContents_Lax</a> = 7, 
<br>
&nbsp;&nbsp;<a class="el" href="class_XMLAttDef.html#s34s26">ProcessContents_Skip</a> = 8, 
<a class="el" href="class_XMLAttDef.html#s34s27">DefAttTypes_Count</a>, 
<a class="el" href="class_XMLAttDef.html#s34s28">DefAttTypes_Min</a> = 0, 
<a class="el" href="class_XMLAttDef.html#s34s29">DefAttTypes_Max</a> = 8, 
<br>
&nbsp;&nbsp;<a class="el" href="class_XMLAttDef.html#s34s30">DefAttTypes_Unknown</a> = -1
<br>
 }</td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#s35">CreateReasons</a> { <a class="el" href="class_XMLAttDef.html#s35s31">NoReason</a>, 
<a class="el" href="class_XMLAttDef.html#s35s32">JustFaultIn</a>
 }</td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a0">~XMLAttDef</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em></font><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Virtual interface</div></td></tr>
<tr><td nowrap align=right valign=top>virtual const XMLCh*&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a1">getFullName</a> ()const=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get the full name of this attribute type.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="class_XMLAttDef.html#s34">DefAttTypes</a>&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a2">getDefaultType</a> ()const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get the default type of this attribute type.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>const XMLCh*&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a3">getEnumeration</a> ()const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get the enumeration value (if any) of this attribute type.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>unsigned int&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a4">getId</a> ()const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get the pool id of this attribute type.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a5">getProvided</a> ()const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Query whether the attribute was explicitly provided.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="class_XMLAttDef.html#s33">AttTypes</a>&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a6">getType</a> ()const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get the type of this attribute.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>const XMLCh*&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a7">getValue</a> ()const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get the default/fixed value of this attribute (if any.).</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="class_XMLAttDef.html#s35">CreateReasons</a>&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a8">getCreateReason</a> ()const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get the create reason for this attribute.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a9">isExternal</a> ()const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Indicate whether this attribute has been declared externally.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a10">setDefaultType</a> (const <a class="el" href="class_XMLAttDef.html#s34">XMLAttDef::DefAttTypes</a> newValue)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set the default attribute type.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a11">setId</a> (const unsigned int newId)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set the pool id for this attribute type.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a12">setProvided</a> (const bool newValue)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set or clear the 'provided' flag.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a13">setType</a> (const <a class="el" href="class_XMLAttDef.html#s33">XMLAttDef::AttTypes</a> newValue)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set the type of this attribute type.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a14">setValue</a> (const XMLCh *const newValue)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set the default/fixed value of this attribute type.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a15">setEnumeration</a> (const XMLCh *const newValue)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set the enumerated value of this attribute type.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a16">setCreateReason</a> (const <a class="el" href="class_XMLAttDef.html#s35">CreateReasons</a> newReason)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Update the create reason for this attribute type.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#a17">setExternalAttDeclaration</a> (const bool aValue)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Set the attribute decl to indicate external declaration.</em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Public, static methods</div></td></tr>
<tr><td nowrap align=right valign=top>const XMLCh*&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#d0">getAttTypeString</a> (const <a class="el" href="class_XMLAttDef.html#s33">AttTypes</a> attrType)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get a string representation of the passed attribute type enum.</em> <a href="#d0">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>const XMLCh*&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#d1">getDefAttTypeString</a> (const <a class="el" href="class_XMLAttDef.html#s34">DefAttTypes</a> attrType)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get a string representation of the passed def attribute type enum.</em> <a href="#d1">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>const unsigned int&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#p0">fgInvalidAttrId</a></td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#b0">XMLAttDef</a> (const <a class="el" href="class_XMLAttDef.html#s33">AttTypes</a> type=CData,const <a class="el" href="class_XMLAttDef.html#s34">DefAttTypes</a> defType=Implied)</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_XMLAttDef.html#b1">XMLAttDef</a> (const XMLCh *const attValue,const <a class="el" href="class_XMLAttDef.html#s33">AttTypes</a> type,const <a class="el" href="class_XMLAttDef.html#s34">DefAttTypes</a> defType,const XMLCh *const enumValues=0)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Represents the core information of an atribute definition.
<p>
This class defines the basic characteristics of an attribute, no matter what type of validator is used. If a particular schema associates more information with an attribute it will create a derivative of this class. So this class provides an abstract way to get basic information on attributes from any type of validator.
<p>
This class supports keyed collection semantics on the fully qualified attribute name, by providing a getKey() method to extract the key string. getKey(), in this case, just calls the virtual method <a class="el" href="class_XMLAttDef.html#a1">getFullName</a>() to get the fully qualified name, as defined by the derived class.
<p>
Note that the 'value' of an attribute type definition is the default or of fixed value given to it in its definition. If the attribute is of the enumerated or notation type, it will have an 'enumeration value' as well which is a space separated list of its possible vlaues. 
<p>
<hr><h2>Member Enumeration Documentation</h2>
<a name="s33" doxytag="XMLAttDef::AttTypes"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
enum XMLAttDef::AttTypes
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt>
<b>Enumeration values:</b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><a name="s33s0" doxytag="CData"></a><em>CData</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s1" doxytag="ID"></a><em>ID</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s2" doxytag="IDRef"></a><em>IDRef</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s3" doxytag="IDRefs"></a><em>IDRefs</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s4" doxytag="Entity"></a><em>Entity</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s5" doxytag="Entities"></a><em>Entities</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s6" doxytag="NmToken"></a><em>NmToken</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s7" doxytag="NmTokens"></a><em>NmTokens</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s8" doxytag="Notation"></a><em>Notation</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s9" doxytag="Enumeration"></a><em>Enumeration</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s10" doxytag="Simple"></a><em>Simple</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s11" doxytag="Any_Any"></a><em>Any_Any</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s12" doxytag="Any_Other"></a><em>Any_Other</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s13" doxytag="Any_List"></a><em>Any_List</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s14" doxytag="AttTypes_Count"></a><em>AttTypes_Count</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s15" doxytag="AttTypes_Min"></a><em>AttTypes_Min</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s16" doxytag="AttTypes_Max"></a><em>AttTypes_Max</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s33s17" doxytag="AttTypes_Unknown"></a><em>AttTypes_Unknown</em>
&nbsp;</td><td>
</td></tr>
</table>
</dl>
    </td>
  </tr>
</table>
<a name="s35" doxytag="XMLAttDef::CreateReasons"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
enum XMLAttDef::CreateReasons
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt>
<b>Enumeration values:</b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><a name="s35s31" doxytag="NoReason"></a><em>NoReason</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s35s32" doxytag="JustFaultIn"></a><em>JustFaultIn</em>
&nbsp;</td><td>
</td></tr>
</table>
</dl>
    </td>
  </tr>
</table>
<a name="s34" doxytag="XMLAttDef::DefAttTypes"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
enum XMLAttDef::DefAttTypes
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt>
<b>Enumeration values:</b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><a name="s34s18" doxytag="Default"></a><em>Default</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s34s19" doxytag="Required"></a><em>Required</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s34s20" doxytag="Implied"></a><em>Implied</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s34s21" doxytag="Prohibited"></a><em>Prohibited</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s34s22" doxytag="Fixed"></a><em>Fixed</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s34s23" doxytag="Required_And_Fixed"></a><em>Required_And_Fixed</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s34s24" doxytag="ProcessContents_Strict"></a><em>ProcessContents_Strict</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s34s25" doxytag="ProcessContents_Lax"></a><em>ProcessContents_Lax</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s34s26" doxytag="ProcessContents_Skip"></a><em>ProcessContents_Skip</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s34s27" doxytag="DefAttTypes_Count"></a><em>DefAttTypes_Count</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s34s28" doxytag="DefAttTypes_Min"></a><em>DefAttTypes_Min</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s34s29" doxytag="DefAttTypes_Max"></a><em>DefAttTypes_Max</em>
&nbsp;</td><td>
</td></tr>
<tr><td valign=top><a name="s34s30" doxytag="DefAttTypes_Unknown"></a><em>DefAttTypes_Unknown</em>
&nbsp;</td><td>
</td></tr>
</table>
</dl>
    </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="XMLAttDef::~XMLAttDef"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
XMLAttDef::~XMLAttDef (
          </b></td>
          <td valign="bottom"><b>
)<code> [virtual]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Destructor.
<p>
    </td>
  </tr>
</table>
<a name="b0" doxytag="XMLAttDef::XMLAttDef"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
XMLAttDef::XMLAttDef (
          </b></td>
          <td valign="bottom"><b>
const <a class="el" href="class_XMLAttDef.html#s33">AttTypes</a> <em>type</em> = CData, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
const <a class="el" href="class_XMLAttDef.html#s34">DefAttTypes</a> <em>defType</em> = Implied&nbsp;)<code> [protected]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="b1" doxytag="XMLAttDef::XMLAttDef"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
XMLAttDef::XMLAttDef (
          </b></td>
          <td valign="bottom"><b>
const XMLCh *const <em>attValue</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
const <a class="el" href="class_XMLAttDef.html#s33">AttTypes</a> <em>type</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
const <a class="el" href="class_XMLAttDef.html#s34">DefAttTypes</a> <em>defType</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
const XMLCh *const <em>enumValues</em> = 0&nbsp;)<code> [protected]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="d0" doxytag="XMLAttDef::getAttTypeString"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
const XMLCh * XMLAttDef::getAttTypeString (
          </b></td>
          <td valign="bottom"><b>
const <a class="el" href="class_XMLAttDef.html#s33">AttTypes</a> <em>attrType</em>&nbsp;)<code> [static]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get a string representation of the passed attribute type enum.
<p>
This method allows you to get a textual representation of an attriubte type, mostly for debug or display.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>attrType</em>
&nbsp;</td><td>
 The attribute type value to get the string for.
<p>
</td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
 A const pointer to the static string that holds the text description of the passed type. </dl>    </td>
  </tr>
</table>
<a name="a8" doxytag="XMLAttDef::getCreateReason"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
<a class="el" href="class_XMLAttDef.html#s35">XMLAttDef::CreateReasons</a> XMLAttDef::getCreateReason (
          </b></td>
          <td valign="bottom"><b>
) const
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the create reason for this attribute.
<p>
This method returns an enumeration which indicates why this attribute declaration exists.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
 An enumerated value that indicates the reason why this attribute was added to the attribute table. </dl>    </td>
  </tr>
</table>
<a name="d1" doxytag="XMLAttDef::getDefAttTypeString"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
const XMLCh * XMLAttDef::getDefAttTypeString (
          </b></td>
          <td valign="bottom"><b>
const <a class="el" href="class_XMLAttDef.html#s34">DefAttTypes</a> <em>attrType</em>&nbsp;)<code> [static]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get a string representation of the passed def attribute type enum.
<p>
This method allows you to get a textual representation of an default attributetype, mostly for debug or display.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>attrType</em>
&nbsp;</td><td>
 The default attribute type value to get the string for.
<p>
</td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
 A const pointer to the static string that holds the text description of the passed default type. </dl>    </td>
  </tr>
</table>
<a name="a2" doxytag="XMLAttDef::getDefaultType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
<a class="el" href="class_XMLAttDef.html#s34">XMLAttDef::DefAttTypes</a> XMLAttDef::getDefaultType (
          </b></td>
          <td valign="bottom"><b>
) const
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the default type of this attribute type.
<p>
This method returns the 'default type' of the attribute. Default type in this case refers to the XML concept of a default type for an attribute, i.e. FIXED, IMPLIED, etc...
<p>
<dl compact><dt>
<b>Returns: </b><dd>
 The default type enum for this attribute type. </dl>    </td>
  </tr>
</table>
<a name="a3" doxytag="XMLAttDef::getEnumeration"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
const XMLCh * XMLAttDef::getEnumeration (
          </b></td>
          <td valign="bottom"><b>
) const
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the enumeration value (if any) of this attribute type.
<p>
If the attribute is of an enumeration or notatin type, then this method will return a const reference to a string that contains the space separated values that can the attribute can have.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
 A const pointer to a string that contains the space separated legal values for this attribute. </dl>    </td>
  </tr>
</table>
<a name="a1" doxytag="XMLAttDef::getFullName"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
const XMLCh * XMLAttDef::getFullName (
          </b></td>
          <td valign="bottom"><b>
) const<code> [pure virtual]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the full name of this attribute type.
<p>
The derived class should return a const pointer to the full name of this attribute. This will vary depending on the type of validator in use.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
 A const pointer to the full name of this attribute type. </dl>    </td>
  </tr>
</table>
<a name="a4" doxytag="XMLAttDef::getId"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
unsigned int XMLAttDef::getId (
          </b></td>
          <td valign="bottom"><b>
) const
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the pool id of this attribute type.
<p>
This method will return the id of this attribute in the validator's attribute pool. It was set by the validator when this attribute was created.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
 The pool id of this attribute type. </dl>    </td>
  </tr>
</table>
<a name="a5" doxytag="XMLAttDef::getProvided"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
bool XMLAttDef::getProvided (
          </b></td>
          <td valign="bottom"><b>
) const
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Query whether the attribute was explicitly provided.
<p>
When the scanner scans a start tag, it will ask the element decl object of the element type of that start tag to clear the 'provided' flag on all its attributes. As the scanner sees explicitly provided attributes, its turns on this flag to indicate that this attribute has been provided. In this way, the scanner can catch duplicated attributes and required attributes that aren't provided, and default in fixed/default valued attributes that are not explicitly provided.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
 Returns a boolean value that indicates whether this attribute was explicitly provided. </dl>    </td>
  </tr>
</table>
<a name="a6" doxytag="XMLAttDef::getType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
<a class="el" href="class_XMLAttDef.html#s33">XMLAttDef::AttTypes</a> XMLAttDef::getType (
          </b></td>
          <td valign="bottom"><b>
) const
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the type of this attribute.
<p>
Gets the type of this attribute. This type is represented by an enum that convers the types of attributes allowed by XML, e.g. CDATA, NMTOKEN, NOTATION, etc...
<p>
<dl compact><dt>
<b>Returns: </b><dd>
 The attribute type enumeration value for this type of attribute. </dl>    </td>
  </tr>
</table>
<a name="a7" doxytag="XMLAttDef::getValue"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
const XMLCh * XMLAttDef::getValue (
          </b></td>
          <td valign="bottom"><b>
) const
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the default/fixed value of this attribute (if any.).
<p>
If the attribute defined a default/fixed value, then it is stored and this method will retrieve it. If it has non, then a null pointer is returned.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
 A const pointer to the default/fixed value for this attribute type. </dl>    </td>
  </tr>
</table>
<a name="a9" doxytag="XMLAttDef::isExternal"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
bool XMLAttDef::isExternal (
          </b></td>
          <td valign="bottom"><b>
) const
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Indicate whether this attribute has been declared externally.
<p>
This method returns a boolean that indicates whether this attribute has been declared externally.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
 true if this attribute has been declared externally, else false. </dl>    </td>
  </tr>
</table>
<a name="a16" doxytag="XMLAttDef::setCreateReason"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
void XMLAttDef::setCreateReason (
          </b></td>
          <td valign="bottom"><b>
const <a class="el" href="class_XMLAttDef.html#s35">CreateReasons</a> <em>newReason</em>&nbsp;)
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Update the create reason for this attribute type.
<p>
This method will update the 'create reason' field for this attribute decl object.     </td>
  </tr>
</table>
<a name="a10" doxytag="XMLAttDef::setDefaultType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
void XMLAttDef::setDefaultType (
          </b></td>
          <td valign="bottom"><b>
const <a class="el" href="class_XMLAttDef.html#s34">XMLAttDef::DefAttTypes</a> <em>newValue</em>&nbsp;)
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the default attribute type.
<p>
This method sets the default attribute type for this attribute. This setting controls whether the attribute is required, fixed, implied, etc...<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>The</em>
&nbsp;</td><td>
 new default attribute to set </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<a name="a15" doxytag="XMLAttDef::setEnumeration"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
void XMLAttDef::setEnumeration (
          </b></td>
          <td valign="bottom"><b>
const XMLCh *const <em>newValue</em>&nbsp;)
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the enumerated value of this attribute type.
<p>
This method sets the enumerated/notation value list for this attribute type. It is a space separated set of possible values. These values must meet the constrains of the XML spec for such values of this type of attribute. This should only be set if the <a class="el" href="class_XMLAttDef.html#a13">setType</a>() method is used to set the type to the enumeration or notation types.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>The</em>
&nbsp;</td><td>
 new enumerated/notation value list to set. </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<a name="a17" doxytag="XMLAttDef::setExternalAttDeclaration"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
void XMLAttDef::setExternalAttDeclaration (
          </b></td>
          <td valign="bottom"><b>
const bool <em>aValue</em>&nbsp;)
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the attribute decl to indicate external declaration.
<p>
    </td>
  </tr>
</table>
<a name="a11" doxytag="XMLAttDef::setId"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
void XMLAttDef::setId (
          </b></td>
          <td valign="bottom"><b>
const unsigned int <em>newId</em>&nbsp;)
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the pool id for this attribute type.
<p>
This method sets the pool id of this attribute type. This is usually called by the validator that creates the actual instance (which is of a derived type known only by the validator.)<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>The</em>
&nbsp;</td><td>
 new pool id to set. </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<a name="a12" doxytag="XMLAttDef::setProvided"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
void XMLAttDef::setProvided (
          </b></td>
          <td valign="bottom"><b>
const bool <em>newValue</em>&nbsp;)
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set or clear the 'provided' flag.
<p>
This method will set or clear the 'provided' flag. This is called by the scanner as it is scanning a start tag and marking off the attributes that have been explicitly provided.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>The</em>
&nbsp;</td><td>
 new provided state to set </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<a name="a13" doxytag="XMLAttDef::setType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
void XMLAttDef::setType (
          </b></td>
          <td valign="bottom"><b>
const <a class="el" href="class_XMLAttDef.html#s33">XMLAttDef::AttTypes</a> <em>newValue</em>&nbsp;)
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the type of this attribute type.
<p>
This method will set the type of the attribute. The type of an attribute controls how it is normalized and what kinds of characters it can hold.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>The</em>
&nbsp;</td><td>
 new attribute type to set </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<a name="a14" doxytag="XMLAttDef::setValue"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
void XMLAttDef::setValue (
          </b></td>
          <td valign="bottom"><b>
const XMLCh *const <em>newValue</em>&nbsp;)
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the default/fixed value of this attribute type.
<p>
This method set the fixed/default value for the attribute. This value will be used when instances of this attribute type are faulted in. It <b>must</b> be a valid value for the type set by <a class="el" href="class_XMLAttDef.html#a13">setType</a>(). If the type is enumeration or notation, this must be one of the valid values set in the <a class="el" href="class_XMLAttDef.html#a15">setEnumeration</a>() call.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>The</em>
&nbsp;</td><td>
 new fixed/default value to set. </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="p0" doxytag="XMLAttDef::fgInvalidAttrId"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
const unsigned int XMLAttDef::fgInvalidAttrId<code> [static]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XMLAttDef_hpp-source.html">XMLAttDef.hpp</a></ul>
    </FONT></TD></TR></TABLE><BR>
</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"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I>
              Copyright &copy; 2000 The Apache Software Foundation.
              All Rights Reserved.
            </I></FONT></TD></TR></TABLE></BODY></HTML>