<class name="QXmlNamespaceSupport" doc="/**
&lt;p&gt;The &lt;a href=&quot;QXmlNamespaceSupport.html#QXmlNamespaceSupport()&quot;&gt;&lt;tt&gt;QXmlNamespaceSupport&lt;/tt&gt;&lt;/a&gt; class is a helper class for XML readers which want to include namespace support.&lt;/p&gt;
&lt;p&gt;You can set the prefix for the current namespace with &lt;a href=&quot;QXmlNamespaceSupport.html#setPrefix(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;setPrefix&lt;/tt&gt;&lt;/a&gt;, and get the list of current prefixes (or those for a given URI) with &lt;a href=&quot;QXmlNamespaceSupport.html#prefixes()&quot;&gt;&lt;tt&gt;prefixes&lt;/tt&gt;&lt;/a&gt;. The namespace URI is available from &lt;a href=&quot;QXmlNamespaceSupport.html#uri(java.lang.String)&quot;&gt;&lt;tt&gt;uri&lt;/tt&gt;&lt;/a&gt;. Use &lt;a href=&quot;QXmlNamespaceSupport.html#pushContext()&quot;&gt;&lt;tt&gt;pushContext&lt;/tt&gt;&lt;/a&gt; to start a new namespace context, and &lt;a href=&quot;QXmlNamespaceSupport.html#popContext()&quot;&gt;&lt;tt&gt;popContext&lt;/tt&gt;&lt;/a&gt; to return to the previous namespace context. Use splitName() or processName() to split a name into its prefix and local name.&lt;/p&gt;

@see Namespace Support via Features&lt;/tt&gt; */">
    <method name="public QXmlNamespaceSupport()" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QXmlNamespaceSupport.html#QXmlNamespaceSupport()&quot;&gt;&lt;tt&gt;QXmlNamespaceSupport&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void popContext()" doc="/**
&lt;p&gt;Reverts to the previous namespace context.&lt;/p&gt;
&lt;p&gt;Normally, you should pop the context at the end of each XML element. After popping the context, all namespace prefix mappings that were previously in force are restored.&lt;/p&gt;

@see &lt;a href=&quot;QXmlNamespaceSupport.html#pushContext()&quot;&gt;&lt;tt&gt;pushContext&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String prefix(java.lang.String arg__1)" doc="/**
&lt;p&gt;Returns one of the prefixes mapped to the namespace URI &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If more than one prefix is currently mapped to the same URI, this function makes an arbitrary selection; if you want all of the prefixes, use &lt;a href=&quot;QXmlNamespaceSupport.html#prefixes()&quot;&gt;&lt;tt&gt;prefixes&lt;/tt&gt;&lt;/a&gt; instead.&lt;/p&gt;
&lt;p&gt;Note: to check for a default prefix, use the &lt;a href=&quot;QXmlNamespaceSupport.html#uri(java.lang.String)&quot;&gt;&lt;tt&gt;uri&lt;/tt&gt;&lt;/a&gt; function with an argument of &amp;quot;&amp;quot;.&lt;/p&gt;

@see &lt;a href=&quot;QXmlNamespaceSupport.html#setPrefix(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;setPrefix&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;java.lang.String&gt; prefixes(java.lang.String arg__1)" doc="/**
&lt;p&gt;Returns a list of all prefixes currently declared for the namespace URI &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The &amp;quot;xml:&amp;quot; prefix is included. If you only want one prefix that is mapped to the namespace URI, and you don't care which one you get, use the &lt;a href=&quot;QXmlNamespaceSupport.html#prefix(java.lang.String)&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt; function instead.&lt;/p&gt;
&lt;p&gt;Note: The empty (default) prefix is never included in this list; to check for the presence of a default namespace, call &lt;a href=&quot;QXmlNamespaceSupport.html#uri(java.lang.String)&quot;&gt;&lt;tt&gt;uri&lt;/tt&gt;&lt;/a&gt; with &amp;quot;&amp;quot; as the argument.&lt;/p&gt;
 */"/>
    <method name="public final java.util.List&lt;java.lang.String&gt; prefixes()" doc="/**
&lt;p&gt;Returns a list of all the prefixes currently declared.&lt;/p&gt;
&lt;p&gt;If there is a default prefix, this function does not return it in the list; check for the default prefix using &lt;a href=&quot;QXmlNamespaceSupport.html#uri(java.lang.String)&quot;&gt;&lt;tt&gt;uri&lt;/tt&gt;&lt;/a&gt; with an argument of &amp;quot;&amp;quot;.&lt;/p&gt;
 */"/>
    <method name="public final void pushContext()" doc="/**
&lt;p&gt;Starts a new namespace context.&lt;/p&gt;
&lt;p&gt;Normally, you should push a new context at the beginning of each XML element: the new context automatically inherits the declarations of its parent context, and it also keeps track of which declarations were made within this context.&lt;/p&gt;

@see &lt;a href=&quot;QXmlNamespaceSupport.html#popContext()&quot;&gt;&lt;tt&gt;popContext&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void reset()" doc="/**
&lt;p&gt;Resets this namespace support object ready for reuse.&lt;/p&gt;
 */"/>
    <method name="public final void setPrefix(java.lang.String arg__1, java.lang.String arg__2)" doc="/**
&lt;p&gt;This function declares a prefix &lt;tt&gt;arg__1&lt;/tt&gt; in the current namespace context to be the namespace URI &lt;tt&gt;arg__2&lt;/tt&gt;. The prefix remains in force until this context is popped, unless it is shadowed in a descendant context.&lt;/p&gt;
&lt;p&gt;Note that there is an asymmetry in this library. &lt;a href=&quot;QXmlNamespaceSupport.html#prefix(java.lang.String)&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt; does not return the default &amp;quot;&amp;quot; prefix, even if you have declared one; to check for a default prefix, you must look it up explicitly using &lt;a href=&quot;QXmlNamespaceSupport.html#uri(java.lang.String)&quot;&gt;&lt;tt&gt;uri&lt;/tt&gt;&lt;/a&gt;. This asymmetry exists to make it easier to look up prefixes for attribute names, where the default prefix is not allowed.&lt;/p&gt;

@see &lt;a href=&quot;QXmlNamespaceSupport.html#prefix(java.lang.String)&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String uri(java.lang.String arg__1)" doc="/**
&lt;p&gt;Looks up the prefix &lt;tt&gt;arg__1&lt;/tt&gt; in the current context and returns the currently-mapped namespace URI. Use the empty string (&amp;quot;&amp;quot;) for the default namespace.&lt;/p&gt;
 */"/>
</class>
