Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2458

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QXmlAttributes" doc="/**
&lt;p&gt;The &lt;a href=&quot;QXmlAttributes.html#QXmlAttributes()&quot;&gt;&lt;tt&gt;QXmlAttributes&lt;/tt&gt;&lt;/a&gt; class provides XML attributes.&lt;/p&gt;
&lt;p&gt;If attributes are reported by QXmlContentHandler::startElement() this class is used to pass the attribute values.&lt;/p&gt;
&lt;p&gt;Use &lt;a href=&quot;QXmlAttributes.html#index(java.lang.String)&quot;&gt;&lt;tt&gt;index&lt;/tt&gt;&lt;/a&gt; to locate the position of an attribute in the list, &lt;a href=&quot;QXmlAttributes.html#count()&quot;&gt;&lt;tt&gt;count&lt;/tt&gt;&lt;/a&gt; to retrieve the number of attributes, and &lt;a href=&quot;QXmlAttributes.html#clear()&quot;&gt;&lt;tt&gt;clear&lt;/tt&gt;&lt;/a&gt; to remove the attributes. New attributes can be added with &lt;a href=&quot;QXmlAttributes.html#append(java.lang.String, java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;append&lt;/tt&gt;&lt;/a&gt;. Use &lt;a href=&quot;QXmlAttributes.html#type(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;type&lt;/tt&gt;&lt;/a&gt; to get an attribute's type and &lt;a href=&quot;QXmlAttributes.html#value(int)&quot;&gt;&lt;tt&gt;value&lt;/tt&gt;&lt;/a&gt; to get its value. The attribute's name is available from &lt;a href=&quot;QXmlAttributes.html#localName(int)&quot;&gt;&lt;tt&gt;localName&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QXmlAttributes.html#qName(int)&quot;&gt;&lt;tt&gt;qName&lt;/tt&gt;&lt;/a&gt;, and its namespace URI from &lt;a href=&quot;QXmlAttributes.html#uri(int)&quot;&gt;&lt;tt&gt;uri&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */">
    <method name="public QXmlAttributes()" doc="/**
&lt;p&gt;Constructs an empty attribute list.&lt;/p&gt;
 */"/>
    <method name="public final void append(java.lang.String qName, java.lang.String uri, java.lang.String localPart, java.lang.String value)" doc="/**
&lt;p&gt;Appends a new attribute entry to the list of attributes. The qualified name of the attribute is &lt;tt&gt;qName&lt;/tt&gt;, the namespace URI is &lt;tt&gt;uri&lt;/tt&gt; and the local name is &lt;tt&gt;localPart&lt;/tt&gt;. The value of the attribute is &lt;tt&gt;value&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QXmlAttributes.html#qName(int)&quot;&gt;&lt;tt&gt;qName&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QXmlAttributes.html#uri(int)&quot;&gt;&lt;tt&gt;uri&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QXmlAttributes.html#localName(int)&quot;&gt;&lt;tt&gt;localName&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QXmlAttributes.html#value(int)&quot;&gt;&lt;tt&gt;value&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void clear()" doc="/**
&lt;p&gt;Clears the list of attributes.&lt;/p&gt;

@see &lt;a href=&quot;QXmlAttributes.html#append(java.lang.String, java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;append&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int count()" doc="/**
&lt;p&gt;Returns the number of attributes in the list. This function is equivalent to &lt;a href=&quot;QXmlAttributes.html#length()&quot;&gt;&lt;tt&gt;length&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
    <method name="public final int index(java.lang.String uri, java.lang.String localPart)" doc="/**
&lt;p&gt;Looks up the index of an attribute by a namespace name.&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;uri&lt;/tt&gt; specifies the namespace URI, or an empty string if the name has no namespace URI. &lt;tt&gt;localPart&lt;/tt&gt; specifies the attribute's local name.&lt;/p&gt;
&lt;p&gt;Returns the index of the attribute, or -1 if it wasn't found.&lt;/p&gt;

@see Namespace Support via Features&lt;/tt&gt; */"/>
    <method name="public final int index(java.lang.String qName)" doc="/**
&lt;p&gt;Looks up the index of an attribute by the qualified name &lt;tt&gt;qName&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Returns the index of the attribute or -1 if it wasn't found.&lt;/p&gt;

@see Namespace Support via Features&lt;/tt&gt; */"/>
    <method name="public final int length()" doc="/**
&lt;p&gt;Returns the number of attributes in the list.&lt;/p&gt;

@see &lt;a href=&quot;QXmlAttributes.html#count()&quot;&gt;&lt;tt&gt;count&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String localName(int index)" doc="/**
&lt;p&gt;Looks up an attribute's local name for the attribute at position &lt;tt&gt;index&lt;/tt&gt;. If no namespace processing is done, the local name is an empty string.&lt;/p&gt;

@see Namespace Support via Features&lt;/tt&gt; */"/>
    <method name="public final java.lang.String qName(int index)" doc="/**
&lt;p&gt;Looks up an attribute's XML 1.0 qualified name for the attribute at position &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;

@see Namespace Support via Features&lt;/tt&gt; */"/>
    <method name="public final java.lang.String type(int index)" doc="/**
&lt;p&gt;Looks up an attribute's type for the attribute at position &lt;tt&gt;index&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Currently only &amp;quot;CDATA&amp;quot; is returned.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String type(java.lang.String qName)" doc="/**
&lt;p&gt;Looks up an attribute's type for the qualified name &lt;tt&gt;qName&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Currently only &amp;quot;CDATA&amp;quot; is returned.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String type(java.lang.String uri, java.lang.String localName)" doc="/**
&lt;p&gt;Looks up an attribute's type by namespace name.&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;uri&lt;/tt&gt; specifies the namespace URI and &lt;tt&gt;localName&lt;/tt&gt; specifies the local name. If the name has no namespace URI, use an empty string for &lt;tt&gt;uri&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Currently only &amp;quot;CDATA&amp;quot; is returned.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String uri(int index)" doc="/**
&lt;p&gt;Looks up an attribute's namespace URI for the attribute at position &lt;tt&gt;index&lt;/tt&gt;. If no namespace processing is done or if the attribute has no namespace, the namespace URI is an empty string.&lt;/p&gt;

@see Namespace Support via Features&lt;/tt&gt; */"/>
    <method name="public final java.lang.String value(java.lang.String uri, java.lang.String localName)" doc="/**
&lt;p&gt;Returns an attribute's value by namespace name.&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;uri&lt;/tt&gt; specifies the namespace URI, or an empty string if the name has no namespace URI. &lt;tt&gt;localName&lt;/tt&gt; specifies the attribute's local name.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String value(java.lang.String qName)" doc="/**
&lt;p&gt;Returns an attribute's value for the qualified name &lt;tt&gt;qName&lt;/tt&gt;, or an empty string if no attribute exists for the name given.&lt;/p&gt;

@see Namespace Support via Features&lt;/tt&gt; */"/>
    <method name="public final java.lang.String value(int index)" doc="/**
&lt;p&gt;Returns an attribute's value for the attribute at position &lt;tt&gt;index&lt;/tt&gt;. The index must be a valid position (i.e&amp;#x2e;, 0 &amp;lt;= &lt;tt&gt;index&lt;/tt&gt; &amp;lt; &lt;a href=&quot;QXmlAttributes.html#count()&quot;&gt;&lt;tt&gt;count&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;
 */"/>
</class>