Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release > by-pkgid > 553d1e1391b9f1acad517c925f34ae45 > files > 375

lib64xmltooling-devel-1.5.3-5.mga5.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>xmltooling: xmltooling::XMLObjectBuilder Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">xmltooling
   &#160;<span id="projectnumber">1.5.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('a00106.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="a00315.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">xmltooling::XMLObjectBuilder Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>A factory interface for obtaining an <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a>.  
 <a href="a00106.html#details">More...</a></p>

<p><code>#include &lt;xmltooling/XMLObjectBuilder.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for xmltooling::XMLObjectBuilder:</div>
<div class="dyncontent">
 <div class="center">
  <img src="a00106.png" usemap="#xmltooling::XMLObjectBuilder_map" alt=""/>
  <map id="xmltooling::XMLObjectBuilder_map" name="xmltooling::XMLObjectBuilder_map">
<area href="a00020.html" title="A factory interface for obtaining XMLObjects. " alt="xmltooling::ConcreteXMLObjectBuilder" shape="rect" coords="0,56,229,80"/>
<area href="a00092.html" title="Builder for UnknownElementImpl objects. " alt="xmltooling::UnknownElementBuilder" shape="rect" coords="239,56,468,80"/>
<area href="a00076.html" title="Builder for Signature objects. " alt="xmlsignature::SignatureBuilder" shape="rect" coords="0,112,229,136"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac68aa317eb6d14c3c5d8f7e0d74c7e50"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00105.html">XMLObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html#ac68aa317eb6d14c3c5d8f7e0d74c7e50">buildObject</a> (const XMLCh *nsURI, const XMLCh *localName, const XMLCh *prefix=0, const <a class="el" href="a00069.html">QName</a> *schemaType=0) const =0</td></tr>
<tr class="memdesc:ac68aa317eb6d14c3c5d8f7e0d74c7e50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an empty <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> with a particular element name.  <a href="#ac68aa317eb6d14c3c5d8f7e0d74c7e50">More...</a><br /></td></tr>
<tr class="separator:ac68aa317eb6d14c3c5d8f7e0d74c7e50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe26636964c75e9d407cd50e56375977"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00105.html">XMLObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html#afe26636964c75e9d407cd50e56375977">buildFromQName</a> (const <a class="el" href="a00069.html">QName</a> &amp;q) const </td></tr>
<tr class="memdesc:afe26636964c75e9d407cd50e56375977"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an empty <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> with a particular element name.  <a href="#afe26636964c75e9d407cd50e56375977">More...</a><br /></td></tr>
<tr class="separator:afe26636964c75e9d407cd50e56375977"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89318e01de86c40975c62012f1ef7e6e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00105.html">XMLObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html#a89318e01de86c40975c62012f1ef7e6e">buildFromElement</a> (xercesc::DOMElement *element, bool bindDocument=false) const </td></tr>
<tr class="memdesc:a89318e01de86c40975c62012f1ef7e6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an unmarshalled <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> from a DOM Element.  <a href="#a89318e01de86c40975c62012f1ef7e6e">More...</a><br /></td></tr>
<tr class="separator:a89318e01de86c40975c62012f1ef7e6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee93390bc68d0b9a91a6c49c488dda52"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00105.html">XMLObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html#aee93390bc68d0b9a91a6c49c488dda52">buildFromDocument</a> (xercesc::DOMDocument *doc, bool bindDocument=true) const </td></tr>
<tr class="memdesc:aee93390bc68d0b9a91a6c49c488dda52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an unmarshalled <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> from the root of a DOM Document.  <a href="#aee93390bc68d0b9a91a6c49c488dda52">More...</a><br /></td></tr>
<tr class="separator:aee93390bc68d0b9a91a6c49c488dda52"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a26c2ed67001b16d8648fb9f1a9ede00b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00105.html">XMLObject</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html#a26c2ed67001b16d8648fb9f1a9ede00b">buildOneFromElement</a> (xercesc::DOMElement *element, bool bindDocument=false)</td></tr>
<tr class="memdesc:a26c2ed67001b16d8648fb9f1a9ede00b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an unmarshalled <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> using the default build method, if a builder can be found.  <a href="#a26c2ed67001b16d8648fb9f1a9ede00b">More...</a><br /></td></tr>
<tr class="separator:a26c2ed67001b16d8648fb9f1a9ede00b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cb470370051b7d3f55280c940bb3ae9"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a00106.html">XMLObjectBuilder</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html#a3cb470370051b7d3f55280c940bb3ae9">getBuilder</a> (const <a class="el" href="a00069.html">QName</a> &amp;key)</td></tr>
<tr class="memdesc:a3cb470370051b7d3f55280c940bb3ae9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves an <a class="el" href="a00106.html" title="A factory interface for obtaining an XMLObject. ">XMLObjectBuilder</a> using the key it was registered with.  <a href="#a3cb470370051b7d3f55280c940bb3ae9">More...</a><br /></td></tr>
<tr class="separator:a3cb470370051b7d3f55280c940bb3ae9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bfe4e33e339d1390dca6bb8d3377c34"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a00106.html">XMLObjectBuilder</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html#a8bfe4e33e339d1390dca6bb8d3377c34">getBuilder</a> (const xercesc::DOMElement *element)</td></tr>
<tr class="memdesc:a8bfe4e33e339d1390dca6bb8d3377c34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves an <a class="el" href="a00106.html" title="A factory interface for obtaining an XMLObject. ">XMLObjectBuilder</a> for a given DOM element.  <a href="#a8bfe4e33e339d1390dca6bb8d3377c34">More...</a><br /></td></tr>
<tr class="separator:a8bfe4e33e339d1390dca6bb8d3377c34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a054f7a25141c19f22c27660ea85fc2af"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a00106.html">XMLObjectBuilder</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html#a054f7a25141c19f22c27660ea85fc2af">getDefaultBuilder</a> ()</td></tr>
<tr class="memdesc:a054f7a25141c19f22c27660ea85fc2af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves the default <a class="el" href="a00106.html" title="A factory interface for obtaining an XMLObject. ">XMLObjectBuilder</a> for DOM elements.  <a href="#a054f7a25141c19f22c27660ea85fc2af">More...</a><br /></td></tr>
<tr class="separator:a054f7a25141c19f22c27660ea85fc2af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c2ff4bca03df69332ebdea631869d2e"><td class="memItemLeft" align="right" valign="top">static const std::map&lt; <a class="el" href="a00069.html">QName</a>, <br class="typebreak" />
<a class="el" href="a00106.html">XMLObjectBuilder</a> * &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html#a6c2ff4bca03df69332ebdea631869d2e">getBuilders</a> ()</td></tr>
<tr class="memdesc:a6c2ff4bca03df69332ebdea631869d2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets an immutable list of all the builders currently registered.  <a href="#a6c2ff4bca03df69332ebdea631869d2e">More...</a><br /></td></tr>
<tr class="separator:a6c2ff4bca03df69332ebdea631869d2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae610bbe9b275d38c47f31edc4a5c1313"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html#ae610bbe9b275d38c47f31edc4a5c1313">registerBuilder</a> (const <a class="el" href="a00069.html">QName</a> &amp;builderKey, <a class="el" href="a00106.html">XMLObjectBuilder</a> *builder)</td></tr>
<tr class="memdesc:ae610bbe9b275d38c47f31edc4a5c1313"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers a new builder for the given key.  <a href="#ae610bbe9b275d38c47f31edc4a5c1313">More...</a><br /></td></tr>
<tr class="separator:ae610bbe9b275d38c47f31edc4a5c1313"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59a70310dfa62ae07e04cb8f7b4bf9da"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html#a59a70310dfa62ae07e04cb8f7b4bf9da">registerDefaultBuilder</a> (<a class="el" href="a00106.html">XMLObjectBuilder</a> *builder)</td></tr>
<tr class="memdesc:a59a70310dfa62ae07e04cb8f7b4bf9da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers a default builder.  <a href="#a59a70310dfa62ae07e04cb8f7b4bf9da">More...</a><br /></td></tr>
<tr class="separator:a59a70310dfa62ae07e04cb8f7b4bf9da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d51ed5fa716e00686cce3d73cb9b691"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html#a8d51ed5fa716e00686cce3d73cb9b691">deregisterBuilder</a> (const <a class="el" href="a00069.html">QName</a> &amp;builderKey)</td></tr>
<tr class="memdesc:a8d51ed5fa716e00686cce3d73cb9b691"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deregisters a builder.  <a href="#a8d51ed5fa716e00686cce3d73cb9b691">More...</a><br /></td></tr>
<tr class="separator:a8d51ed5fa716e00686cce3d73cb9b691"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ecdff36694103918b398fbca57d4f10"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ecdff36694103918b398fbca57d4f10"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html#a4ecdff36694103918b398fbca57d4f10">deregisterDefaultBuilder</a> ()</td></tr>
<tr class="memdesc:a4ecdff36694103918b398fbca57d4f10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deregisters default builder. <br /></td></tr>
<tr class="separator:a4ecdff36694103918b398fbca57d4f10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e301b5121aa8317adf08c4d0653dd27"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e301b5121aa8317adf08c4d0653dd27"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00106.html#a4e301b5121aa8317adf08c4d0653dd27">destroyBuilders</a> ()</td></tr>
<tr class="memdesc:a4e301b5121aa8317adf08c4d0653dd27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unregisters and destroys all registered builders. <br /></td></tr>
<tr class="separator:a4e301b5121aa8317adf08c4d0653dd27"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A factory interface for obtaining an <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a>. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aee93390bc68d0b9a91a6c49c488dda52"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00105.html">XMLObject</a>* xmltooling::XMLObjectBuilder::buildFromDocument </td>
          <td>(</td>
          <td class="paramtype">xercesc::DOMDocument *&#160;</td>
          <td class="paramname"><em>doc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bindDocument</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates an unmarshalled <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> from the root of a DOM Document. </p>
<p>The caller is responsible for freeing the resulting object.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">doc</td><td>the unmarshalling source </td></tr>
    <tr><td class="paramname">bindDocument</td><td>true iff the <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> should take ownership of the DOM Document </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the unmarshalled <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a89318e01de86c40975c62012f1ef7e6e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00105.html">XMLObject</a>* xmltooling::XMLObjectBuilder::buildFromElement </td>
          <td>(</td>
          <td class="paramtype">xercesc::DOMElement *&#160;</td>
          <td class="paramname"><em>element</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bindDocument</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates an unmarshalled <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> from a DOM Element. </p>
<p>The caller is responsible for freeing the resulting object.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">element</td><td>the unmarshalling source </td></tr>
    <tr><td class="paramname">bindDocument</td><td>true iff the <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> should take ownership of the DOM Document </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the unmarshalled <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> </dd></dl>

</div>
</div>
<a class="anchor" id="afe26636964c75e9d407cd50e56375977"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00105.html">XMLObject</a>* xmltooling::XMLObjectBuilder::buildFromQName </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00069.html">QName</a> &amp;&#160;</td>
          <td class="paramname"><em>q</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates an empty <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> with a particular element name. </p>
<p>The caller is responsible for freeing the resulting object.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">q</td><td><a class="el" href="a00069.html" title="A data structure for encapsulating XML QNames. ">QName</a> of element for object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the empty <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac68aa317eb6d14c3c5d8f7e0d74c7e50"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a00105.html">XMLObject</a>* xmltooling::XMLObjectBuilder::buildObject </td>
          <td>(</td>
          <td class="paramtype">const XMLCh *&#160;</td>
          <td class="paramname"><em>nsURI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const XMLCh *&#160;</td>
          <td class="paramname"><em>localName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const XMLCh *&#160;</td>
          <td class="paramname"><em>prefix</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00069.html">QName</a> *&#160;</td>
          <td class="paramname"><em>schemaType</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an empty <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> with a particular element name. </p>
<p>The results are undefined if localName is nullptr or empty. </p>
<p>The caller is responsible for freeing the resulting object.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nsURI</td><td>namespace URI for element </td></tr>
    <tr><td class="paramname">localName</td><td>local name of element </td></tr>
    <tr><td class="paramname">prefix</td><td>prefix of element name </td></tr>
    <tr><td class="paramname">schemaType</td><td>xsi:type of the object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the empty <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> </dd></dl>

<p>Implemented in <a class="el" href="a00076.html#aded6d97fe79ea1a2aa117c0cb89af7c5">xmlsignature::SignatureBuilder</a>, and <a class="el" href="a00092.html#ab9adf59c29015786f4ff7db5e1a77ead">xmltooling::UnknownElementBuilder</a>.</p>

</div>
</div>
<a class="anchor" id="a26c2ed67001b16d8648fb9f1a9ede00b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00105.html">XMLObject</a>* xmltooling::XMLObjectBuilder::buildOneFromElement </td>
          <td>(</td>
          <td class="paramtype">xercesc::DOMElement *&#160;</td>
          <td class="paramname"><em>element</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bindDocument</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates an unmarshalled <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> using the default build method, if a builder can be found. </p>
<p>The caller is responsible for freeing the resulting object.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">element</td><td>the unmarshalling source </td></tr>
    <tr><td class="paramname">bindDocument</td><td>true iff the new <a class="el" href="a00105.html" title="Object that represents an XML Element that has been unmarshalled into this C++ object. ">XMLObject</a> should take ownership of the DOM Document </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the unmarshalled object or nullptr if no builder is available </dd></dl>

</div>
</div>
<a class="anchor" id="a8d51ed5fa716e00686cce3d73cb9b691"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void xmltooling::XMLObjectBuilder::deregisterBuilder </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00069.html">QName</a> &amp;&#160;</td>
          <td class="paramname"><em>builderKey</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Deregisters a builder. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">builderKey</td><td>the key for the builder to be deregistered </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3cb470370051b7d3f55280c940bb3ae9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="a00106.html">XMLObjectBuilder</a>* xmltooling::XMLObjectBuilder::getBuilder </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00069.html">QName</a> &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieves an <a class="el" href="a00106.html" title="A factory interface for obtaining an XMLObject. ">XMLObjectBuilder</a> using the key it was registered with. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the key used to register the builder </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the builder or nullptr </dd></dl>

</div>
</div>
<a class="anchor" id="a8bfe4e33e339d1390dca6bb8d3377c34"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="a00106.html">XMLObjectBuilder</a>* xmltooling::XMLObjectBuilder::getBuilder </td>
          <td>(</td>
          <td class="paramtype">const xercesc::DOMElement *&#160;</td>
          <td class="paramname"><em>element</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieves an <a class="el" href="a00106.html" title="A factory interface for obtaining an XMLObject. ">XMLObjectBuilder</a> for a given DOM element. </p>
<p>If no match is found, the default builder is returned, if any.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">element</td><td>the element for which to locate a builder </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the builder or nullptr </dd></dl>

</div>
</div>
<a class="anchor" id="a6c2ff4bca03df69332ebdea631869d2e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const std::map&lt;<a class="el" href="a00069.html">QName</a>,<a class="el" href="a00106.html">XMLObjectBuilder</a>*&gt;&amp; xmltooling::XMLObjectBuilder::getBuilders </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets an immutable list of all the builders currently registered. </p>
<dl class="section return"><dt>Returns</dt><dd>list of all the builders currently registered </dd></dl>

</div>
</div>
<a class="anchor" id="a054f7a25141c19f22c27660ea85fc2af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="a00106.html">XMLObjectBuilder</a>* xmltooling::XMLObjectBuilder::getDefaultBuilder </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieves the default <a class="el" href="a00106.html" title="A factory interface for obtaining an XMLObject. ">XMLObjectBuilder</a> for DOM elements. </p>
<dl class="section return"><dt>Returns</dt><dd>the default builder or nullptr </dd></dl>

</div>
</div>
<a class="anchor" id="ae610bbe9b275d38c47f31edc4a5c1313"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void xmltooling::XMLObjectBuilder::registerBuilder </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00069.html">QName</a> &amp;&#160;</td>
          <td class="paramname"><em>builderKey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00106.html">XMLObjectBuilder</a> *&#160;</td>
          <td class="paramname"><em>builder</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Registers a new builder for the given key. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">builderKey</td><td>the key used to retrieve this builder later </td></tr>
    <tr><td class="paramname">builder</td><td>the builder </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a59a70310dfa62ae07e04cb8f7b4bf9da"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void xmltooling::XMLObjectBuilder::registerDefaultBuilder </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00106.html">XMLObjectBuilder</a> *&#160;</td>
          <td class="paramname"><em>builder</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Registers a default builder. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">builder</td><td>the default builder </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>xmltooling/<a class="el" href="a00199.html">XMLObjectBuilder.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="a00206.html">xmltooling</a></li><li class="navelem"><a class="el" href="a00106.html">XMLObjectBuilder</a></li>
    <li class="footer">Generated on Fri Oct 17 2014 12:44:58 for xmltooling by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li>
  </ul>
</div>
</body>
</html>