1 | <HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>XMLAttr 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>XMLAttr Class Reference</h1>This class defines the information about an attribute that will come out of the scanner during parsing.
|
---|
45 | <a href="#_details">More...</a>
|
---|
46 | <p>
|
---|
47 | Inheritance diagram for XMLAttr:<p><center><img src="classXMLAttr__inherit__graph.gif" border="0" usemap="#XMLAttr__inherit__map" alt="Inheritance graph"></center>
|
---|
48 | <map name="XMLAttr__inherit__map">
|
---|
49 | <area href="classXMemory.html" shape="rect" coords="7,36,76,17" alt="">
|
---|
50 | </map>
|
---|
51 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for XMLAttr:<p><center><img src="classXMLAttr__coll__graph.gif" border="0" usemap="#XMLAttr__coll__map" alt="Collaboration graph"></center>
|
---|
52 | <map name="XMLAttr__coll__map">
|
---|
53 | <area href="classXMemory.html" shape="rect" coords="11,36,80,17" alt="">
|
---|
54 | <area href="classQName.html" shape="rect" coords="80,127,136,108" alt="">
|
---|
55 | <area href="classMemoryManager.html" shape="rect" coords="167,36,276,17" alt="">
|
---|
56 | </map>
|
---|
57 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXMLAttr-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
|
---|
58 | <tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
|
---|
59 | <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
|
---|
60 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classXMLAttr.html#z250_0">XMLAttr</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>
|
---|
61 | <tr><td> </td><td><font size=-1><em>The default constructor just setsup an empty attribute to be filled in the later.</em> <a href="#z250_0">More...</a><em></em></font><br><br></td></tr>
|
---|
62 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classXMLAttr.html#z250_1">XMLAttr</a> (const unsigned int uriId, const XMLCh *const attrName, const XMLCh *const attrPrefix, const XMLCh *const attrValue, const <a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> type=XMLAttDef::CData, const bool specified=true, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)</td></tr>
|
---|
63 | <tr><td> </td><td><font size=-1><em>This is the primary constructor which takes all of the information required to construct a complete attribute object.</em> <a href="#z250_1">More...</a><em></em></font><br><br></td></tr>
|
---|
64 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classXMLAttr.html#z250_2">XMLAttr</a> (const unsigned int uriId, const XMLCh *const rawName, const XMLCh *const attrValue, const <a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> type=XMLAttDef::CData, const bool specified=true, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)</td></tr>
|
---|
65 | <tr><td> </td><td><font size=-1><em>This is the primary constructor which takes all of the information required to construct a complete attribute object.</em> <a href="#z250_2">More...</a><em></em></font><br><br></td></tr>
|
---|
66 | <tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
|
---|
67 | <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classXMLAttr.html#z251_0">~XMLAttr</a> ()</td></tr>
|
---|
68 | <tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
|
---|
69 | <tr><td nowrap align=right valign=top><a class="el" href="classQName.html">QName</a> * </td><td valign=bottom><a class="el" href="classXMLAttr.html#z252_0">getAttName</a> () const</td></tr>
|
---|
70 | <tr><td> </td><td><font size=-1><em>This methode returns the attribute name in a <a class="el" href="classQName.html">QName</a> format.</em> <a href="#z252_0">More...</a><em></em></font><br><br></td></tr>
|
---|
71 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classXMLAttr.html#z252_1">getName</a> () const</td></tr>
|
---|
72 | <tr><td> </td><td><font size=-1><em>This method gets a const pointer tot he name of the attribute.</em> <a href="#z252_1">More...</a><em></em></font><br><br></td></tr>
|
---|
73 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classXMLAttr.html#z252_2">getPrefix</a> () const</td></tr>
|
---|
74 | <tr><td> </td><td><font size=-1><em>This method will get a const pointer to the prefix string of this attribute.</em> <a href="#z252_2">More...</a><em></em></font><br><br></td></tr>
|
---|
75 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classXMLAttr.html#z252_3">getQName</a> () const</td></tr>
|
---|
76 | <tr><td> </td><td><font size=-1><em>This method will get the <a class="el" href="classQName.html">QName</a> of this attribute, which will be the prefix if any, then a colon, then the base name.</em> <a href="#z252_3">More...</a><em></em></font><br><br></td></tr>
|
---|
77 | <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classXMLAttr.html#z252_4">getSpecified</a> () const</td></tr>
|
---|
78 | <tr><td> </td><td><font size=-1><em>This method will get the specified flag, which indicates whether the attribute was explicitly specified or just faulted in.</em> <a href="#z252_4">More...</a><em></em></font><br><br></td></tr>
|
---|
79 | <tr><td nowrap align=right valign=top><a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> </td><td valign=bottom><a class="el" href="classXMLAttr.html#z252_5">getType</a> () const</td></tr>
|
---|
80 | <tr><td> </td><td><font size=-1><em>This method will get the type of the attribute.</em> <a href="#z252_5">More...</a><em></em></font><br><br></td></tr>
|
---|
81 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classXMLAttr.html#z252_6">getValue</a> () const</td></tr>
|
---|
82 | <tr><td> </td><td><font size=-1><em>This method will get the value of the attribute.</em> <a href="#z252_6">More...</a><em></em></font><br><br></td></tr>
|
---|
83 | <tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="classXMLAttr.html#z252_7">getURIId</a> () const</td></tr>
|
---|
84 | <tr><td> </td><td><font size=-1><em>This method will get the id of the URI that this attribute's prefix mapped to.</em> <a href="#z252_7">More...</a><em></em></font><br><br></td></tr>
|
---|
85 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classXMLAttr.html#z252_8">getValidatingTypeURI</a> () const</td></tr>
|
---|
86 | <tr><td nowrap align=right valign=top>const XMLCh * </td><td valign=bottom><a class="el" href="classXMLAttr.html#z252_9">getValidatingTypeName</a> () const</td></tr>
|
---|
87 | <tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
|
---|
88 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttr.html#z253_0">set</a> (const unsigned int uriId, const XMLCh *const attrName, const XMLCh *const attrPrefix, const XMLCh *const attrValue, const <a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> type=XMLAttDef::CData, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)</td></tr>
|
---|
89 | <tr><td> </td><td><font size=-1><em>This method is called to set up a default constructed object after the fact, or to reuse a previously used object.</em> <a href="#z253_0">More...</a><em></em></font><br><br></td></tr>
|
---|
90 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttr.html#z253_1">set</a> (const unsigned int uriId, const XMLCh *const attrRawName, const XMLCh *const attrValue, const <a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> type=XMLAttDef::CData, DatatypeValidator *datatypeValidator=0, const bool isSchema=false)</td></tr>
|
---|
91 | <tr><td> </td><td><font size=-1><em>This method is called to set up a default constructed object after the fact, or to reuse a previously used object.</em> <a href="#z253_1">More...</a><em></em></font><br><br></td></tr>
|
---|
92 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttr.html#z253_2">setName</a> (const unsigned int uriId, const XMLCh *const attrName, const XMLCh *const attrPrefix)</td></tr>
|
---|
93 | <tr><td> </td><td><font size=-1><em>This method will update just the name related fields of the attribute object.</em> <a href="#z253_2">More...</a><em></em></font><br><br></td></tr>
|
---|
94 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttr.html#z253_3">setSpecified</a> (const bool newValue)</td></tr>
|
---|
95 | <tr><td> </td><td><font size=-1><em>This method will update the specified state of the object.</em> <a href="#z253_3">More...</a><em></em></font><br><br></td></tr>
|
---|
96 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttr.html#z253_4">setType</a> (const <a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> newType)</td></tr>
|
---|
97 | <tr><td> </td><td><font size=-1><em>This method will update the attribute type of the object.</em> <a href="#z253_4">More...</a><em></em></font><br><br></td></tr>
|
---|
98 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttr.html#z253_5">setValue</a> (const XMLCh *const newValue)</td></tr>
|
---|
99 | <tr><td> </td><td><font size=-1><em>This method will update the value field of the attribute.</em> <a href="#z253_5">More...</a><em></em></font><br><br></td></tr>
|
---|
100 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttr.html#z253_6">setURIId</a> (const unsigned int uriId)</td></tr>
|
---|
101 | <tr><td> </td><td><font size=-1><em>This method will set the URI id field of this attribute.</em> <a href="#z253_6">More...</a><em></em></font><br><br></td></tr>
|
---|
102 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttr.html#z253_7">setDatatypeValidator</a> (DatatypeValidator *datatypeValidator)</td></tr>
|
---|
103 | <tr><td> </td><td><font size=-1><em>This method will update the datatype validator that was used to assess the validity of the value of this attribute.</em> <a href="#z253_7">More...</a><em></em></font><br><br></td></tr>
|
---|
104 | <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classXMLAttr.html#z253_8">setSchemaValidated</a> (const bool isSchema)</td></tr>
|
---|
105 | <tr><td> </td><td><font size=-1><em>This method will define whether the attribute was validated by an XML Schema.</em> <a href="#z253_8">More...</a><em></em></font><br><br></td></tr>
|
---|
106 | </table>
|
---|
107 | <hr><a name="_details"></a><h2>Detailed Description</h2>
|
---|
108 | This class defines the information about an attribute that will come out of the scanner during parsing.
|
---|
109 | <p>
|
---|
110 | This information does not depend upon the type of validator because it is not tied to any scheme/DTD type info. Its just the raw XML 1.0 information that will be reported about an attribute in the startElement() callback method of the <a class="el" href="classXMLDocumentHandler.html">XMLDocumentHandler</a> class. Hence it is not intended to be extended or derived from. Its designed to be used as is.
|
---|
111 | <p>
|
---|
112 | The 'specified' field of this class indicates whether the attribute was actually present or whether it was faulted in because it had a fixed or default value.
|
---|
113 | <p>
|
---|
114 | The code receiving this information can ask its validator for more info about the attribute, i.e. get its declaration from the DTD/Schema info.
|
---|
115 | <p>
|
---|
116 | Because of the heavy use (and reuse) of instances of this class, and the number of string members it has, this class takes pains to not reallocate string members unless it has to. It keeps up with how long each buffer is and only reallocates if the new value won't fit.
|
---|
117 | <p>
|
---|
118 | <hr><h2>Constructor & Destructor Documentation</h2>
|
---|
119 | <a name="z250_0" doxytag="XMLAttr::XMLAttr"></a><p>
|
---|
120 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
121 | <tr>
|
---|
122 | <td class="md">
|
---|
123 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
124 | <tr>
|
---|
125 | <td class="md" nowrap valign="top"> XMLAttr::XMLAttr </td>
|
---|
126 | <td class="md" valign="top">( </td>
|
---|
127 | <td class="md" nowrap valign="top"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
128 | <td class="mdname1" valign="top" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a> </td>
|
---|
129 | <td class="md" valign="top">) </td>
|
---|
130 | <td class="md" nowrap></td>
|
---|
131 | </tr>
|
---|
132 |
|
---|
133 | </table>
|
---|
134 | </td>
|
---|
135 | </tr>
|
---|
136 | </table>
|
---|
137 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
138 | <tr>
|
---|
139 | <td>
|
---|
140 |
|
---|
141 | </td>
|
---|
142 | <td>
|
---|
143 |
|
---|
144 | <p>
|
---|
145 | The default constructor just setsup an empty attribute to be filled in the later.
|
---|
146 | <p>
|
---|
147 | Though the initial state is a reasonable one, it is not documented because it should not be depended on.<dl compact><dt><b>
|
---|
148 | Parameters: </b><dd>
|
---|
149 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
150 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
151 | The configurable memory manager </td></tr>
|
---|
152 | </table>
|
---|
153 | </dl> </td>
|
---|
154 | </tr>
|
---|
155 | </table>
|
---|
156 | <a name="z250_1" doxytag="XMLAttr::XMLAttr"></a><p>
|
---|
157 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
158 | <tr>
|
---|
159 | <td class="md">
|
---|
160 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
161 | <tr>
|
---|
162 | <td class="md" nowrap valign="top"> XMLAttr::XMLAttr </td>
|
---|
163 | <td class="md" valign="top">( </td>
|
---|
164 | <td class="md" nowrap valign="top">const unsigned int </td>
|
---|
165 | <td class="mdname" nowrap> <em>uriId</em>, </td>
|
---|
166 | </tr>
|
---|
167 | <tr>
|
---|
168 | <td></td>
|
---|
169 | <td></td>
|
---|
170 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
171 | <td class="mdname" nowrap> <em>attrName</em>, </td>
|
---|
172 | </tr>
|
---|
173 | <tr>
|
---|
174 | <td></td>
|
---|
175 | <td></td>
|
---|
176 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
177 | <td class="mdname" nowrap> <em>attrPrefix</em>, </td>
|
---|
178 | </tr>
|
---|
179 | <tr>
|
---|
180 | <td></td>
|
---|
181 | <td></td>
|
---|
182 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
183 | <td class="mdname" nowrap> <em>attrValue</em>, </td>
|
---|
184 | </tr>
|
---|
185 | <tr>
|
---|
186 | <td></td>
|
---|
187 | <td></td>
|
---|
188 | <td class="md" nowrap>const <a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> </td>
|
---|
189 | <td class="mdname" nowrap> <em>type</em> = XMLAttDef::CData, </td>
|
---|
190 | </tr>
|
---|
191 | <tr>
|
---|
192 | <td></td>
|
---|
193 | <td></td>
|
---|
194 | <td class="md" nowrap>const bool </td>
|
---|
195 | <td class="mdname" nowrap> <em>specified</em> = true, </td>
|
---|
196 | </tr>
|
---|
197 | <tr>
|
---|
198 | <td></td>
|
---|
199 | <td></td>
|
---|
200 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
201 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>, </td>
|
---|
202 | </tr>
|
---|
203 | <tr>
|
---|
204 | <td></td>
|
---|
205 | <td></td>
|
---|
206 | <td class="md" nowrap>DatatypeValidator * </td>
|
---|
207 | <td class="mdname" nowrap> <em>datatypeValidator</em> = 0, </td>
|
---|
208 | </tr>
|
---|
209 | <tr>
|
---|
210 | <td></td>
|
---|
211 | <td></td>
|
---|
212 | <td class="md" nowrap>const bool </td>
|
---|
213 | <td class="mdname" nowrap> <em>isSchema</em> = false</td>
|
---|
214 | </tr>
|
---|
215 | <tr>
|
---|
216 | <td></td>
|
---|
217 | <td class="md">) </td>
|
---|
218 | <td class="md" colspan="2"></td>
|
---|
219 | </tr>
|
---|
220 |
|
---|
221 | </table>
|
---|
222 | </td>
|
---|
223 | </tr>
|
---|
224 | </table>
|
---|
225 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
226 | <tr>
|
---|
227 | <td>
|
---|
228 |
|
---|
229 | </td>
|
---|
230 | <td>
|
---|
231 |
|
---|
232 | <p>
|
---|
233 | This is the primary constructor which takes all of the information required to construct a complete attribute object.
|
---|
234 | <p>
|
---|
235 | <dl compact><dt><b>
|
---|
236 | Parameters: </b><dd>
|
---|
237 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
238 | <tr><td valign=top><em>uriId</em> </td><td>
|
---|
239 | The id into the validator's URI pool of the URI that the prefix mapped to. Only used if namespaces are enabled/supported.</td></tr>
|
---|
240 | <tr><td valign=top><em>attrName</em> </td><td>
|
---|
241 | The base name of the attribute, i.e. the part after any prefix.</td></tr>
|
---|
242 | <tr><td valign=top><em>attrPrefix</em> </td><td>
|
---|
243 | The prefix, if any, of this attribute's name. If this is empty, then uriID is meaningless as well.</td></tr>
|
---|
244 | <tr><td valign=top><em>attrValue</em> </td><td>
|
---|
245 | The value string of the attribute, which should be fully normalized by XML rules!</td></tr>
|
---|
246 | <tr><td valign=top><em>type</em> </td><td>
|
---|
247 | The type of the attribute. This will indicate the type of normalization done and constrains the value content. Make sure that the value set meets the constraints!</td></tr>
|
---|
248 | <tr><td valign=top><em>specified</em> </td><td>
|
---|
249 | Indicates whether the attribute was explicitly specified or not. If not, then it was faulted in from a FIXED or DEFAULT value.</td></tr>
|
---|
250 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
251 | The configurable memory manager </td></tr>
|
---|
252 | <tr><td valign=top><em>datatypeValidator</em> </td><td>
|
---|
253 | type used to validate the attribute, if it was validated by an XML Schema </td></tr>
|
---|
254 | <tr><td valign=top><em>isSchema</em> </td><td>
|
---|
255 | true if and only if this attribute was validated by an XML Schema </td></tr>
|
---|
256 | </table>
|
---|
257 | </dl> </td>
|
---|
258 | </tr>
|
---|
259 | </table>
|
---|
260 | <a name="z250_2" doxytag="XMLAttr::XMLAttr"></a><p>
|
---|
261 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
262 | <tr>
|
---|
263 | <td class="md">
|
---|
264 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
265 | <tr>
|
---|
266 | <td class="md" nowrap valign="top"> XMLAttr::XMLAttr </td>
|
---|
267 | <td class="md" valign="top">( </td>
|
---|
268 | <td class="md" nowrap valign="top">const unsigned int </td>
|
---|
269 | <td class="mdname" nowrap> <em>uriId</em>, </td>
|
---|
270 | </tr>
|
---|
271 | <tr>
|
---|
272 | <td></td>
|
---|
273 | <td></td>
|
---|
274 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
275 | <td class="mdname" nowrap> <em>rawName</em>, </td>
|
---|
276 | </tr>
|
---|
277 | <tr>
|
---|
278 | <td></td>
|
---|
279 | <td></td>
|
---|
280 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
281 | <td class="mdname" nowrap> <em>attrValue</em>, </td>
|
---|
282 | </tr>
|
---|
283 | <tr>
|
---|
284 | <td></td>
|
---|
285 | <td></td>
|
---|
286 | <td class="md" nowrap>const <a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> </td>
|
---|
287 | <td class="mdname" nowrap> <em>type</em> = XMLAttDef::CData, </td>
|
---|
288 | </tr>
|
---|
289 | <tr>
|
---|
290 | <td></td>
|
---|
291 | <td></td>
|
---|
292 | <td class="md" nowrap>const bool </td>
|
---|
293 | <td class="mdname" nowrap> <em>specified</em> = true, </td>
|
---|
294 | </tr>
|
---|
295 | <tr>
|
---|
296 | <td></td>
|
---|
297 | <td></td>
|
---|
298 | <td class="md" nowrap><a class="el" href="classMemoryManager.html">MemoryManager</a> *const </td>
|
---|
299 | <td class="mdname" nowrap> <em>manager</em> = <a class="el" href="classXMLPlatformUtils.html#z488_4">XMLPlatformUtils::fgMemoryManager</a>, </td>
|
---|
300 | </tr>
|
---|
301 | <tr>
|
---|
302 | <td></td>
|
---|
303 | <td></td>
|
---|
304 | <td class="md" nowrap>DatatypeValidator * </td>
|
---|
305 | <td class="mdname" nowrap> <em>datatypeValidator</em> = 0, </td>
|
---|
306 | </tr>
|
---|
307 | <tr>
|
---|
308 | <td></td>
|
---|
309 | <td></td>
|
---|
310 | <td class="md" nowrap>const bool </td>
|
---|
311 | <td class="mdname" nowrap> <em>isSchema</em> = false</td>
|
---|
312 | </tr>
|
---|
313 | <tr>
|
---|
314 | <td></td>
|
---|
315 | <td class="md">) </td>
|
---|
316 | <td class="md" colspan="2"></td>
|
---|
317 | </tr>
|
---|
318 |
|
---|
319 | </table>
|
---|
320 | </td>
|
---|
321 | </tr>
|
---|
322 | </table>
|
---|
323 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
324 | <tr>
|
---|
325 | <td>
|
---|
326 |
|
---|
327 | </td>
|
---|
328 | <td>
|
---|
329 |
|
---|
330 | <p>
|
---|
331 | This is the primary constructor which takes all of the information required to construct a complete attribute object.
|
---|
332 | <p>
|
---|
333 | <dl compact><dt><b>
|
---|
334 | Parameters: </b><dd>
|
---|
335 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
336 | <tr><td valign=top><em>uriId</em> </td><td>
|
---|
337 | The id into the validator's URI pool of the URI that the prefix mapped to. Only used if namespaces are enabled/supported.</td></tr>
|
---|
338 | <tr><td valign=top><em>rawName</em> </td><td>
|
---|
339 | The raw name of the attribute.</td></tr>
|
---|
340 | <tr><td valign=top><em>attrValue</em> </td><td>
|
---|
341 | The value string of the attribute, which should be fully normalized by XML rules!</td></tr>
|
---|
342 | <tr><td valign=top><em>type</em> </td><td>
|
---|
343 | The type of the attribute. This will indicate the type of normalization done and constrains the value content. Make sure that the value set meets the constraints!</td></tr>
|
---|
344 | <tr><td valign=top><em>specified</em> </td><td>
|
---|
345 | Indicates whether the attribute was explicitly specified or not. If not, then it was faulted in from a FIXED or DEFAULT value.</td></tr>
|
---|
346 | <tr><td valign=top><em>manager</em> </td><td>
|
---|
347 | The configurable memory manager </td></tr>
|
---|
348 | <tr><td valign=top><em>datatypeValidator</em> </td><td>
|
---|
349 | type used to validate the attribute, if it was validated by an XML Schema </td></tr>
|
---|
350 | <tr><td valign=top><em>isSchema</em> </td><td>
|
---|
351 | true if and only if this attribute was validated by an XML Schema </td></tr>
|
---|
352 | </table>
|
---|
353 | </dl> </td>
|
---|
354 | </tr>
|
---|
355 | </table>
|
---|
356 | <a name="z251_0" doxytag="XMLAttr::~XMLAttr"></a><p>
|
---|
357 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
358 | <tr>
|
---|
359 | <td class="md">
|
---|
360 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
361 | <tr>
|
---|
362 | <td class="md" nowrap valign="top"> XMLAttr::~XMLAttr </td>
|
---|
363 | <td class="md" valign="top">( </td>
|
---|
364 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
365 | <td class="md" valign="top">) </td>
|
---|
366 | <td class="md" nowrap></td>
|
---|
367 | </tr>
|
---|
368 |
|
---|
369 | </table>
|
---|
370 | </td>
|
---|
371 | </tr>
|
---|
372 | </table>
|
---|
373 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
374 | <tr>
|
---|
375 | <td>
|
---|
376 |
|
---|
377 | </td>
|
---|
378 | <td>
|
---|
379 |
|
---|
380 | <p>
|
---|
381 | </td>
|
---|
382 | </tr>
|
---|
383 | </table>
|
---|
384 | <hr><h2>Member Function Documentation</h2>
|
---|
385 | <a name="z252_0" doxytag="XMLAttr::getAttName"></a><p>
|
---|
386 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
387 | <tr>
|
---|
388 | <td class="md">
|
---|
389 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
390 | <tr>
|
---|
391 | <td class="md" nowrap valign="top"> <a class="el" href="classQName.html">QName</a> * XMLAttr::getAttName </td>
|
---|
392 | <td class="md" valign="top">( </td>
|
---|
393 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
394 | <td class="md" valign="top">) </td>
|
---|
395 | <td class="md" nowrap> const</td>
|
---|
396 | </tr>
|
---|
397 |
|
---|
398 | </table>
|
---|
399 | </td>
|
---|
400 | </tr>
|
---|
401 | </table>
|
---|
402 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
403 | <tr>
|
---|
404 | <td>
|
---|
405 |
|
---|
406 | </td>
|
---|
407 | <td>
|
---|
408 |
|
---|
409 | <p>
|
---|
410 | This methode returns the attribute name in a <a class="el" href="classQName.html">QName</a> format.
|
---|
411 | <p>
|
---|
412 | </td>
|
---|
413 | </tr>
|
---|
414 | </table>
|
---|
415 | <a name="z252_1" doxytag="XMLAttr::getName"></a><p>
|
---|
416 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
417 | <tr>
|
---|
418 | <td class="md">
|
---|
419 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
420 | <tr>
|
---|
421 | <td class="md" nowrap valign="top"> const XMLCh * XMLAttr::getName </td>
|
---|
422 | <td class="md" valign="top">( </td>
|
---|
423 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
424 | <td class="md" valign="top">) </td>
|
---|
425 | <td class="md" nowrap> const</td>
|
---|
426 | </tr>
|
---|
427 |
|
---|
428 | </table>
|
---|
429 | </td>
|
---|
430 | </tr>
|
---|
431 | </table>
|
---|
432 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
433 | <tr>
|
---|
434 | <td>
|
---|
435 |
|
---|
436 | </td>
|
---|
437 | <td>
|
---|
438 |
|
---|
439 | <p>
|
---|
440 | This method gets a const pointer tot he name of the attribute.
|
---|
441 | <p>
|
---|
442 | The form of this name is defined by the validator in use. </td>
|
---|
443 | </tr>
|
---|
444 | </table>
|
---|
445 | <a name="z252_2" doxytag="XMLAttr::getPrefix"></a><p>
|
---|
446 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
447 | <tr>
|
---|
448 | <td class="md">
|
---|
449 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
450 | <tr>
|
---|
451 | <td class="md" nowrap valign="top"> const XMLCh * XMLAttr::getPrefix </td>
|
---|
452 | <td class="md" valign="top">( </td>
|
---|
453 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
454 | <td class="md" valign="top">) </td>
|
---|
455 | <td class="md" nowrap> const</td>
|
---|
456 | </tr>
|
---|
457 |
|
---|
458 | </table>
|
---|
459 | </td>
|
---|
460 | </tr>
|
---|
461 | </table>
|
---|
462 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
463 | <tr>
|
---|
464 | <td>
|
---|
465 |
|
---|
466 | </td>
|
---|
467 | <td>
|
---|
468 |
|
---|
469 | <p>
|
---|
470 | This method will get a const pointer to the prefix string of this attribute.
|
---|
471 | <p>
|
---|
472 | Since prefixes are optional, it may be zero. </td>
|
---|
473 | </tr>
|
---|
474 | </table>
|
---|
475 | <a name="z252_3" doxytag="XMLAttr::getQName"></a><p>
|
---|
476 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
477 | <tr>
|
---|
478 | <td class="md">
|
---|
479 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
480 | <tr>
|
---|
481 | <td class="md" nowrap valign="top"> const XMLCh* XMLAttr::getQName </td>
|
---|
482 | <td class="md" valign="top">( </td>
|
---|
483 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
484 | <td class="md" valign="top">) </td>
|
---|
485 | <td class="md" nowrap> const</td>
|
---|
486 | </tr>
|
---|
487 |
|
---|
488 | </table>
|
---|
489 | </td>
|
---|
490 | </tr>
|
---|
491 | </table>
|
---|
492 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
493 | <tr>
|
---|
494 | <td>
|
---|
495 |
|
---|
496 | </td>
|
---|
497 | <td>
|
---|
498 |
|
---|
499 | <p>
|
---|
500 | This method will get the <a class="el" href="classQName.html">QName</a> of this attribute, which will be the prefix if any, then a colon, then the base name.
|
---|
501 | <p>
|
---|
502 | If there was no prefix, its the same as the <a class="el" href="classXMLAttr.html#z252_1">getName</a>() method. </td>
|
---|
503 | </tr>
|
---|
504 | </table>
|
---|
505 | <a name="z252_4" doxytag="XMLAttr::getSpecified"></a><p>
|
---|
506 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
507 | <tr>
|
---|
508 | <td class="md">
|
---|
509 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
510 | <tr>
|
---|
511 | <td class="md" nowrap valign="top"> bool XMLAttr::getSpecified </td>
|
---|
512 | <td class="md" valign="top">( </td>
|
---|
513 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
514 | <td class="md" valign="top">) </td>
|
---|
515 | <td class="md" nowrap> const</td>
|
---|
516 | </tr>
|
---|
517 |
|
---|
518 | </table>
|
---|
519 | </td>
|
---|
520 | </tr>
|
---|
521 | </table>
|
---|
522 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
523 | <tr>
|
---|
524 | <td>
|
---|
525 |
|
---|
526 | </td>
|
---|
527 | <td>
|
---|
528 |
|
---|
529 | <p>
|
---|
530 | This method will get the specified flag, which indicates whether the attribute was explicitly specified or just faulted in.
|
---|
531 | <p>
|
---|
532 | </td>
|
---|
533 | </tr>
|
---|
534 | </table>
|
---|
535 | <a name="z252_5" doxytag="XMLAttr::getType"></a><p>
|
---|
536 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
537 | <tr>
|
---|
538 | <td class="md">
|
---|
539 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
540 | <tr>
|
---|
541 | <td class="md" nowrap valign="top"> <a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> XMLAttr::getType </td>
|
---|
542 | <td class="md" valign="top">( </td>
|
---|
543 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
544 | <td class="md" valign="top">) </td>
|
---|
545 | <td class="md" nowrap> const</td>
|
---|
546 | </tr>
|
---|
547 |
|
---|
548 | </table>
|
---|
549 | </td>
|
---|
550 | </tr>
|
---|
551 | </table>
|
---|
552 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
553 | <tr>
|
---|
554 | <td>
|
---|
555 |
|
---|
556 | </td>
|
---|
557 | <td>
|
---|
558 |
|
---|
559 | <p>
|
---|
560 | This method will get the type of the attribute.
|
---|
561 | <p>
|
---|
562 | The available types are defined by the XML specification. </td>
|
---|
563 | </tr>
|
---|
564 | </table>
|
---|
565 | <a name="z252_7" doxytag="XMLAttr::getURIId"></a><p>
|
---|
566 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
567 | <tr>
|
---|
568 | <td class="md">
|
---|
569 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
570 | <tr>
|
---|
571 | <td class="md" nowrap valign="top"> unsigned int XMLAttr::getURIId </td>
|
---|
572 | <td class="md" valign="top">( </td>
|
---|
573 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
574 | <td class="md" valign="top">) </td>
|
---|
575 | <td class="md" nowrap> const</td>
|
---|
576 | </tr>
|
---|
577 |
|
---|
578 | </table>
|
---|
579 | </td>
|
---|
580 | </tr>
|
---|
581 | </table>
|
---|
582 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
583 | <tr>
|
---|
584 | <td>
|
---|
585 |
|
---|
586 | </td>
|
---|
587 | <td>
|
---|
588 |
|
---|
589 | <p>
|
---|
590 | This method will get the id of the URI that this attribute's prefix mapped to.
|
---|
591 | <p>
|
---|
592 | If namespaces are not on, then its value is meaningless. </td>
|
---|
593 | </tr>
|
---|
594 | </table>
|
---|
595 | <a name="z252_9" doxytag="XMLAttr::getValidatingTypeName"></a><p>
|
---|
596 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
597 | <tr>
|
---|
598 | <td class="md">
|
---|
599 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
600 | <tr>
|
---|
601 | <td class="md" nowrap valign="top"> const XMLCh * XMLAttr::getValidatingTypeName </td>
|
---|
602 | <td class="md" valign="top">( </td>
|
---|
603 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
604 | <td class="md" valign="top">) </td>
|
---|
605 | <td class="md" nowrap> const</td>
|
---|
606 | </tr>
|
---|
607 |
|
---|
608 | </table>
|
---|
609 | </td>
|
---|
610 | </tr>
|
---|
611 | </table>
|
---|
612 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
613 | <tr>
|
---|
614 | <td>
|
---|
615 |
|
---|
616 | </td>
|
---|
617 | <td>
|
---|
618 |
|
---|
619 | <p>
|
---|
620 | <dl compact><dt><b>
|
---|
621 | Returns: </b><dd>
|
---|
622 | the name part of DOM Level 3 TypeInfo </dl><dl compact><dt><b>
|
---|
623 | Deprecated: </b><dd>
|
---|
624 | </dl> </td>
|
---|
625 | </tr>
|
---|
626 | </table>
|
---|
627 | <a name="z252_8" doxytag="XMLAttr::getValidatingTypeURI"></a><p>
|
---|
628 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
629 | <tr>
|
---|
630 | <td class="md">
|
---|
631 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
632 | <tr>
|
---|
633 | <td class="md" nowrap valign="top"> const XMLCh * XMLAttr::getValidatingTypeURI </td>
|
---|
634 | <td class="md" valign="top">( </td>
|
---|
635 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
636 | <td class="md" valign="top">) </td>
|
---|
637 | <td class="md" nowrap> const</td>
|
---|
638 | </tr>
|
---|
639 |
|
---|
640 | </table>
|
---|
641 | </td>
|
---|
642 | </tr>
|
---|
643 | </table>
|
---|
644 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
645 | <tr>
|
---|
646 | <td>
|
---|
647 |
|
---|
648 | </td>
|
---|
649 | <td>
|
---|
650 |
|
---|
651 | <p>
|
---|
652 | <dl compact><dt><b>
|
---|
653 | Returns: </b><dd>
|
---|
654 | the uri part of DOM Level 3 TypeInfo </dl><dl compact><dt><b>
|
---|
655 | Deprecated: </b><dd>
|
---|
656 | </dl> </td>
|
---|
657 | </tr>
|
---|
658 | </table>
|
---|
659 | <a name="z252_6" doxytag="XMLAttr::getValue"></a><p>
|
---|
660 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
661 | <tr>
|
---|
662 | <td class="md">
|
---|
663 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
664 | <tr>
|
---|
665 | <td class="md" nowrap valign="top"> const XMLCh * XMLAttr::getValue </td>
|
---|
666 | <td class="md" valign="top">( </td>
|
---|
667 | <td class="mdname1" valign="top" nowrap> </td>
|
---|
668 | <td class="md" valign="top">) </td>
|
---|
669 | <td class="md" nowrap> const</td>
|
---|
670 | </tr>
|
---|
671 |
|
---|
672 | </table>
|
---|
673 | </td>
|
---|
674 | </tr>
|
---|
675 | </table>
|
---|
676 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
677 | <tr>
|
---|
678 | <td>
|
---|
679 |
|
---|
680 | </td>
|
---|
681 | <td>
|
---|
682 |
|
---|
683 | <p>
|
---|
684 | This method will get the value of the attribute.
|
---|
685 | <p>
|
---|
686 | The value can be be an empty string, but never null if the object is correctly set up. </td>
|
---|
687 | </tr>
|
---|
688 | </table>
|
---|
689 | <a name="z253_1" doxytag="XMLAttr::set"></a><p>
|
---|
690 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
691 | <tr>
|
---|
692 | <td class="md">
|
---|
693 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
694 | <tr>
|
---|
695 | <td class="md" nowrap valign="top"> void XMLAttr::set </td>
|
---|
696 | <td class="md" valign="top">( </td>
|
---|
697 | <td class="md" nowrap valign="top">const unsigned int </td>
|
---|
698 | <td class="mdname" nowrap> <em>uriId</em>, </td>
|
---|
699 | </tr>
|
---|
700 | <tr>
|
---|
701 | <td></td>
|
---|
702 | <td></td>
|
---|
703 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
704 | <td class="mdname" nowrap> <em>attrRawName</em>, </td>
|
---|
705 | </tr>
|
---|
706 | <tr>
|
---|
707 | <td></td>
|
---|
708 | <td></td>
|
---|
709 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
710 | <td class="mdname" nowrap> <em>attrValue</em>, </td>
|
---|
711 | </tr>
|
---|
712 | <tr>
|
---|
713 | <td></td>
|
---|
714 | <td></td>
|
---|
715 | <td class="md" nowrap>const <a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> </td>
|
---|
716 | <td class="mdname" nowrap> <em>type</em> = XMLAttDef::CData, </td>
|
---|
717 | </tr>
|
---|
718 | <tr>
|
---|
719 | <td></td>
|
---|
720 | <td></td>
|
---|
721 | <td class="md" nowrap>DatatypeValidator * </td>
|
---|
722 | <td class="mdname" nowrap> <em>datatypeValidator</em> = 0, </td>
|
---|
723 | </tr>
|
---|
724 | <tr>
|
---|
725 | <td></td>
|
---|
726 | <td></td>
|
---|
727 | <td class="md" nowrap>const bool </td>
|
---|
728 | <td class="mdname" nowrap> <em>isSchema</em> = false</td>
|
---|
729 | </tr>
|
---|
730 | <tr>
|
---|
731 | <td></td>
|
---|
732 | <td class="md">) </td>
|
---|
733 | <td class="md" colspan="2"></td>
|
---|
734 | </tr>
|
---|
735 |
|
---|
736 | </table>
|
---|
737 | </td>
|
---|
738 | </tr>
|
---|
739 | </table>
|
---|
740 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
741 | <tr>
|
---|
742 | <td>
|
---|
743 |
|
---|
744 | </td>
|
---|
745 | <td>
|
---|
746 |
|
---|
747 | <p>
|
---|
748 | This method is called to set up a default constructed object after the fact, or to reuse a previously used object.
|
---|
749 | <p>
|
---|
750 | <dl compact><dt><b>
|
---|
751 | Parameters: </b><dd>
|
---|
752 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
753 | <tr><td valign=top><em>uriId</em> </td><td>
|
---|
754 | The id into the validator's URI pool of the URI that the prefix mapped to. Only used if namespaces are enabled/supported.</td></tr>
|
---|
755 | <tr><td valign=top><em>attrRawName</em> </td><td>
|
---|
756 | The raw name of the attribute.</td></tr>
|
---|
757 | <tr><td valign=top><em>attrValue</em> </td><td>
|
---|
758 | The value string of the attribute, which should be fully normalized by XML rules according to the attribute type.</td></tr>
|
---|
759 | <tr><td valign=top><em>type</em> </td><td>
|
---|
760 | The type of the attribute. This will indicate the type of normalization done and constrains the value content. Make sure that the value set meets the constraints! </td></tr>
|
---|
761 | <tr><td valign=top><em>datatypeValidator</em> </td><td>
|
---|
762 | type used to validate the attribute, if it was validated by an XML Schema </td></tr>
|
---|
763 | <tr><td valign=top><em>isSchema</em> </td><td>
|
---|
764 | true if and only if this attribute was validated by an XML Schema </td></tr>
|
---|
765 | </table>
|
---|
766 | </dl> </td>
|
---|
767 | </tr>
|
---|
768 | </table>
|
---|
769 | <a name="z253_0" doxytag="XMLAttr::set"></a><p>
|
---|
770 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
771 | <tr>
|
---|
772 | <td class="md">
|
---|
773 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
774 | <tr>
|
---|
775 | <td class="md" nowrap valign="top"> void XMLAttr::set </td>
|
---|
776 | <td class="md" valign="top">( </td>
|
---|
777 | <td class="md" nowrap valign="top">const unsigned int </td>
|
---|
778 | <td class="mdname" nowrap> <em>uriId</em>, </td>
|
---|
779 | </tr>
|
---|
780 | <tr>
|
---|
781 | <td></td>
|
---|
782 | <td></td>
|
---|
783 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
784 | <td class="mdname" nowrap> <em>attrName</em>, </td>
|
---|
785 | </tr>
|
---|
786 | <tr>
|
---|
787 | <td></td>
|
---|
788 | <td></td>
|
---|
789 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
790 | <td class="mdname" nowrap> <em>attrPrefix</em>, </td>
|
---|
791 | </tr>
|
---|
792 | <tr>
|
---|
793 | <td></td>
|
---|
794 | <td></td>
|
---|
795 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
796 | <td class="mdname" nowrap> <em>attrValue</em>, </td>
|
---|
797 | </tr>
|
---|
798 | <tr>
|
---|
799 | <td></td>
|
---|
800 | <td></td>
|
---|
801 | <td class="md" nowrap>const <a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> </td>
|
---|
802 | <td class="mdname" nowrap> <em>type</em> = XMLAttDef::CData, </td>
|
---|
803 | </tr>
|
---|
804 | <tr>
|
---|
805 | <td></td>
|
---|
806 | <td></td>
|
---|
807 | <td class="md" nowrap>DatatypeValidator * </td>
|
---|
808 | <td class="mdname" nowrap> <em>datatypeValidator</em> = 0, </td>
|
---|
809 | </tr>
|
---|
810 | <tr>
|
---|
811 | <td></td>
|
---|
812 | <td></td>
|
---|
813 | <td class="md" nowrap>const bool </td>
|
---|
814 | <td class="mdname" nowrap> <em>isSchema</em> = false</td>
|
---|
815 | </tr>
|
---|
816 | <tr>
|
---|
817 | <td></td>
|
---|
818 | <td class="md">) </td>
|
---|
819 | <td class="md" colspan="2"></td>
|
---|
820 | </tr>
|
---|
821 |
|
---|
822 | </table>
|
---|
823 | </td>
|
---|
824 | </tr>
|
---|
825 | </table>
|
---|
826 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
827 | <tr>
|
---|
828 | <td>
|
---|
829 |
|
---|
830 | </td>
|
---|
831 | <td>
|
---|
832 |
|
---|
833 | <p>
|
---|
834 | This method is called to set up a default constructed object after the fact, or to reuse a previously used object.
|
---|
835 | <p>
|
---|
836 | <dl compact><dt><b>
|
---|
837 | Parameters: </b><dd>
|
---|
838 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
839 | <tr><td valign=top><em>uriId</em> </td><td>
|
---|
840 | The id into the validator's URI pool of the URI that the prefix mapped to. Only used if namespaces are enabled/supported.</td></tr>
|
---|
841 | <tr><td valign=top><em>attrName</em> </td><td>
|
---|
842 | The base name of the attribute, i.e. the part after any prefix.</td></tr>
|
---|
843 | <tr><td valign=top><em>attrPrefix</em> </td><td>
|
---|
844 | The prefix, if any, of this attribute's name. If this is empty, then uriID is meaningless as well.</td></tr>
|
---|
845 | <tr><td valign=top><em>attrValue</em> </td><td>
|
---|
846 | The value string of the attribute, which should be fully normalized by XML rules according to the attribute type.</td></tr>
|
---|
847 | <tr><td valign=top><em>type</em> </td><td>
|
---|
848 | The type of the attribute. This will indicate the type of normalization done and constrains the value content. Make sure that the value set meets the constraints! </td></tr>
|
---|
849 | <tr><td valign=top><em>datatypeValidator</em> </td><td>
|
---|
850 | type used to validate the attribute, if it was validated by an XML Schema </td></tr>
|
---|
851 | <tr><td valign=top><em>isSchema</em> </td><td>
|
---|
852 | true if and only if this attribute was validated by an XML Schema </td></tr>
|
---|
853 | </table>
|
---|
854 | </dl> </td>
|
---|
855 | </tr>
|
---|
856 | </table>
|
---|
857 | <a name="z253_7" doxytag="XMLAttr::setDatatypeValidator"></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"> void XMLAttr::setDatatypeValidator </td>
|
---|
864 | <td class="md" valign="top">( </td>
|
---|
865 | <td class="md" nowrap valign="top">DatatypeValidator * </td>
|
---|
866 | <td class="mdname1" valign="top" nowrap> <em>datatypeValidator</em> </td>
|
---|
867 | <td class="md" valign="top">) </td>
|
---|
868 | <td class="md" nowrap></td>
|
---|
869 | </tr>
|
---|
870 |
|
---|
871 | </table>
|
---|
872 | </td>
|
---|
873 | </tr>
|
---|
874 | </table>
|
---|
875 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
876 | <tr>
|
---|
877 | <td>
|
---|
878 |
|
---|
879 | </td>
|
---|
880 | <td>
|
---|
881 |
|
---|
882 | <p>
|
---|
883 | This method will update the datatype validator that was used to assess the validity of the value of this attribute.
|
---|
884 | <p>
|
---|
885 | <dl compact><dt><b>
|
---|
886 | Parameters: </b><dd>
|
---|
887 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
888 | <tr><td valign=top><em>datatypeValidator</em> </td><td>
|
---|
889 | DatatypeValidator used to assess the validity of this attribute's value </td></tr>
|
---|
890 | </table>
|
---|
891 | </dl><dl compact><dt><b>
|
---|
892 | Deprecated: </b><dd>
|
---|
893 | </dl> </td>
|
---|
894 | </tr>
|
---|
895 | </table>
|
---|
896 | <a name="z253_2" doxytag="XMLAttr::setName"></a><p>
|
---|
897 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
898 | <tr>
|
---|
899 | <td class="md">
|
---|
900 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
901 | <tr>
|
---|
902 | <td class="md" nowrap valign="top"> void XMLAttr::setName </td>
|
---|
903 | <td class="md" valign="top">( </td>
|
---|
904 | <td class="md" nowrap valign="top">const unsigned int </td>
|
---|
905 | <td class="mdname" nowrap> <em>uriId</em>, </td>
|
---|
906 | </tr>
|
---|
907 | <tr>
|
---|
908 | <td></td>
|
---|
909 | <td></td>
|
---|
910 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
911 | <td class="mdname" nowrap> <em>attrName</em>, </td>
|
---|
912 | </tr>
|
---|
913 | <tr>
|
---|
914 | <td></td>
|
---|
915 | <td></td>
|
---|
916 | <td class="md" nowrap>const XMLCh *const </td>
|
---|
917 | <td class="mdname" nowrap> <em>attrPrefix</em></td>
|
---|
918 | </tr>
|
---|
919 | <tr>
|
---|
920 | <td></td>
|
---|
921 | <td class="md">) </td>
|
---|
922 | <td class="md" colspan="2"></td>
|
---|
923 | </tr>
|
---|
924 |
|
---|
925 | </table>
|
---|
926 | </td>
|
---|
927 | </tr>
|
---|
928 | </table>
|
---|
929 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
930 | <tr>
|
---|
931 | <td>
|
---|
932 |
|
---|
933 | </td>
|
---|
934 | <td>
|
---|
935 |
|
---|
936 | <p>
|
---|
937 | This method will update just the name related fields of the attribute object.
|
---|
938 | <p>
|
---|
939 | The other fields are left as is.<dl compact><dt><b>
|
---|
940 | Parameters: </b><dd>
|
---|
941 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
942 | <tr><td valign=top><em>uriId</em> </td><td>
|
---|
943 | The id into the validator's URI pool of the URI that the prefix mapped to. Only used if namespaces are enabled/supported.</td></tr>
|
---|
944 | <tr><td valign=top><em>attrName</em> </td><td>
|
---|
945 | The base name of the attribute, i.e. the part after any prefix.</td></tr>
|
---|
946 | <tr><td valign=top><em>attrPrefix</em> </td><td>
|
---|
947 | The prefix, if any, of this attribute's name. If this is empty, then uriID is meaningless as well. </td></tr>
|
---|
948 | </table>
|
---|
949 | </dl> </td>
|
---|
950 | </tr>
|
---|
951 | </table>
|
---|
952 | <a name="z253_8" doxytag="XMLAttr::setSchemaValidated"></a><p>
|
---|
953 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
954 | <tr>
|
---|
955 | <td class="md">
|
---|
956 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
957 | <tr>
|
---|
958 | <td class="md" nowrap valign="top"> void XMLAttr::setSchemaValidated </td>
|
---|
959 | <td class="md" valign="top">( </td>
|
---|
960 | <td class="md" nowrap valign="top">const bool </td>
|
---|
961 | <td class="mdname1" valign="top" nowrap> <em>isSchema</em> </td>
|
---|
962 | <td class="md" valign="top">) </td>
|
---|
963 | <td class="md" nowrap></td>
|
---|
964 | </tr>
|
---|
965 |
|
---|
966 | </table>
|
---|
967 | </td>
|
---|
968 | </tr>
|
---|
969 | </table>
|
---|
970 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
971 | <tr>
|
---|
972 | <td>
|
---|
973 |
|
---|
974 | </td>
|
---|
975 | <td>
|
---|
976 |
|
---|
977 | <p>
|
---|
978 | This method will define whether the attribute was validated by an XML Schema.
|
---|
979 | <p>
|
---|
980 | <dl compact><dt><b>
|
---|
981 | Parameters: </b><dd>
|
---|
982 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
983 | <tr><td valign=top><em>isSchema</em> </td><td>
|
---|
984 | true indicates that this attribute was validated by an XML Schema; false indicates otherwise </td></tr>
|
---|
985 | </table>
|
---|
986 | </dl><dl compact><dt><b>
|
---|
987 | Deprecated: </b><dd>
|
---|
988 | </dl> </td>
|
---|
989 | </tr>
|
---|
990 | </table>
|
---|
991 | <a name="z253_3" doxytag="XMLAttr::setSpecified"></a><p>
|
---|
992 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
993 | <tr>
|
---|
994 | <td class="md">
|
---|
995 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
996 | <tr>
|
---|
997 | <td class="md" nowrap valign="top"> void XMLAttr::setSpecified </td>
|
---|
998 | <td class="md" valign="top">( </td>
|
---|
999 | <td class="md" nowrap valign="top">const bool </td>
|
---|
1000 | <td class="mdname1" valign="top" nowrap> <em>newValue</em> </td>
|
---|
1001 | <td class="md" valign="top">) </td>
|
---|
1002 | <td class="md" nowrap></td>
|
---|
1003 | </tr>
|
---|
1004 |
|
---|
1005 | </table>
|
---|
1006 | </td>
|
---|
1007 | </tr>
|
---|
1008 | </table>
|
---|
1009 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1010 | <tr>
|
---|
1011 | <td>
|
---|
1012 |
|
---|
1013 | </td>
|
---|
1014 | <td>
|
---|
1015 |
|
---|
1016 | <p>
|
---|
1017 | This method will update the specified state of the object.
|
---|
1018 | <p>
|
---|
1019 | <dl compact><dt><b>
|
---|
1020 | Parameters: </b><dd>
|
---|
1021 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1022 | <tr><td valign=top><em>newValue</em> </td><td>
|
---|
1023 | Indicates whether the attribute was explicitly specified or not. If not, then it was faulted in from a FIXED or DEFAULT value. </td></tr>
|
---|
1024 | </table>
|
---|
1025 | </dl> </td>
|
---|
1026 | </tr>
|
---|
1027 | </table>
|
---|
1028 | <a name="z253_4" doxytag="XMLAttr::setType"></a><p>
|
---|
1029 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1030 | <tr>
|
---|
1031 | <td class="md">
|
---|
1032 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1033 | <tr>
|
---|
1034 | <td class="md" nowrap valign="top"> void XMLAttr::setType </td>
|
---|
1035 | <td class="md" valign="top">( </td>
|
---|
1036 | <td class="md" nowrap valign="top">const <a class="el" href="classXMLAttDef.html#s33">XMLAttDef::AttTypes</a> </td>
|
---|
1037 | <td class="mdname1" valign="top" nowrap> <em>newType</em> </td>
|
---|
1038 | <td class="md" valign="top">) </td>
|
---|
1039 | <td class="md" nowrap></td>
|
---|
1040 | </tr>
|
---|
1041 |
|
---|
1042 | </table>
|
---|
1043 | </td>
|
---|
1044 | </tr>
|
---|
1045 | </table>
|
---|
1046 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1047 | <tr>
|
---|
1048 | <td>
|
---|
1049 |
|
---|
1050 | </td>
|
---|
1051 | <td>
|
---|
1052 |
|
---|
1053 | <p>
|
---|
1054 | This method will update the attribute type of the object.
|
---|
1055 | <p>
|
---|
1056 | <dl compact><dt><b>
|
---|
1057 | Parameters: </b><dd>
|
---|
1058 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1059 | <tr><td valign=top><em>newType</em> </td><td>
|
---|
1060 | The type of the attribute. This will indicate the type of normalization done and constrains the value content. Make sure that the value set meets the constraints! </td></tr>
|
---|
1061 | </table>
|
---|
1062 | </dl> </td>
|
---|
1063 | </tr>
|
---|
1064 | </table>
|
---|
1065 | <a name="z253_6" doxytag="XMLAttr::setURIId"></a><p>
|
---|
1066 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1067 | <tr>
|
---|
1068 | <td class="md">
|
---|
1069 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1070 | <tr>
|
---|
1071 | <td class="md" nowrap valign="top"> void XMLAttr::setURIId </td>
|
---|
1072 | <td class="md" valign="top">( </td>
|
---|
1073 | <td class="md" nowrap valign="top">const unsigned int </td>
|
---|
1074 | <td class="mdname1" valign="top" nowrap> <em>uriId</em> </td>
|
---|
1075 | <td class="md" valign="top">) </td>
|
---|
1076 | <td class="md" nowrap></td>
|
---|
1077 | </tr>
|
---|
1078 |
|
---|
1079 | </table>
|
---|
1080 | </td>
|
---|
1081 | </tr>
|
---|
1082 | </table>
|
---|
1083 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1084 | <tr>
|
---|
1085 | <td>
|
---|
1086 |
|
---|
1087 | </td>
|
---|
1088 | <td>
|
---|
1089 |
|
---|
1090 | <p>
|
---|
1091 | This method will set the URI id field of this attribute.
|
---|
1092 | <p>
|
---|
1093 | This is generally only ever called internally by the parser itself during the parsing process.<dl compact><dt><b>
|
---|
1094 | Parameters: </b><dd>
|
---|
1095 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1096 | <tr><td valign=top><em>uriId</em> </td><td>
|
---|
1097 | The uriId of the attribute. </td></tr>
|
---|
1098 | </table>
|
---|
1099 | </dl> </td>
|
---|
1100 | </tr>
|
---|
1101 | </table>
|
---|
1102 | <a name="z253_5" doxytag="XMLAttr::setValue"></a><p>
|
---|
1103 | <table width="100%" cellpadding="2" cellspacing="0" border="0">
|
---|
1104 | <tr>
|
---|
1105 | <td class="md">
|
---|
1106 | <table cellpadding="0" cellspacing="0" border="0">
|
---|
1107 | <tr>
|
---|
1108 | <td class="md" nowrap valign="top"> void XMLAttr::setValue </td>
|
---|
1109 | <td class="md" valign="top">( </td>
|
---|
1110 | <td class="md" nowrap valign="top">const XMLCh *const </td>
|
---|
1111 | <td class="mdname1" valign="top" nowrap> <em>newValue</em> </td>
|
---|
1112 | <td class="md" valign="top">) </td>
|
---|
1113 | <td class="md" nowrap></td>
|
---|
1114 | </tr>
|
---|
1115 |
|
---|
1116 | </table>
|
---|
1117 | </td>
|
---|
1118 | </tr>
|
---|
1119 | </table>
|
---|
1120 | <table cellspacing=5 cellpadding=0 border=0>
|
---|
1121 | <tr>
|
---|
1122 | <td>
|
---|
1123 |
|
---|
1124 | </td>
|
---|
1125 | <td>
|
---|
1126 |
|
---|
1127 | <p>
|
---|
1128 | This method will update the value field of the attribute.
|
---|
1129 | <p>
|
---|
1130 | <dl compact><dt><b>
|
---|
1131 | Parameters: </b><dd>
|
---|
1132 | <table border=0 cellspacing=2 cellpadding=0>
|
---|
1133 | <tr><td valign=top><em>newValue</em> </td><td>
|
---|
1134 | The value string of the attribute, which should be fully normalized by XML rules according to the attribute type. </td></tr>
|
---|
1135 | </table>
|
---|
1136 | </dl> </td>
|
---|
1137 | </tr>
|
---|
1138 | </table>
|
---|
1139 | <hr>The documentation for this class was generated from the following file:<ul>
|
---|
1140 | <li><a class="el" href="XMLAttr_8hpp-source.html">XMLAttr.hpp</a></ul>
|
---|
1141 | </FONT></TD></TR></TABLE><BR>
|
---|
1142 | </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>
|
---|
1143 | Copyright © 1994-2004 The Apache Software Foundation.
|
---|
1144 | All Rights Reserved.
|
---|
1145 | </I></FONT></TD></TR></TABLE></BODY></HTML>
|
---|