Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > fc480f9d5aabed8eeaffe8ad3401a94c > files > 8177

openoffice.org-devel-doc-3.2.1-0.3mdv2010.2.i586.rpm

<html>
<head>
<title>Interface XDataTypeRepository</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../idl.css">
</head>
<body>
<div id="adc-idlref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="3">
<tr>
<td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td>
<td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td>
<td class="navimain"><a href="XDataTypeRepository-xref.html" class="navimain">Use</a></td>
<td class="navimainnone">Devguide</td>
<td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td>
</tr>
</table>
<table class="navisub" border="0" cellpadding="0">
<tr>
<td class="navisub"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td>
<td class="navisub">Attributes' Summary</td>
<td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td>
<td class="navisub">Attributes' Details</td>
</tr>
</table>
<hr>
<table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">xforms</a> :: </p>
</td>
</tr>
<tr>
<td class="title"><table class="title-table" width="99%">
<tr>
<td width="25%" class="title2">unpublished </td>
<td width="50%" class="title">interface XDataTypeRepository</td>
<td width="*"/></tr>
</table>
</td>
</tr>
<tr>
<td><dl>
<dt><b>Base Interfaces</b></dt>
<dd><pre style="font-family:monospace;"><strong>XDataTypeRepository</strong>
&#x2523 ::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XEnumerationAccess.html">XEnumerationAccess</a>
&#x2503 &#x2517 ::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XElementAccess.html">XElementAccess</a>
&#x2517 ::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XNameAccess.html">XNameAccess</a>
   &#x2517 ::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XElementAccess.html">XElementAccess</a>

</pre></dd>
<dd><a name/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="crosstitle">
<tr>
<td class="imsum_left">::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XEnumerationAccess.html">XEnumerationAccess</a></td>
<td class="imsum_right"><dl>
<dt><b>Description</b></dt>
<dd>provides access to an enumeration of the contained data types
 </dd>
</dl>
</td>
</tr>
<tr>
<td class="imsum_left">::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XNameAccess.html">XNameAccess</a></td>
<td class="imsum_right"><dl>
<dt><b>Description</b></dt>
<dd>provides untyped access to the elements of the repository, as well as meta information
 such as the names of all contained types, and the existence of a named type
 </dd>
</dl>
</td>
</tr>
</table>
</dd>
</dl>
</td>
</tr>
<tr>
<td><dl>
<dt><b>Usage Restrictions</b></dt>
<dd><i>not published</i></dd>
<dt><b>Description</b></dt>
<dd>specifies a repository of XSD data types

 </dd>
<dd><p>The elements of the repository are instances supporting the ::com::sun::star::<a href="../xsd/module-ix.html">xsd</a>::<a href="../xsd/XDataType.html">XDataType</a>
 interface.</p>
</dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Methods' Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getBasicDataType">getBasicDataType</a></td>
<td class="imsum_right">retrieves the basic type for the given type class
 
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#cloneDataType">cloneDataType</a></td>
<td class="imsum_right">creates a clone of the given data type, and inserts it into the repository
 
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#revokeDataType">revokeDataType</a></td>
<td class="imsum_right">removes a data type given by name from the repository

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getDataType">getDataType</a></td>
<td class="imsum_right">&nbsp;</td>
</tr>
</table>
<a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Methods' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="getBasicDataType" class="membertitle">getBasicDataType</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">::com::sun::star::<a href="../xsd/module-ix.html">xsd</a>::<a href="../xsd/XDataType.html">XDataType</a></td>
</tr>
<tr>
<td valign="top"><b>getBasicDataType</b>(</td>
<td valign="top">[in] short</td>
<td valign="bottom">&nbsp;dataTypeClass )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2">::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/NoSuchElementException.html">NoSuchElementException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>retrieves the basic type for the given type class
 
 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::container::NoSuchElementException
 if in the repository, there is no data type with the given class
 </dd>
<dt><b>See also</b></dt>
<dd>::com::sun::star::<a href="../xsd/module-ix.html">xsd</a>::<a href="../xsd/DataTypeClass.html">DataTypeClass</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="cloneDataType" class="membertitle">cloneDataType</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">::com::sun::star::<a href="../xsd/module-ix.html">xsd</a>::<a href="../xsd/XDataType.html">XDataType</a></td>
</tr>
<tr>
<td valign="top"><b>cloneDataType</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;sourceName,</td>
</tr>
<tr>
<td/><td valign="top">[in] string</td>
<td valign="bottom">&nbsp;newName )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2">::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/NoSuchElementException.html">NoSuchElementException</a>,<br>
::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/ElementExistException.html">ElementExistException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>creates a clone of the given data type, and inserts it into the repository
 
 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::container::NoSuchElementException
 if the given name does not refer to a type in the repository

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::container::ElementExistException
 if the new name is already used in the repository
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="revokeDataType" class="membertitle">revokeDataType</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>revokeDataType</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;typeName )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2">::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/NoSuchElementException.html">NoSuchElementException</a>,<br>
::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/VetoException.html">VetoException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>removes a data type given by name from the repository

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::container::NoSuchElementException
 if the given name does not refer to a type in the repository

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::util::VetoException
 if the specified data type is a built-in (basic) data type, and cannot
 be removed

 </dd>
<dt><b>See also</b></dt>
<dd>::com::sun::star::<a href="../xsd/module-ix.html">xsd</a>::<a href="../xsd/XDataType.html">XDataType</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getDataType" class="membertitle">getDataType</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">::com::sun::star::<a href="../xsd/module-ix.html">xsd</a>::<a href="../xsd/XDataType.html">XDataType</a></td>
</tr>
<tr>
<td valign="top"><b>getDataType</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;typeName )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2">::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/NoSuchElementException.html">NoSuchElementException</a> );</td>
</tr>
</table>
<hr>
<dl></dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>