1 | <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>
|
---|
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"> </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> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
---|
44 | <hr><h1>XMLAttDef Class Reference</h1>Represents the core information of an atribute definition.
|
---|
45 | <a href="#_details">More...</a>
|
---|
46 | <p>
|
---|
47 | Inheritance diagram for XMLAttDef:<p><center><img src="classXMLAttDef__inherit__graph.gif" border="0" usemap="#XMLAttDef__inherit__map" alt="Inheritance graph"></center>
|
---|
48 | <map name="XMLAttDef__inherit__map">
|
---|
49 | <area href="classXMemory.html" shape="rect" coords="11,36,80,17" alt="">
|
---|
50 | </map>
|
---|
51 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XMLAttDef:<p><center><img src="classXMLAttDef__coll__graph.gif" border="0" usemap="#XMLAttDef__coll__map" alt="Collaboration graph"></center>
|
---|
52 | <map name="XMLAttDef__coll__map">
|
---|
53 | <area href="classXMemory.html" shape="rect" coords="7,36,76,17" alt="">
|
---|
54 | <area href="classMemoryManager.html" shape="rect" coords="100,36,209,17" alt="">
|
---|
55 | </map>
|
---|
56 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXMLAttDef-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
---|
57 | <tr><td colspan=2><br><h2>Public Types</h2></td></tr>
|
---|
58 | <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classXMLAttDef.html#s33">AttTypes</a> { <br>
|
---|
59 | <a class="el" href="classXMLAttDef.html#s33s0">CData</a> = 0,
|
---|
60 | <a class="el" href="classXMLAttDef.html#s33s1">ID</a> = 1,
|
---|
61 | <a class="el" href="classXMLAttDef.html#s33s2">IDRef</a> = 2,
|
---|
62 | <a class="el" href="classXMLAttDef.html#s33s3">IDRefs</a> = 3,
|
---|
63 | <br>
|
---|
64 | <a class="el" href="classXMLAttDef.html#s33s4">Entity</a> = 4,
|
---|
65 | <a class="el" href="classXMLAttDef.html#s33s5">Entities</a> = 5,
|
---|
66 | <a class="el" href="classXMLAttDef.html#s33s6">NmToken</a> = 6,
|
---|
67 | <a class="el" href="classXMLAttDef.html#s33s7">NmTokens</a> = 7,
|
---|
68 | <br>
|
---|
69 | <a class="el" href="classXMLAttDef.html#s33s8">Notation</a> = 8,
|
---|
70 | <a class="el" href="classXMLAttDef.html#s33s9">Enumeration</a> = 9,
|
---|
71 | <a class="el" href="classXMLAttDef.html#s33s10">Simple</a> = 10,
|
---|
72 | <a class="el" href="classXMLAttDef.html#s33s11">Any_Any</a> = 11,
|
---|
73 | <br>
|
---|
74 | <a class="el" href="classXMLAttDef.html#s33s12">Any_Other</a> = 12,
|
---|
75 | <a class="el" href="classXMLAttDef.html#s33s13">Any_List</a> = 13,
|
---|
76 | <a class="el" href="classXMLAttDef.html#s33s14">AttTypes_Count</a>,
|
---|
77 | <a class="el" href="classXMLAttDef.html#s33s15">AttTypes_Min</a> = 0,
|
---|
78 | <br>
|
---|
79 | <a class="el" href="classXMLAttDef.html#s33s16">AttTypes_Max</a> = 13,
|
---|
80 | <a class="el" href="classXMLAttDef.html#s33s17">AttTypes_Unknown</a> = -1
|
---|
81 | <br>
|
---|
82 | }</td></tr>
|
---|
83 | <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classXMLAttDef.html#s34">DefAttTypes</a> { <br>
|
---|
84 | <a class="el" href="classXMLAttDef.html#s34s18">Default</a> = 0,
|
---|
85 | <a class="el" href="classXMLAttDef.html#s34s19">Fixed</a> = 1,
|
---|
86 | <a class="el" href="classXMLAttDef.html#s34s20">Required</a> = 2,
|
---|
87 | <a class="el" href="classXMLAttDef.html#s34s21">Required_And_Fixed</a> = 3,
|
---|
88 | <br>
|
---|
89 | <a class="el" href="classXMLAttDef.html#s34s22">Implied</a> = 4,
|
---|
90 | <a class="el" href="classXMLAttDef.html#s34s23">ProcessContents_Skip</a> = 5,
|
---|
91 | <a class="el" href="classXMLAttDef.html#s34s24">ProcessContents_Lax</a> = 6,
|
---|
92 | <a class="el" href="classXMLAttDef.html#s34s25">ProcessContents_Strict</a> = 7,
|
---|
93 | <br>
|
---|
94 | <a class="el" href="classXMLAttDef.html#s34s26">Prohibited</a> = 8,
|
---|
95 | <a class="el" href="classXMLAttDef.html#s34s27">DefAttTypes_Count</a>,
|
---|
96 | <a class="el" href="classXMLAttDef.html#s34s28">DefAttTypes_Min</a> = 0,
|
---|
97 | <a class="el" href="classXMLAttDef.html#s34s29">DefAttTypes_Max</a> = 8,
|
---|
98 | <br>
|
---|
99 | <a class="el" href="classXMLAttDef.html#s34s30">DefAttTypes_Unknown</a> = -1
|
---|
100 | <br>
|
---|
101 | }</td></tr>
|
---|
102 | <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classXMLAttDef.html#s35">CreateReasons</a> { <a class="el" href="classXMLAttDef.html#s35s31">NoReason</a>,
|
---|
103 | <a class="el" href="classXMLAttDef.html#s35s32">JustFaultIn</a>
|
---|
104 | }</td></tr>
|
---|
105 | <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
---|
106 | <tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
|
---|
107 | <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z244_0">~XMLAttDef</a> ()</td></tr>
|
---|
108 | <tr><td> </td><td><font size=-1><em>Destructor.</em> <a href="#z244_0">More...</a><em></em></font><br><br></td></tr>
|
---|
109 | <tr><td colspan="2"><div class="groupHeader">Virtual interface</div></td></tr>
|
---|
110 | <tr><td nowrap align=right valign=top>virtual const XMLCh * </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z245_0">getFullName</a> () const=0</td></tr>
|
---|
111 | <tr><td> </td><td><font size=-1><em>Get the full name of this attribute type.</em> <a href="#z245_0">More...</a><em></em></font><br><br></td></tr>
|
---|
112 | <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z245_1">reset</a> ()=0</td></tr>
|
---|
113 | <tr><td> </td><td><font size=-1><em>The derived class should implement any cleaning up required between each use of an instance of this class for validation.</em> <a href="#z245_1">More...</a><em></em></font><br><br></td></tr>
|
---|
114 | <tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
|
---|
115 | <tr><td nowrap align=right valign=top><a class="el" href="classXMLAttDef.html#s34">DefAttTypes</a> </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z246_0">getDefaultType</a> () const</td></tr>
|
---|
116 | <tr><td> </td><td><font size=-1><em>Get the default type of this attribute type.</em> <a href="#z246_0">More...</a><em></em></font><br><br></td></tr>
|
---|
117 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z246_1">getEnumeration</a> () const</td></tr>
|
---|
118 | <tr><td> </td><td><font size=-1><em>Get the enumeration value (if any) of this attribute type.</em> <a href="#z246_1">More...</a><em></em></font><br><br></td></tr>
|
---|
119 | <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z246_2">getId</a> () const</td></tr>
|
---|
120 | <tr><td> </td><td><font size=-1><em>Get the pool id of this attribute type.</em> <a href="#z246_2">More...</a><em></em></font><br><br></td></tr>
|
---|
121 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z246_3">getProvided</a> () const</td></tr>
|
---|
122 | <tr><td> </td><td><font size=-1><em>Query whether the attribute was explicitly provided.</em> <a href="#z246_3">More...</a><em></em></font><br><br></td></tr>
|
---|
123 | <tr><td nowrap align=right valign=top><a class="el" href="classXMLAttDef.html#s33">AttTypes</a> </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z246_4">getType</a> () const</td></tr>
|
---|
124 | <tr><td> </td><td><font size=-1><em>Get the type of this attribute.</em> <a href="#z246_4">More...</a><em></em></font><br><br></td></tr>
|
---|
125 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z246_5">getValue</a> () const</td></tr>
|
---|
126 | <tr><td> </td><td><font size=-1><em>Get the default/fixed value of this attribute (if any.).</em> <a href="#z246_5">More...</a><em></em></font><br><br></td></tr>
|
---|
127 | <tr><td nowrap align=right valign=top><a class="el" href="classXMLAttDef.html#s35">CreateReasons</a> </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z246_6">getCreateReason</a> () const</td></tr>
|
---|
128 | <tr><td> </td><td><font size=-1><em>Get the create reason for this attribute.</em> <a href="#z246_6">More...</a><em></em></font><br><br></td></tr>
|
---|
129 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z246_7">isExternal</a> () const</td></tr>
|
---|
130 | <tr><td> </td><td><font size=-1><em>Indicate whether this attribute has been declared externally.</em> <a href="#z246_7">More...</a><em></em></font><br><br></td></tr>
|
---|
131 | <tr><td nowrap align=right valign=top><a class="el" href="classMemoryManager.html">MemoryManager</a> * </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z246_8">getMemoryManager</a> () const</td></tr>
|
---|
132 | <tr><td> </td><td><font size=-1><em>Get the plugged-in memory manager.</em> <a href="#z246_8">More...</a><em></em></font><br><br></td></tr>
|
---|
133 | <tr><td nowrap align=right valign=top>virtual const XMLCh * </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z246_9">getDOMTypeInfoUri</a> () const=0</td></tr>
|
---|
134 | <tr><td nowrap align=right valign=top>virtual const XMLCh * </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z246_10">getDOMTypeInfoName</a> () const=0</td></tr>
|
---|
135 | <tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
|
---|
136 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z247_0">setDefaultType</a> (const <a class="el" href="classXMLAttDef.html#s34">XMLAttDef::DefAttTypes</a> newValue)</td></tr>
|
---|
137 | <tr><td> </td><td><font size=-1><em>Set the default attribute type.</em> <a href="#z247_0">More...</a><em></em></font><br><br></td></tr>
|
---|
138 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z247_1">setId</a> (const unsigned int newId)</td></tr>
|
---|
139 | <tr><td> </td><td><font size=-1><em>Set the pool id for this attribute type.</em> <a href="#z247_1">More...</a><em></em></font><br><br></td></tr>
|
---|
140 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z247_2">setProvided</a> (const bool newValue)</td></tr>
|
---|
141 | <tr><td> </td><td><font size=-1><em>Set or clear the 'provided' flag.</em> <a href="#z247_2">More...</a><em></em></font><br><br></td></tr>
|
---|
142 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z247_3">setType</a> (const <a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> newValue)</td></tr>
|
---|
143 | <tr><td> </td><td><font size=-1><em>Set the type of this attribute type.</em> <a href="#z247_3">More...</a><em></em></font><br><br></td></tr>
|
---|
144 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z247_4">setValue</a> (const XMLCh *const newValue)</td></tr>
|
---|
145 | <tr><td> </td><td><font size=-1><em>Set the default/fixed value of this attribute type.</em> <a href="#z247_4">More...</a><em></em></font><br><br></td></tr>
|
---|
146 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z247_5">setEnumeration</a> (const XMLCh *const newValue)</td></tr>
|
---|
147 | <tr><td> </td><td><font size=-1><em>Set the enumerated value of this attribute type.</em> <a href="#z247_5">More...</a><em></em></font><br><br></td></tr>
|
---|
148 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z247_6">setCreateReason</a> (const <a class="el" href="classXMLAttDef.html#s35">CreateReasons</a> newReason)</td></tr>
|
---|
149 | <tr><td> </td><td><font size=-1><em>Update the create reason for this attribute type.</em> <a href="#z247_6">More...</a><em></em></font><br><br></td></tr>
|
---|
150 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z247_7">setExternalAttDeclaration</a> (const bool aValue)</td></tr>
|
---|
151 | <tr><td> </td><td><font size=-1><em>Set the attribute decl to indicate external declaration.</em> <a href="#z247_7">More...</a><em></em></font><br><br></td></tr>
|
---|
152 | <tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr>
|
---|
153 | <tr><td colspan="2"><div class="groupHeader">Public, static methods</div></td></tr>
|
---|
154 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z243_0">getAttTypeString</a> (const <a class="el" href="classXMLAttDef.html#s33">AttTypes</a> attrType, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
155 | <tr><td> </td><td><font size=-1><em>Get a string representation of the passed attribute type enum.</em> <a href="#z243_0">More...</a><em></em></font><br><br></td></tr>
|
---|
156 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classXMLAttDef.html#z243_1">getDefAttTypeString</a> (const <a class="el" href="classXMLAttDef.html#s34">DefAttTypes</a> attrType, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
157 | <tr><td> </td><td><font size=-1><em>Get a string representation of the passed def attribute type enum.</em> <a href="#z243_1">More...</a><em></em></font><br><br></td></tr>
|
---|
158 | <tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
|
---|
159 | <tr><td nowrap align=right valign=top>const unsigned int </td><td valign=bottom><a class="el" href="classXMLAttDef.html#p0">fgInvalidAttrId</a></td></tr>
|
---|
160 | <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
|
---|
161 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classXMLAttDef.html#b0">XMLAttDef</a> (const <a class="el" href="classXMLAttDef.html#s33">AttTypes</a> type=CData, const <a class="el" href="classXMLAttDef.html#s34">DefAttTypes</a> defType=Implied, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
162 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classXMLAttDef.html#b1">XMLAttDef</a> (const XMLCh *const attValue, const <a class="el" href="classXMLAttDef.html#s33">AttTypes</a> type, const <a class="el" href="classXMLAttDef.html#s34">DefAttTypes</a> defType, const XMLCh *const enumValues=0, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
163 | </table>
|
---|
164 | <hr><a name="_details"></a><h2>Detailed Description</h2>
|
---|
165 | Represents the core information of an atribute definition.
|
---|
166 | <p>
|
---|
167 | 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.
|
---|
168 | <p>
|
---|
169 | 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="classXMLAttDef.html#z245_0">getFullName</a>() to get the fully qualified name, as defined by the derived class.
|
---|
170 | <p>
|
---|
171 | 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.
|
---|
172 | <p>
|
---|
173 | <hr><h2>Member Enumeration Documentation</h2>
|
---|
174 | <a name="s33" doxytag="XMLAttDef::AttTypes"></a><p>
|
---|
175 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
176 | <tr>
|
---|
177 | <td class="md">
|
---|
178 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
179 | <tr>
|
---|
180 | <td class="md" nowrap valign="top"> enum XMLAttDef::AttTypes
|
---|
181 | </table>
|
---|
182 | </td>
|
---|
183 | </tr>
|
---|
184 | </table>
|
---|
185 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
186 | <tr>
|
---|
187 | <td>
|
---|
188 |
|
---|
189 | </td>
|
---|
190 | <td>
|
---|
191 |
|
---|
192 | <p>
|
---|
193 | <dl compact><dt><b>
|
---|
194 | Enumeration values:</b><dd>
|
---|
195 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
196 | <tr><td valign=top><em><a name="s33s0" doxytag="CData"></a><em>CData</em></em> </td><td>
|
---|
197 | </td></tr>
|
---|
198 | <tr><td valign=top><em><a name="s33s1" doxytag="ID"></a><em>ID</em></em> </td><td>
|
---|
199 | </td></tr>
|
---|
200 | <tr><td valign=top><em><a name="s33s2" doxytag="IDRef"></a><em>IDRef</em></em> </td><td>
|
---|
201 | </td></tr>
|
---|
202 | <tr><td valign=top><em><a name="s33s3" doxytag="IDRefs"></a><em>IDRefs</em></em> </td><td>
|
---|
203 | </td></tr>
|
---|
204 | <tr><td valign=top><em><a name="s33s4" doxytag="Entity"></a><em>Entity</em></em> </td><td>
|
---|
205 | </td></tr>
|
---|
206 | <tr><td valign=top><em><a name="s33s5" doxytag="Entities"></a><em>Entities</em></em> </td><td>
|
---|
207 | </td></tr>
|
---|
208 | <tr><td valign=top><em><a name="s33s6" doxytag="NmToken"></a><em>NmToken</em></em> </td><td>
|
---|
209 | </td></tr>
|
---|
210 | <tr><td valign=top><em><a name="s33s7" doxytag="NmTokens"></a><em>NmTokens</em></em> </td><td>
|
---|
211 | </td></tr>
|
---|
212 | <tr><td valign=top><em><a name="s33s8" doxytag="Notation"></a><em>Notation</em></em> </td><td>
|
---|
213 | </td></tr>
|
---|
214 | <tr><td valign=top><em><a name="s33s9" doxytag="Enumeration"></a><em>Enumeration</em></em> </td><td>
|
---|
215 | </td></tr>
|
---|
216 | <tr><td valign=top><em><a name="s33s10" doxytag="Simple"></a><em>Simple</em></em> </td><td>
|
---|
217 | </td></tr>
|
---|
218 | <tr><td valign=top><em><a name="s33s11" doxytag="Any_Any"></a><em>Any_Any</em></em> </td><td>
|
---|
219 | </td></tr>
|
---|
220 | <tr><td valign=top><em><a name="s33s12" doxytag="Any_Other"></a><em>Any_Other</em></em> </td><td>
|
---|
221 | </td></tr>
|
---|
222 | <tr><td valign=top><em><a name="s33s13" doxytag="Any_List"></a><em>Any_List</em></em> </td><td>
|
---|
223 | </td></tr>
|
---|
224 | <tr><td valign=top><em><a name="s33s14" doxytag="AttTypes_Count"></a><em>AttTypes_Count</em></em> </td><td>
|
---|
225 | </td></tr>
|
---|
226 | <tr><td valign=top><em><a name="s33s15" doxytag="AttTypes_Min"></a><em>AttTypes_Min</em></em> </td><td>
|
---|
227 | </td></tr>
|
---|
228 | <tr><td valign=top><em><a name="s33s16" doxytag="AttTypes_Max"></a><em>AttTypes_Max</em></em> </td><td>
|
---|
229 | </td></tr>
|
---|
230 | <tr><td valign=top><em><a name="s33s17" doxytag="AttTypes_Unknown"></a><em>AttTypes_Unknown</em></em> </td><td>
|
---|
231 | </td></tr>
|
---|
232 | </table>
|
---|
233 | </dl>
|
---|
234 | </td>
|
---|
235 | </tr>
|
---|
236 | </table>
|
---|
237 | <a name="s35" doxytag="XMLAttDef::CreateReasons"></a><p>
|
---|
238 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
239 | <tr>
|
---|
240 | <td class="md">
|
---|
241 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
242 | <tr>
|
---|
243 | <td class="md" nowrap valign="top"> enum XMLAttDef::CreateReasons
|
---|
244 | </table>
|
---|
245 | </td>
|
---|
246 | </tr>
|
---|
247 | </table>
|
---|
248 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
249 | <tr>
|
---|
250 | <td>
|
---|
251 |
|
---|
252 | </td>
|
---|
253 | <td>
|
---|
254 |
|
---|
255 | <p>
|
---|
256 | <dl compact><dt><b>
|
---|
257 | Enumeration values:</b><dd>
|
---|
258 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
259 | <tr><td valign=top><em><a name="s35s31" doxytag="NoReason"></a><em>NoReason</em></em> </td><td>
|
---|
260 | </td></tr>
|
---|
261 | <tr><td valign=top><em><a name="s35s32" doxytag="JustFaultIn"></a><em>JustFaultIn</em></em> </td><td>
|
---|
262 | </td></tr>
|
---|
263 | </table>
|
---|
264 | </dl>
|
---|
265 | </td>
|
---|
266 | </tr>
|
---|
267 | </table>
|
---|
268 | <a name="s34" doxytag="XMLAttDef::DefAttTypes"></a><p>
|
---|
269 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
270 | <tr>
|
---|
271 | <td class="md">
|
---|
272 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
273 | <tr>
|
---|
274 | <td class="md" nowrap valign="top"> enum XMLAttDef::DefAttTypes
|
---|
275 | </table>
|
---|
276 | </td>
|
---|
277 | </tr>
|
---|
278 | </table>
|
---|
279 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
280 | <tr>
|
---|
281 | <td>
|
---|
282 |
|
---|
283 | </td>
|
---|
284 | <td>
|
---|
285 |
|
---|
286 | <p>
|
---|
287 | <dl compact><dt><b>
|
---|
288 | Enumeration values:</b><dd>
|
---|
289 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
290 | <tr><td valign=top><em><a name="s34s18" doxytag="Default"></a><em>Default</em></em> </td><td>
|
---|
291 | </td></tr>
|
---|
292 | <tr><td valign=top><em><a name="s34s19" doxytag="Fixed"></a><em>Fixed</em></em> </td><td>
|
---|
293 | </td></tr>
|
---|
294 | <tr><td valign=top><em><a name="s34s20" doxytag="Required"></a><em>Required</em></em> </td><td>
|
---|
295 | </td></tr>
|
---|
296 | <tr><td valign=top><em><a name="s34s21" doxytag="Required_And_Fixed"></a><em>Required_And_Fixed</em></em> </td><td>
|
---|
297 | </td></tr>
|
---|
298 | <tr><td valign=top><em><a name="s34s22" doxytag="Implied"></a><em>Implied</em></em> </td><td>
|
---|
299 | </td></tr>
|
---|
300 | <tr><td valign=top><em><a name="s34s23" doxytag="ProcessContents_Skip"></a><em>ProcessContents_Skip</em></em> </td><td>
|
---|
301 | </td></tr>
|
---|
302 | <tr><td valign=top><em><a name="s34s24" doxytag="ProcessContents_Lax"></a><em>ProcessContents_Lax</em></em> </td><td>
|
---|
303 | </td></tr>
|
---|
304 | <tr><td valign=top><em><a name="s34s25" doxytag="ProcessContents_Strict"></a><em>ProcessContents_Strict</em></em> </td><td>
|
---|
305 | </td></tr>
|
---|
306 | <tr><td valign=top><em><a name="s34s26" doxytag="Prohibited"></a><em>Prohibited</em></em> </td><td>
|
---|
307 | </td></tr>
|
---|
308 | <tr><td valign=top><em><a name="s34s27" doxytag="DefAttTypes_Count"></a><em>DefAttTypes_Count</em></em> </td><td>
|
---|
309 | </td></tr>
|
---|
310 | <tr><td valign=top><em><a name="s34s28" doxytag="DefAttTypes_Min"></a><em>DefAttTypes_Min</em></em> </td><td>
|
---|
311 | </td></tr>
|
---|
312 | <tr><td valign=top><em><a name="s34s29" doxytag="DefAttTypes_Max"></a><em>DefAttTypes_Max</em></em> </td><td>
|
---|
313 | </td></tr>
|
---|
314 | <tr><td valign=top><em><a name="s34s30" doxytag="DefAttTypes_Unknown"></a><em>DefAttTypes_Unknown</em></em> </td><td>
|
---|
315 | </td></tr>
|
---|
316 | </table>
|
---|
317 | </dl>
|
---|
318 | </td>
|
---|
319 | </tr>
|
---|
320 | </table>
|
---|
321 | <hr><h2>Constructor & Destructor Documentation</h2>
|
---|
322 | <a name="z244_0" doxytag="XMLAttDef::~XMLAttDef"></a><p>
|
---|
323 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
324 | <tr>
|
---|
325 | <td class="md">
|
---|
326 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
327 | <tr>
|
---|
328 | <td class="md" nowrap valign="top"> virtual XMLAttDef::~XMLAttDef </td>
|
---|
329 | <td class="md" valign="top">( </td>
|
---|
330 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
331 | <td class="md" valign="top">) </td>
|
---|
332 | <td class="md" nowrap><code> [virtual]</code></td>
|
---|
333 | </tr>
|
---|
334 |
|
---|
335 | </table>
|
---|
336 | </td>
|
---|
337 | </tr>
|
---|
338 | </table>
|
---|
339 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
340 | <tr>
|
---|
341 | <td>
|
---|
342 |
|
---|
343 | </td>
|
---|
344 | <td>
|
---|
345 |
|
---|
346 | <p>
|
---|
347 | Destructor.
|
---|
348 | <p>
|
---|
349 | </td>
|
---|
350 | </tr>
|
---|
351 | </table>
|
---|
352 | <a name="b0" doxytag="XMLAttDef::XMLAttDef"></a><p>
|
---|
353 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
354 | <tr>
|
---|
355 | <td class="md">
|
---|
356 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
357 | <tr>
|
---|
358 | <td class="md" nowrap valign="top"> XMLAttDef::XMLAttDef </td>
|
---|
359 | <td class="md" valign="top">( </td>
|
---|
360 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLAttDef.html#s33">AttTypes</a> </td>
|
---|
361 | <td class="mdname" nowrap> <em>type</em> = CData, </td>
|
---|
362 | </tr>
|
---|
363 | <tr>
|
---|
364 | <td></td>
|
---|
365 | <td></td>
|
---|
366 | <td class="md" nowrap>const <a class="el" href="classXMLAttDef.html#s34">DefAttTypes</a> </td>
|
---|
367 | <td class="mdname" nowrap> <em>defType</em> = Implied, </td>
|
---|
368 | </tr>
|
---|
369 | <tr>
|
---|
370 | <td></td>
|
---|
371 | <td></td>
|
---|
372 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
373 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
374 | </tr>
|
---|
375 | <tr>
|
---|
376 | <td></td>
|
---|
377 | <td class="md">) </td>
|
---|
378 | <td class="md" colspan="2"><code> [protected]</code></td>
|
---|
379 | </tr>
|
---|
380 |
|
---|
381 | </table>
|
---|
382 | </td>
|
---|
383 | </tr>
|
---|
384 | </table>
|
---|
385 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
386 | <tr>
|
---|
387 | <td>
|
---|
388 |
|
---|
389 | </td>
|
---|
390 | <td>
|
---|
391 |
|
---|
392 | <p>
|
---|
393 | </td>
|
---|
394 | </tr>
|
---|
395 | </table>
|
---|
396 | <a name="b1" doxytag="XMLAttDef::XMLAttDef"></a><p>
|
---|
397 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
398 | <tr>
|
---|
399 | <td class="md">
|
---|
400 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
401 | <tr>
|
---|
402 | <td class="md" nowrap valign="top"> XMLAttDef::XMLAttDef </td>
|
---|
403 | <td class="md" valign="top">( </td>
|
---|
404 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
405 | <td class="mdname" nowrap> <em>attValue</em>, </td>
|
---|
406 | </tr>
|
---|
407 | <tr>
|
---|
408 | <td></td>
|
---|
409 | <td></td>
|
---|
410 | <td class="md" nowrap>const <a class="el" href="classXMLAttDef.html#s33">AttTypes</a> </td>
|
---|
411 | <td class="mdname" nowrap> <em>type</em>, </td>
|
---|
412 | </tr>
|
---|
413 | <tr>
|
---|
414 | <td></td>
|
---|
415 | <td></td>
|
---|
416 | <td class="md" nowrap>const <a class="el" href="classXMLAttDef.html#s34">DefAttTypes</a> </td>
|
---|
417 | <td class="mdname" nowrap> <em>defType</em>, </td>
|
---|
418 | </tr>
|
---|
419 | <tr>
|
---|
420 | <td></td>
|
---|
421 | <td></td>
|
---|
422 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
423 | <td class="mdname" nowrap> <em>enumValues</em> = 0, </td>
|
---|
424 | </tr>
|
---|
425 | <tr>
|
---|
426 | <td></td>
|
---|
427 | <td></td>
|
---|
428 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
429 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
430 | </tr>
|
---|
431 | <tr>
|
---|
432 | <td></td>
|
---|
433 | <td class="md">) </td>
|
---|
434 | <td class="md" colspan="2"><code> [protected]</code></td>
|
---|
435 | </tr>
|
---|
436 |
|
---|
437 | </table>
|
---|
438 | </td>
|
---|
439 | </tr>
|
---|
440 | </table>
|
---|
441 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
442 | <tr>
|
---|
443 | <td>
|
---|
444 |
|
---|
445 | </td>
|
---|
446 | <td>
|
---|
447 |
|
---|
448 | <p>
|
---|
449 | </td>
|
---|
450 | </tr>
|
---|
451 | </table>
|
---|
452 | <hr><h2>Member Function Documentation</h2>
|
---|
453 | <a name="z243_0" doxytag="XMLAttDef::getAttTypeString"></a><p>
|
---|
454 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
455 | <tr>
|
---|
456 | <td class="md">
|
---|
457 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
458 | <tr>
|
---|
459 | <td class="md" nowrap valign="top"> const XMLCh* XMLAttDef::getAttTypeString </td>
|
---|
460 | <td class="md" valign="top">( </td>
|
---|
461 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLAttDef.html#s33">AttTypes</a> </td>
|
---|
462 | <td class="mdname" nowrap> <em>attrType</em>, </td>
|
---|
463 | </tr>
|
---|
464 | <tr>
|
---|
465 | <td></td>
|
---|
466 | <td></td>
|
---|
467 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
468 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
469 | </tr>
|
---|
470 | <tr>
|
---|
471 | <td></td>
|
---|
472 | <td class="md">) </td>
|
---|
473 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
474 | </tr>
|
---|
475 |
|
---|
476 | </table>
|
---|
477 | </td>
|
---|
478 | </tr>
|
---|
479 | </table>
|
---|
480 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
481 | <tr>
|
---|
482 | <td>
|
---|
483 |
|
---|
484 | </td>
|
---|
485 | <td>
|
---|
486 |
|
---|
487 | <p>
|
---|
488 | Get a string representation of the passed attribute type enum.
|
---|
489 | <p>
|
---|
490 | This method allows you to get a textual representation of an attriubte type, mostly for debug or display.<dl compact><dt><b>
|
---|
491 | Parameters: </b><dd>
|
---|
492 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
493 | <tr><td valign=top><em>attrType</em> </td><td>
|
---|
494 | The attribute type value to get the string for. </td></tr>
|
---|
495 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
496 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
497 | </table>
|
---|
498 | </dl><dl compact><dt><b>
|
---|
499 | Returns: </b><dd>
|
---|
500 | A const pointer to the static string that holds the text description of the passed type. </dl> </td>
|
---|
501 | </tr>
|
---|
502 | </table>
|
---|
503 | <a name="z246_6" doxytag="XMLAttDef::getCreateReason"></a><p>
|
---|
504 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
505 | <tr>
|
---|
506 | <td class="md">
|
---|
507 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
508 | <tr>
|
---|
509 | <td class="md" nowrap valign="top"> <a class="el" href="classXMLAttDef.html#s35">XMLAttDef::CreateReasons</a> XMLAttDef::getCreateReason </td>
|
---|
510 | <td class="md" valign="top">( </td>
|
---|
511 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
512 | <td class="md" valign="top">) </td>
|
---|
513 | <td class="md" nowrap> const</td>
|
---|
514 | </tr>
|
---|
515 |
|
---|
516 | </table>
|
---|
517 | </td>
|
---|
518 | </tr>
|
---|
519 | </table>
|
---|
520 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
521 | <tr>
|
---|
522 | <td>
|
---|
523 |
|
---|
524 | </td>
|
---|
525 | <td>
|
---|
526 |
|
---|
527 | <p>
|
---|
528 | Get the create reason for this attribute.
|
---|
529 | <p>
|
---|
530 | This method returns an enumeration which indicates why this attribute declaration exists.
|
---|
531 | <p>
|
---|
532 | <dl compact><dt><b>
|
---|
533 | Returns: </b><dd>
|
---|
534 | An enumerated value that indicates the reason why this attribute was added to the attribute table. </dl> </td>
|
---|
535 | </tr>
|
---|
536 | </table>
|
---|
537 | <a name="z243_1" doxytag="XMLAttDef::getDefAttTypeString"></a><p>
|
---|
538 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
539 | <tr>
|
---|
540 | <td class="md">
|
---|
541 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
542 | <tr>
|
---|
543 | <td class="md" nowrap valign="top"> const XMLCh* XMLAttDef::getDefAttTypeString </td>
|
---|
544 | <td class="md" valign="top">( </td>
|
---|
545 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLAttDef.html#s34">DefAttTypes</a> </td>
|
---|
546 | <td class="mdname" nowrap> <em>attrType</em>, </td>
|
---|
547 | </tr>
|
---|
548 | <tr>
|
---|
549 | <td></td>
|
---|
550 | <td></td>
|
---|
551 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
552 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a></td>
|
---|
553 | </tr>
|
---|
554 | <tr>
|
---|
555 | <td></td>
|
---|
556 | <td class="md">) </td>
|
---|
557 | <td class="md" colspan="2"><code> [static]</code></td>
|
---|
558 | </tr>
|
---|
559 |
|
---|
560 | </table>
|
---|
561 | </td>
|
---|
562 | </tr>
|
---|
563 | </table>
|
---|
564 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
565 | <tr>
|
---|
566 | <td>
|
---|
567 |
|
---|
568 | </td>
|
---|
569 | <td>
|
---|
570 |
|
---|
571 | <p>
|
---|
572 | Get a string representation of the passed def attribute type enum.
|
---|
573 | <p>
|
---|
574 | This method allows you to get a textual representation of an default attributetype, mostly for debug or display.<dl compact><dt><b>
|
---|
575 | Parameters: </b><dd>
|
---|
576 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
577 | <tr><td valign=top><em>attrType</em> </td><td>
|
---|
578 | The default attribute type value to get the string for. </td></tr>
|
---|
579 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
580 | The <a class="el" href="classMemoryManager.html">MemoryManager</a> to use to allocate objects </td></tr>
|
---|
581 | </table>
|
---|
582 | </dl><dl compact><dt><b>
|
---|
583 | Returns: </b><dd>
|
---|
584 | A const pointer to the static string that holds the text description of the passed default type. </dl> </td>
|
---|
585 | </tr>
|
---|
586 | </table>
|
---|
587 | <a name="z246_0" doxytag="XMLAttDef::getDefaultType"></a><p>
|
---|
588 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
589 | <tr>
|
---|
590 | <td class="md">
|
---|
591 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
592 | <tr>
|
---|
593 | <td class="md" nowrap valign="top"> <a class="el" href="classXMLAttDef.html#s34">XMLAttDef::DefAttTypes</a> XMLAttDef::getDefaultType </td>
|
---|
594 | <td class="md" valign="top">( </td>
|
---|
595 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
596 | <td class="md" valign="top">) </td>
|
---|
597 | <td class="md" nowrap> const</td>
|
---|
598 | </tr>
|
---|
599 |
|
---|
600 | </table>
|
---|
601 | </td>
|
---|
602 | </tr>
|
---|
603 | </table>
|
---|
604 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
605 | <tr>
|
---|
606 | <td>
|
---|
607 |
|
---|
608 | </td>
|
---|
609 | <td>
|
---|
610 |
|
---|
611 | <p>
|
---|
612 | Get the default type of this attribute type.
|
---|
613 | <p>
|
---|
614 | 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...
|
---|
615 | <p>
|
---|
616 | <dl compact><dt><b>
|
---|
617 | Returns: </b><dd>
|
---|
618 | The default type enum for this attribute type. </dl> </td>
|
---|
619 | </tr>
|
---|
620 | </table>
|
---|
621 | <a name="z246_10" doxytag="XMLAttDef::getDOMTypeInfoName"></a><p>
|
---|
622 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
623 | <tr>
|
---|
624 | <td class="md">
|
---|
625 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
626 | <tr>
|
---|
627 | <td class="md" nowrap valign="top"> virtual const XMLCh* XMLAttDef::getDOMTypeInfoName </td>
|
---|
628 | <td class="md" valign="top">( </td>
|
---|
629 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
630 | <td class="md" valign="top">) </td>
|
---|
631 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
632 | </tr>
|
---|
633 |
|
---|
634 | </table>
|
---|
635 | </td>
|
---|
636 | </tr>
|
---|
637 | </table>
|
---|
638 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
639 | <tr>
|
---|
640 | <td>
|
---|
641 |
|
---|
642 | </td>
|
---|
643 | <td>
|
---|
644 |
|
---|
645 | <p>
|
---|
646 | <dl compact><dt><b>
|
---|
647 | Returns: </b><dd>
|
---|
648 | the name part of DOM Level 3 TypeInfo </dl><dl compact><dt><b>
|
---|
649 | Deprecated: </b><dd>
|
---|
650 | </dl> </td>
|
---|
651 | </tr>
|
---|
652 | </table>
|
---|
653 | <a name="z246_9" doxytag="XMLAttDef::getDOMTypeInfoUri"></a><p>
|
---|
654 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
655 | <tr>
|
---|
656 | <td class="md">
|
---|
657 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
658 | <tr>
|
---|
659 | <td class="md" nowrap valign="top"> virtual const XMLCh* XMLAttDef::getDOMTypeInfoUri </td>
|
---|
660 | <td class="md" valign="top">( </td>
|
---|
661 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
662 | <td class="md" valign="top">) </td>
|
---|
663 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
664 | </tr>
|
---|
665 |
|
---|
666 | </table>
|
---|
667 | </td>
|
---|
668 | </tr>
|
---|
669 | </table>
|
---|
670 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
671 | <tr>
|
---|
672 | <td>
|
---|
673 |
|
---|
674 | </td>
|
---|
675 | <td>
|
---|
676 |
|
---|
677 | <p>
|
---|
678 | <dl compact><dt><b>
|
---|
679 | Returns: </b><dd>
|
---|
680 | the uri part of DOM Level 3 TypeInfo </dl><dl compact><dt><b>
|
---|
681 | Deprecated: </b><dd>
|
---|
682 | </dl> </td>
|
---|
683 | </tr>
|
---|
684 | </table>
|
---|
685 | <a name="z246_1" doxytag="XMLAttDef::getEnumeration"></a><p>
|
---|
686 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
687 | <tr>
|
---|
688 | <td class="md">
|
---|
689 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
690 | <tr>
|
---|
691 | <td class="md" nowrap valign="top"> const XMLCh * XMLAttDef::getEnumeration </td>
|
---|
692 | <td class="md" valign="top">( </td>
|
---|
693 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
694 | <td class="md" valign="top">) </td>
|
---|
695 | <td class="md" nowrap> const</td>
|
---|
696 | </tr>
|
---|
697 |
|
---|
698 | </table>
|
---|
699 | </td>
|
---|
700 | </tr>
|
---|
701 | </table>
|
---|
702 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
703 | <tr>
|
---|
704 | <td>
|
---|
705 |
|
---|
706 | </td>
|
---|
707 | <td>
|
---|
708 |
|
---|
709 | <p>
|
---|
710 | Get the enumeration value (if any) of this attribute type.
|
---|
711 | <p>
|
---|
712 | 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.
|
---|
713 | <p>
|
---|
714 | <dl compact><dt><b>
|
---|
715 | Returns: </b><dd>
|
---|
716 | A const pointer to a string that contains the space separated legal values for this attribute. </dl> </td>
|
---|
717 | </tr>
|
---|
718 | </table>
|
---|
719 | <a name="z245_0" doxytag="XMLAttDef::getFullName"></a><p>
|
---|
720 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
721 | <tr>
|
---|
722 | <td class="md">
|
---|
723 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
724 | <tr>
|
---|
725 | <td class="md" nowrap valign="top"> virtual const XMLCh* XMLAttDef::getFullName </td>
|
---|
726 | <td class="md" valign="top">( </td>
|
---|
727 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
728 | <td class="md" valign="top">) </td>
|
---|
729 | <td class="md" nowrap> const<code> [pure virtual]</code></td>
|
---|
730 | </tr>
|
---|
731 |
|
---|
732 | </table>
|
---|
733 | </td>
|
---|
734 | </tr>
|
---|
735 | </table>
|
---|
736 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
737 | <tr>
|
---|
738 | <td>
|
---|
739 |
|
---|
740 | </td>
|
---|
741 | <td>
|
---|
742 |
|
---|
743 | <p>
|
---|
744 | Get the full name of this attribute type.
|
---|
745 | <p>
|
---|
746 | 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.
|
---|
747 | <p>
|
---|
748 | <dl compact><dt><b>
|
---|
749 | Returns: </b><dd>
|
---|
750 | A const pointer to the full name of this attribute type. </dl> </td>
|
---|
751 | </tr>
|
---|
752 | </table>
|
---|
753 | <a name="z246_2" doxytag="XMLAttDef::getId"></a><p>
|
---|
754 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
755 | <tr>
|
---|
756 | <td class="md">
|
---|
757 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
758 | <tr>
|
---|
759 | <td class="md" nowrap valign="top"> unsigned int XMLAttDef::getId </td>
|
---|
760 | <td class="md" valign="top">( </td>
|
---|
761 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
762 | <td class="md" valign="top">) </td>
|
---|
763 | <td class="md" nowrap> const</td>
|
---|
764 | </tr>
|
---|
765 |
|
---|
766 | </table>
|
---|
767 | </td>
|
---|
768 | </tr>
|
---|
769 | </table>
|
---|
770 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
771 | <tr>
|
---|
772 | <td>
|
---|
773 |
|
---|
774 | </td>
|
---|
775 | <td>
|
---|
776 |
|
---|
777 | <p>
|
---|
778 | Get the pool id of this attribute type.
|
---|
779 | <p>
|
---|
780 | 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.
|
---|
781 | <p>
|
---|
782 | <dl compact><dt><b>
|
---|
783 | Returns: </b><dd>
|
---|
784 | The pool id of this attribute type. </dl> </td>
|
---|
785 | </tr>
|
---|
786 | </table>
|
---|
787 | <a name="z246_8" doxytag="XMLAttDef::getMemoryManager"></a><p>
|
---|
788 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
789 | <tr>
|
---|
790 | <td class="md">
|
---|
791 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
792 | <tr>
|
---|
793 | <td class="md" nowrap valign="top"> <a class="el" href="classMemoryManager.html">MemoryManager</a> * XMLAttDef::getMemoryManager </td>
|
---|
794 | <td class="md" valign="top">( </td>
|
---|
795 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
796 | <td class="md" valign="top">) </td>
|
---|
797 | <td class="md" nowrap> const</td>
|
---|
798 | </tr>
|
---|
799 |
|
---|
800 | </table>
|
---|
801 | </td>
|
---|
802 | </tr>
|
---|
803 | </table>
|
---|
804 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
805 | <tr>
|
---|
806 | <td>
|
---|
807 |
|
---|
808 | </td>
|
---|
809 | <td>
|
---|
810 |
|
---|
811 | <p>
|
---|
812 | Get the plugged-in memory manager.
|
---|
813 | <p>
|
---|
814 | This method returns the plugged-in memory manager user for dynamic memory allocation/deallocation.
|
---|
815 | <p>
|
---|
816 | <dl compact><dt><b>
|
---|
817 | Returns: </b><dd>
|
---|
818 | the plugged-in memory manager </dl> </td>
|
---|
819 | </tr>
|
---|
820 | </table>
|
---|
821 | <a name="z246_3" doxytag="XMLAttDef::getProvided"></a><p>
|
---|
822 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
823 | <tr>
|
---|
824 | <td class="md">
|
---|
825 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
826 | <tr>
|
---|
827 | <td class="md" nowrap valign="top"> bool XMLAttDef::getProvided </td>
|
---|
828 | <td class="md" valign="top">( </td>
|
---|
829 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
830 | <td class="md" valign="top">) </td>
|
---|
831 | <td class="md" nowrap> const</td>
|
---|
832 | </tr>
|
---|
833 |
|
---|
834 | </table>
|
---|
835 | </td>
|
---|
836 | </tr>
|
---|
837 | </table>
|
---|
838 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
839 | <tr>
|
---|
840 | <td>
|
---|
841 |
|
---|
842 | </td>
|
---|
843 | <td>
|
---|
844 |
|
---|
845 | <p>
|
---|
846 | Query whether the attribute was explicitly provided.
|
---|
847 | <p>
|
---|
848 | 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.
|
---|
849 | <p>
|
---|
850 | <dl compact><dt><b>
|
---|
851 | Returns: </b><dd>
|
---|
852 | Returns a boolean value that indicates whether this attribute was explicitly provided. </dl><dl compact><dt><b>
|
---|
853 | Deprecated: </b><dd>
|
---|
854 | </dl> </td>
|
---|
855 | </tr>
|
---|
856 | </table>
|
---|
857 | <a name="z246_4" doxytag="XMLAttDef::getType"></a><p>
|
---|
858 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
859 | <tr>
|
---|
860 | <td class="md">
|
---|
861 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
862 | <tr>
|
---|
863 | <td class="md" nowrap valign="top"> <a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> XMLAttDef::getType </td>
|
---|
864 | <td class="md" valign="top">( </td>
|
---|
865 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
866 | <td class="md" valign="top">) </td>
|
---|
867 | <td class="md" nowrap> const</td>
|
---|
868 | </tr>
|
---|
869 |
|
---|
870 | </table>
|
---|
871 | </td>
|
---|
872 | </tr>
|
---|
873 | </table>
|
---|
874 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
875 | <tr>
|
---|
876 | <td>
|
---|
877 |
|
---|
878 | </td>
|
---|
879 | <td>
|
---|
880 |
|
---|
881 | <p>
|
---|
882 | Get the type of this attribute.
|
---|
883 | <p>
|
---|
884 | 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...
|
---|
885 | <p>
|
---|
886 | <dl compact><dt><b>
|
---|
887 | Returns: </b><dd>
|
---|
888 | The attribute type enumeration value for this type of attribute. </dl> </td>
|
---|
889 | </tr>
|
---|
890 | </table>
|
---|
891 | <a name="z246_5" doxytag="XMLAttDef::getValue"></a><p>
|
---|
892 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
893 | <tr>
|
---|
894 | <td class="md">
|
---|
895 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
896 | <tr>
|
---|
897 | <td class="md" nowrap valign="top"> const XMLCh * XMLAttDef::getValue </td>
|
---|
898 | <td class="md" valign="top">( </td>
|
---|
899 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
900 | <td class="md" valign="top">) </td>
|
---|
901 | <td class="md" nowrap> const</td>
|
---|
902 | </tr>
|
---|
903 |
|
---|
904 | </table>
|
---|
905 | </td>
|
---|
906 | </tr>
|
---|
907 | </table>
|
---|
908 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
909 | <tr>
|
---|
910 | <td>
|
---|
911 |
|
---|
912 | </td>
|
---|
913 | <td>
|
---|
914 |
|
---|
915 | <p>
|
---|
916 | Get the default/fixed value of this attribute (if any.).
|
---|
917 | <p>
|
---|
918 | 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.
|
---|
919 | <p>
|
---|
920 | <dl compact><dt><b>
|
---|
921 | Returns: </b><dd>
|
---|
922 | A const pointer to the default/fixed value for this attribute type. </dl> </td>
|
---|
923 | </tr>
|
---|
924 | </table>
|
---|
925 | <a name="z246_7" doxytag="XMLAttDef::isExternal"></a><p>
|
---|
926 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
927 | <tr>
|
---|
928 | <td class="md">
|
---|
929 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
930 | <tr>
|
---|
931 | <td class="md" nowrap valign="top"> bool XMLAttDef::isExternal </td>
|
---|
932 | <td class="md" valign="top">( </td>
|
---|
933 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
934 | <td class="md" valign="top">) </td>
|
---|
935 | <td class="md" nowrap> const</td>
|
---|
936 | </tr>
|
---|
937 |
|
---|
938 | </table>
|
---|
939 | </td>
|
---|
940 | </tr>
|
---|
941 | </table>
|
---|
942 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
943 | <tr>
|
---|
944 | <td>
|
---|
945 |
|
---|
946 | </td>
|
---|
947 | <td>
|
---|
948 |
|
---|
949 | <p>
|
---|
950 | Indicate whether this attribute has been declared externally.
|
---|
951 | <p>
|
---|
952 | This method returns a boolean that indicates whether this attribute has been declared externally.
|
---|
953 | <p>
|
---|
954 | <dl compact><dt><b>
|
---|
955 | Returns: </b><dd>
|
---|
956 | true if this attribute has been declared externally, else false. </dl> </td>
|
---|
957 | </tr>
|
---|
958 | </table>
|
---|
959 | <a name="z245_1" doxytag="XMLAttDef::reset"></a><p>
|
---|
960 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
961 | <tr>
|
---|
962 | <td class="md">
|
---|
963 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
964 | <tr>
|
---|
965 | <td class="md" nowrap valign="top"> virtual void XMLAttDef::reset </td>
|
---|
966 | <td class="md" valign="top">( </td>
|
---|
967 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
968 | <td class="md" valign="top">) </td>
|
---|
969 | <td class="md" nowrap><code> [pure virtual]</code></td>
|
---|
970 | </tr>
|
---|
971 |
|
---|
972 | </table>
|
---|
973 | </td>
|
---|
974 | </tr>
|
---|
975 | </table>
|
---|
976 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
977 | <tr>
|
---|
978 | <td>
|
---|
979 |
|
---|
980 | </td>
|
---|
981 | <td>
|
---|
982 |
|
---|
983 | <p>
|
---|
984 | The derived class should implement any cleaning up required between each use of an instance of this class for validation.
|
---|
985 | <p>
|
---|
986 | </td>
|
---|
987 | </tr>
|
---|
988 | </table>
|
---|
989 | <a name="z247_6" doxytag="XMLAttDef::setCreateReason"></a><p>
|
---|
990 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
991 | <tr>
|
---|
992 | <td class="md">
|
---|
993 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
994 | <tr>
|
---|
995 | <td class="md" nowrap valign="top"> void XMLAttDef::setCreateReason </td>
|
---|
996 | <td class="md" valign="top">( </td>
|
---|
997 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLAttDef.html#s35">CreateReasons</a> </td>
|
---|
998 | <td class="mdname1" valign="top" nowrap> <em>newReason</em> </td>
|
---|
999 | <td class="md" valign="top">) </td>
|
---|
1000 | <td class="md" nowrap></td>
|
---|
1001 | </tr>
|
---|
1002 |
|
---|
1003 | </table>
|
---|
1004 | </td>
|
---|
1005 | </tr>
|
---|
1006 | </table>
|
---|
1007 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1008 | <tr>
|
---|
1009 | <td>
|
---|
1010 |
|
---|
1011 | </td>
|
---|
1012 | <td>
|
---|
1013 |
|
---|
1014 | <p>
|
---|
1015 | Update the create reason for this attribute type.
|
---|
1016 | <p>
|
---|
1017 | This method will update the 'create reason' field for this attribute decl object.<dl compact><dt><b>
|
---|
1018 | Parameters: </b><dd>
|
---|
1019 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1020 | <tr><td valign=top><em>newReason</em> </td><td>
|
---|
1021 | The new create reason. </td></tr>
|
---|
1022 | </table>
|
---|
1023 | </dl> </td>
|
---|
1024 | </tr>
|
---|
1025 | </table>
|
---|
1026 | <a name="z247_0" doxytag="XMLAttDef::setDefaultType"></a><p>
|
---|
1027 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1028 | <tr>
|
---|
1029 | <td class="md">
|
---|
1030 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1031 | <tr>
|
---|
1032 | <td class="md" nowrap valign="top"> void XMLAttDef::setDefaultType </td>
|
---|
1033 | <td class="md" valign="top">( </td>
|
---|
1034 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLAttDef.html#s34">XMLAttDef::DefAttTypes</a> </td>
|
---|
1035 | <td class="mdname1" valign="top" nowrap> <em>newValue</em> </td>
|
---|
1036 | <td class="md" valign="top">) </td>
|
---|
1037 | <td class="md" nowrap></td>
|
---|
1038 | </tr>
|
---|
1039 |
|
---|
1040 | </table>
|
---|
1041 | </td>
|
---|
1042 | </tr>
|
---|
1043 | </table>
|
---|
1044 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1045 | <tr>
|
---|
1046 | <td>
|
---|
1047 |
|
---|
1048 | </td>
|
---|
1049 | <td>
|
---|
1050 |
|
---|
1051 | <p>
|
---|
1052 | Set the default attribute type.
|
---|
1053 | <p>
|
---|
1054 | 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>
|
---|
1055 | Parameters: </b><dd>
|
---|
1056 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1057 | <tr><td valign=top><em>newValue</em> </td><td>
|
---|
1058 | The new default attribute to set </td></tr>
|
---|
1059 | </table>
|
---|
1060 | </dl> </td>
|
---|
1061 | </tr>
|
---|
1062 | </table>
|
---|
1063 | <a name="z247_5" doxytag="XMLAttDef::setEnumeration"></a><p>
|
---|
1064 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1065 | <tr>
|
---|
1066 | <td class="md">
|
---|
1067 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1068 | <tr>
|
---|
1069 | <td class="md" nowrap valign="top"> void XMLAttDef::setEnumeration </td>
|
---|
1070 | <td class="md" valign="top">( </td>
|
---|
1071 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
1072 | <td class="mdname1" valign="top" nowrap> <em>newValue</em> </td>
|
---|
1073 | <td class="md" valign="top">) </td>
|
---|
1074 | <td class="md" nowrap></td>
|
---|
1075 | </tr>
|
---|
1076 |
|
---|
1077 | </table>
|
---|
1078 | </td>
|
---|
1079 | </tr>
|
---|
1080 | </table>
|
---|
1081 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1082 | <tr>
|
---|
1083 | <td>
|
---|
1084 |
|
---|
1085 | </td>
|
---|
1086 | <td>
|
---|
1087 |
|
---|
1088 | <p>
|
---|
1089 | Set the enumerated value of this attribute type.
|
---|
1090 | <p>
|
---|
1091 | 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="classXMLAttDef.html#z247_3">setType</a>() method is used to set the type to the enumeration or notation types.<dl compact><dt><b>
|
---|
1092 | Parameters: </b><dd>
|
---|
1093 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1094 | <tr><td valign=top><em>newValue</em> </td><td>
|
---|
1095 | The new enumerated/notation value list to set. </td></tr>
|
---|
1096 | </table>
|
---|
1097 | </dl> </td>
|
---|
1098 | </tr>
|
---|
1099 | </table>
|
---|
1100 | <a name="z247_7" doxytag="XMLAttDef::setExternalAttDeclaration"></a><p>
|
---|
1101 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1102 | <tr>
|
---|
1103 | <td class="md">
|
---|
1104 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1105 | <tr>
|
---|
1106 | <td class="md" nowrap valign="top"> void XMLAttDef::setExternalAttDeclaration </td>
|
---|
1107 | <td class="md" valign="top">( </td>
|
---|
1108 | <td class="md" nowrap valign="top">const bool </td>
|
---|
1109 | <td class="mdname1" valign="top" nowrap> <em>aValue</em> </td>
|
---|
1110 | <td class="md" valign="top">) </td>
|
---|
1111 | <td class="md" nowrap></td>
|
---|
1112 | </tr>
|
---|
1113 |
|
---|
1114 | </table>
|
---|
1115 | </td>
|
---|
1116 | </tr>
|
---|
1117 | </table>
|
---|
1118 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1119 | <tr>
|
---|
1120 | <td>
|
---|
1121 |
|
---|
1122 | </td>
|
---|
1123 | <td>
|
---|
1124 |
|
---|
1125 | <p>
|
---|
1126 | Set the attribute decl to indicate external declaration.
|
---|
1127 | <p>
|
---|
1128 | <dl compact><dt><b>
|
---|
1129 | Parameters: </b><dd>
|
---|
1130 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1131 | <tr><td valign=top><em>aValue</em> </td><td>
|
---|
1132 | The new value to indicate external declaration. </td></tr>
|
---|
1133 | </table>
|
---|
1134 | </dl> </td>
|
---|
1135 | </tr>
|
---|
1136 | </table>
|
---|
1137 | <a name="z247_1" doxytag="XMLAttDef::setId"></a><p>
|
---|
1138 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1139 | <tr>
|
---|
1140 | <td class="md">
|
---|
1141 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1142 | <tr>
|
---|
1143 | <td class="md" nowrap valign="top"> void XMLAttDef::setId </td>
|
---|
1144 | <td class="md" valign="top">( </td>
|
---|
1145 | <td class="md" nowrap valign="top">const unsigned int </td>
|
---|
1146 | <td class="mdname1" valign="top" nowrap> <em>newId</em> </td>
|
---|
1147 | <td class="md" valign="top">) </td>
|
---|
1148 | <td class="md" nowrap></td>
|
---|
1149 | </tr>
|
---|
1150 |
|
---|
1151 | </table>
|
---|
1152 | </td>
|
---|
1153 | </tr>
|
---|
1154 | </table>
|
---|
1155 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1156 | <tr>
|
---|
1157 | <td>
|
---|
1158 |
|
---|
1159 | </td>
|
---|
1160 | <td>
|
---|
1161 |
|
---|
1162 | <p>
|
---|
1163 | Set the pool id for this attribute type.
|
---|
1164 | <p>
|
---|
1165 | 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>
|
---|
1166 | Parameters: </b><dd>
|
---|
1167 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1168 | <tr><td valign=top><em>newId</em> </td><td>
|
---|
1169 | The new pool id to set. </td></tr>
|
---|
1170 | </table>
|
---|
1171 | </dl> </td>
|
---|
1172 | </tr>
|
---|
1173 | </table>
|
---|
1174 | <a name="z247_2" doxytag="XMLAttDef::setProvided"></a><p>
|
---|
1175 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1176 | <tr>
|
---|
1177 | <td class="md">
|
---|
1178 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1179 | <tr>
|
---|
1180 | <td class="md" nowrap valign="top"> void XMLAttDef::setProvided </td>
|
---|
1181 | <td class="md" valign="top">( </td>
|
---|
1182 | <td class="md" nowrap valign="top">const bool </td>
|
---|
1183 | <td class="mdname1" valign="top" nowrap> <em>newValue</em> </td>
|
---|
1184 | <td class="md" valign="top">) </td>
|
---|
1185 | <td class="md" nowrap></td>
|
---|
1186 | </tr>
|
---|
1187 |
|
---|
1188 | </table>
|
---|
1189 | </td>
|
---|
1190 | </tr>
|
---|
1191 | </table>
|
---|
1192 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1193 | <tr>
|
---|
1194 | <td>
|
---|
1195 |
|
---|
1196 | </td>
|
---|
1197 | <td>
|
---|
1198 |
|
---|
1199 | <p>
|
---|
1200 | Set or clear the 'provided' flag.
|
---|
1201 | <p>
|
---|
1202 | 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>
|
---|
1203 | Parameters: </b><dd>
|
---|
1204 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1205 | <tr><td valign=top><em>newValue</em> </td><td>
|
---|
1206 | The new provided state to set </td></tr>
|
---|
1207 | </table>
|
---|
1208 | </dl><dl compact><dt><b>
|
---|
1209 | Deprecated: </b><dd>
|
---|
1210 | </dl> </td>
|
---|
1211 | </tr>
|
---|
1212 | </table>
|
---|
1213 | <a name="z247_3" doxytag="XMLAttDef::setType"></a><p>
|
---|
1214 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1215 | <tr>
|
---|
1216 | <td class="md">
|
---|
1217 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1218 | <tr>
|
---|
1219 | <td class="md" nowrap valign="top"> void XMLAttDef::setType </td>
|
---|
1220 | <td class="md" valign="top">( </td>
|
---|
1221 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> </td>
|
---|
1222 | <td class="mdname1" valign="top" nowrap> <em>newValue</em> </td>
|
---|
1223 | <td class="md" valign="top">) </td>
|
---|
1224 | <td class="md" nowrap></td>
|
---|
1225 | </tr>
|
---|
1226 |
|
---|
1227 | </table>
|
---|
1228 | </td>
|
---|
1229 | </tr>
|
---|
1230 | </table>
|
---|
1231 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1232 | <tr>
|
---|
1233 | <td>
|
---|
1234 |
|
---|
1235 | </td>
|
---|
1236 | <td>
|
---|
1237 |
|
---|
1238 | <p>
|
---|
1239 | Set the type of this attribute type.
|
---|
1240 | <p>
|
---|
1241 | 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>
|
---|
1242 | Parameters: </b><dd>
|
---|
1243 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1244 | <tr><td valign=top><em>newValue</em> </td><td>
|
---|
1245 | The new attribute type to set </td></tr>
|
---|
1246 | </table>
|
---|
1247 | </dl> </td>
|
---|
1248 | </tr>
|
---|
1249 | </table>
|
---|
1250 | <a name="z247_4" doxytag="XMLAttDef::setValue"></a><p>
|
---|
1251 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1252 | <tr>
|
---|
1253 | <td class="md">
|
---|
1254 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1255 | <tr>
|
---|
1256 | <td class="md" nowrap valign="top"> void XMLAttDef::setValue </td>
|
---|
1257 | <td class="md" valign="top">( </td>
|
---|
1258 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
1259 | <td class="mdname1" valign="top" nowrap> <em>newValue</em> </td>
|
---|
1260 | <td class="md" valign="top">) </td>
|
---|
1261 | <td class="md" nowrap></td>
|
---|
1262 | </tr>
|
---|
1263 |
|
---|
1264 | </table>
|
---|
1265 | </td>
|
---|
1266 | </tr>
|
---|
1267 | </table>
|
---|
1268 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1269 | <tr>
|
---|
1270 | <td>
|
---|
1271 |
|
---|
1272 | </td>
|
---|
1273 | <td>
|
---|
1274 |
|
---|
1275 | <p>
|
---|
1276 | Set the default/fixed value of this attribute type.
|
---|
1277 | <p>
|
---|
1278 | 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="classXMLAttDef.html#z247_3">setType</a>(). If the type is enumeration or notation, this must be one of the valid values set in the <a class="el" href="classXMLAttDef.html#z247_5">setEnumeration</a>() call.<dl compact><dt><b>
|
---|
1279 | Parameters: </b><dd>
|
---|
1280 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1281 | <tr><td valign=top><em>newValue</em> </td><td>
|
---|
1282 | The new fixed/default value to set. </td></tr>
|
---|
1283 | </table>
|
---|
1284 | </dl> </td>
|
---|
1285 | </tr>
|
---|
1286 | </table>
|
---|
1287 | <hr><h2>Member Data Documentation</h2>
|
---|
1288 | <a name="p0" doxytag="XMLAttDef::fgInvalidAttrId"></a><p>
|
---|
1289 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1290 | <tr>
|
---|
1291 | <td class="md">
|
---|
1292 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1293 | <tr>
|
---|
1294 | <td class="md" nowrap valign="top"> const unsigned int XMLAttDef::fgInvalidAttrId<code> [static]</code>
|
---|
1295 | </table>
|
---|
1296 | </td>
|
---|
1297 | </tr>
|
---|
1298 | </table>
|
---|
1299 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1300 | <tr>
|
---|
1301 | <td>
|
---|
1302 |
|
---|
1303 | </td>
|
---|
1304 | <td>
|
---|
1305 |
|
---|
1306 | <p>
|
---|
1307 | </td>
|
---|
1308 | </tr>
|
---|
1309 | </table>
|
---|
1310 | <hr>The documentation for this class was generated from the following file:<ul>
|
---|
1311 | <li><a class="el" href="XMLAttDef_8hpp-source.html">XMLAttDef.hpp</a></ul>
|
---|
1312 | </FONT></TD></TR></TABLE><BR>
|
---|
1313 | </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>
|
---|
1314 | Copyright © 1994-2004 The Apache Software Foundation.
|
---|
1315 | All Rights Reserved.
|
---|
1316 | </I></FONT></TD></TR></TABLE></BODY></HTML>
|
---|