<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<!--NewPage--> | |
<HTML> | |
<HEAD> | |
<!-- Generated by javadoc (build 1.5.0_18) on Sun Apr 01 21:18:35 PDT 2012 --> | |
<TITLE> | |
AttributesImplSerializer | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xml.serializer.AttributesImplSerializer class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="AttributesImplSerializer"; | |
} | |
</SCRIPT> | |
<NOSCRIPT> | |
</NOSCRIPT> | |
</HEAD> | |
<BODY BGCOLOR="white" onload="windowTitle();"> | |
<!-- ========= START OF TOP NAVBAR ======= --> | |
<A NAME="navbar_top"><!-- --></A> | |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_top_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<TR ALIGN="center" VALIGN="top"> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AttributesImplSerializer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
PREV CLASS | |
<A HREF="../../../../org/apache/xml/serializer/CharInfo.html" title="class in org.apache.xml.serializer"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xml/serializer/AttributesImplSerializer.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="AttributesImplSerializer.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_top"></A> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<HR> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<H2> | |
<FONT SIZE="-1"> | |
org.apache.xml.serializer</FONT> | |
<BR> | |
Class AttributesImplSerializer</H2> | |
<PRE> | |
java.lang.Object | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">org.xml.sax.helpers.AttributesImpl | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xml.serializer.AttributesImplSerializer</B> | |
</PRE> | |
<DL> | |
<DT><B>All Implemented Interfaces:</B> <DD>org.xml.sax.Attributes</DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public final class <A HREF="../../../../src-html/org/apache/xml/serializer/AttributesImplSerializer.html#line.39"><B>AttributesImplSerializer</B></A><DT>extends org.xml.sax.helpers.AttributesImpl</DL> | |
</PRE> | |
<P> | |
This class extends org.xml.sax.helpers.AttributesImpl which implements org. | |
xml.sax.Attributes. But for optimization this class adds a Hashtable for | |
faster lookup of an index by qName, which is commonly done in the stream | |
serializer. | |
<P> | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><CODE>Attributes</CODE></DL> | |
<HR> | |
<P> | |
<!-- =========== FIELD SUMMARY =========== --> | |
<A NAME="field_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Field Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private java.lang.StringBuffer</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/AttributesImplSerializer.html#m_buff">m_buff</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private java.util.Hashtable</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/AttributesImplSerializer.html#m_indexFromQName">m_indexFromQName</A></B></CODE> | |
<BR> | |
Hash table of qName/index values to quickly lookup the index | |
of an attributes qName.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/AttributesImplSerializer.html#MAX">MAX</A></B></CODE> | |
<BR> | |
This is the number of attributes before switching to the hash table, | |
and can be tuned, but 12 seems good for now - Brian M.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/AttributesImplSerializer.html#MAXMinus1">MAXMinus1</A></B></CODE> | |
<BR> | |
One less than the number of attributes before switching to | |
the Hashtable.</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> | |
<A NAME="constructor_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Constructor Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/AttributesImplSerializer.html#AttributesImplSerializer()">AttributesImplSerializer</A></B>()</CODE> | |
<BR> | |
</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ========== METHOD SUMMARY =========== --> | |
<A NAME="method_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Method Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/AttributesImplSerializer.html#addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">addAttribute</A></B>(java.lang.String uri, | |
java.lang.String local, | |
java.lang.String qname, | |
java.lang.String type, | |
java.lang.String val)</CODE> | |
<BR> | |
This method adds the attribute, but also records its qName/index pair in | |
the hashtable for fast lookup by getIndex(qName).</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/AttributesImplSerializer.html#clear()">clear</A></B>()</CODE> | |
<BR> | |
This method clears the accumulated attributes.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/AttributesImplSerializer.html#getIndex(java.lang.String)">getIndex</A></B>(java.lang.String qname)</CODE> | |
<BR> | |
This method gets the index of an attribute given its qName.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/AttributesImplSerializer.html#getIndex(java.lang.String, java.lang.String)">getIndex</A></B>(java.lang.String uri, | |
java.lang.String localName)</CODE> | |
<BR> | |
This method gets the index of an attribute given its uri and locanName.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/AttributesImplSerializer.html#setAttributes(org.xml.sax.Attributes)">setAttributes</A></B>(org.xml.sax.Attributes atts)</CODE> | |
<BR> | |
This method sets the attributes, previous attributes are cleared, | |
it also keeps the hashtable up to date for quick lookup via | |
getIndex(qName).</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xml/serializer/AttributesImplSerializer.html#switchOverToHash(int)">switchOverToHash</A></B>(int numAtts)</CODE> | |
<BR> | |
We are switching over to having a hash table for quick look | |
up of attributes, but up until now we haven't kept any | |
information in the Hashtable, so we now update the Hashtable.</TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_org.xml.sax.helpers.AttributesImpl"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class org.xml.sax.helpers.AttributesImpl</B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE>getLength, getLocalName, getQName, getType, getType, getType, getURI, getValue, getValue, getValue, removeAttribute, setAttribute, setLocalName, setQName, setType, setURI, setValue</CODE></TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<P> | |
<!-- ============ FIELD DETAIL =========== --> | |
<A NAME="field_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Field Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="m_indexFromQName"><!-- --></A><H3> | |
m_indexFromQName</H3> | |
<PRE> | |
private final java.util.Hashtable <A HREF="../../../../src-html/org/apache/xml/serializer/AttributesImplSerializer.html#line.49"><B>m_indexFromQName</B></A></PRE> | |
<DL> | |
<DD>Hash table of qName/index values to quickly lookup the index | |
of an attributes qName. qNames are in uppercase in the hash table | |
to make the search case insensitive. | |
The keys to the hashtable to find the index are either | |
"prefix:localName" or "{uri}localName". | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_buff"><!-- --></A><H3> | |
m_buff</H3> | |
<PRE> | |
private final java.lang.StringBuffer <A HREF="../../../../src-html/org/apache/xml/serializer/AttributesImplSerializer.html#line.51"><B>m_buff</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="MAX"><!-- --></A><H3> | |
MAX</H3> | |
<PRE> | |
private static final int <A HREF="../../../../src-html/org/apache/xml/serializer/AttributesImplSerializer.html#line.57"><B>MAX</B></A></PRE> | |
<DL> | |
<DD>This is the number of attributes before switching to the hash table, | |
and can be tuned, but 12 seems good for now - Brian M. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xml.serializer.AttributesImplSerializer.MAX">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="MAXMinus1"><!-- --></A><H3> | |
MAXMinus1</H3> | |
<PRE> | |
private static final int <A HREF="../../../../src-html/org/apache/xml/serializer/AttributesImplSerializer.html#line.63"><B>MAXMinus1</B></A></PRE> | |
<DL> | |
<DD>One less than the number of attributes before switching to | |
the Hashtable. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xml.serializer.AttributesImplSerializer.MAXMinus1">Constant Field Values</A></DL> | |
</DL> | |
<!-- ========= CONSTRUCTOR DETAIL ======== --> | |
<A NAME="constructor_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Constructor Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="AttributesImplSerializer()"><!-- --></A><H3> | |
AttributesImplSerializer</H3> | |
<PRE> | |
public <A HREF="../../../../src-html/org/apache/xml/serializer/AttributesImplSerializer.html#line.39"><B>AttributesImplSerializer</B></A>()</PRE> | |
<DL> | |
</DL> | |
<!-- ============ METHOD DETAIL ========== --> | |
<A NAME="method_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Method Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="getIndex(java.lang.String)"><!-- --></A><H3> | |
getIndex</H3> | |
<PRE> | |
public final int <A HREF="../../../../src-html/org/apache/xml/serializer/AttributesImplSerializer.html#line.71"><B>getIndex</B></A>(java.lang.String qname)</PRE> | |
<DL> | |
<DD>This method gets the index of an attribute given its qName. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>getIndex</CODE> in interface <CODE>org.xml.sax.Attributes</CODE><DT><B>Overrides:</B><DD><CODE>getIndex</CODE> in class <CODE>org.xml.sax.helpers.AttributesImpl</CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>qname</CODE> - the qualified name of the attribute, e.g. "prefix1:locName1" | |
<DT><B>Returns:</B><DD>the integer index of the attribute.<DT><B>See Also:</B><DD><CODE>Attributes.getIndex(String)</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> | |
addAttribute</H3> | |
<PRE> | |
public final void <A HREF="../../../../src-html/org/apache/xml/serializer/AttributesImplSerializer.html#line.103"><B>addAttribute</B></A>(java.lang.String uri, | |
java.lang.String local, | |
java.lang.String qname, | |
java.lang.String type, | |
java.lang.String val)</PRE> | |
<DL> | |
<DD>This method adds the attribute, but also records its qName/index pair in | |
the hashtable for fast lookup by getIndex(qName). | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE>addAttribute</CODE> in class <CODE>org.xml.sax.helpers.AttributesImpl</CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - the URI of the attribute<DD><CODE>local</CODE> - the local name of the attribute<DD><CODE>qname</CODE> - the qualified name of the attribute<DD><CODE>type</CODE> - the type of the attribute<DD><CODE>val</CODE> - the value of the attribute<DT><B>See Also:</B><DD><CODE>AttributesImpl.addAttribute(String, String, String, String, String)</CODE>, | |
<A HREF="../../../../org/apache/xml/serializer/AttributesImplSerializer.html#getIndex(java.lang.String)"><CODE>getIndex(String)</CODE></A></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="switchOverToHash(int)"><!-- --></A><H3> | |
switchOverToHash</H3> | |
<PRE> | |
private void <A HREF="../../../../src-html/org/apache/xml/serializer/AttributesImplSerializer.html#line.147"><B>switchOverToHash</B></A>(int numAtts)</PRE> | |
<DL> | |
<DD>We are switching over to having a hash table for quick look | |
up of attributes, but up until now we haven't kept any | |
information in the Hashtable, so we now update the Hashtable. | |
Future additional attributes will update the Hashtable as | |
they are added. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>numAtts</CODE> - </DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="clear()"><!-- --></A><H3> | |
clear</H3> | |
<PRE> | |
public final void <A HREF="../../../../src-html/org/apache/xml/serializer/AttributesImplSerializer.html#line.170"><B>clear</B></A>()</PRE> | |
<DL> | |
<DD>This method clears the accumulated attributes. | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE>clear</CODE> in class <CODE>org.xml.sax.helpers.AttributesImpl</CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>See Also:</B><DD><CODE>AttributesImpl.clear()</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setAttributes(org.xml.sax.Attributes)"><!-- --></A><H3> | |
setAttributes</H3> | |
<PRE> | |
public final void <A HREF="../../../../src-html/org/apache/xml/serializer/AttributesImplSerializer.html#line.192"><B>setAttributes</B></A>(org.xml.sax.Attributes atts)</PRE> | |
<DL> | |
<DD>This method sets the attributes, previous attributes are cleared, | |
it also keeps the hashtable up to date for quick lookup via | |
getIndex(qName). | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE>setAttributes</CODE> in class <CODE>org.xml.sax.helpers.AttributesImpl</CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>atts</CODE> - the attributes to copy into these attributes.<DT><B>See Also:</B><DD><CODE>AttributesImpl.setAttributes(Attributes)</CODE>, | |
<A HREF="../../../../org/apache/xml/serializer/AttributesImplSerializer.html#getIndex(java.lang.String)"><CODE>getIndex(String)</CODE></A></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getIndex(java.lang.String, java.lang.String)"><!-- --></A><H3> | |
getIndex</H3> | |
<PRE> | |
public final int <A HREF="../../../../src-html/org/apache/xml/serializer/AttributesImplSerializer.html#line.213"><B>getIndex</B></A>(java.lang.String uri, | |
java.lang.String localName)</PRE> | |
<DL> | |
<DD>This method gets the index of an attribute given its uri and locanName. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE>getIndex</CODE> in interface <CODE>org.xml.sax.Attributes</CODE><DT><B>Overrides:</B><DD><CODE>getIndex</CODE> in class <CODE>org.xml.sax.helpers.AttributesImpl</CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - the URI of the attribute name.<DD><CODE>localName</CODE> - the local namer (after the ':' ) of the attribute name. | |
<DT><B>Returns:</B><DD>the integer index of the attribute.<DT><B>See Also:</B><DD><CODE>Attributes.getIndex(String)</CODE></DL> | |
</DD> | |
</DL> | |
<!-- ========= END OF CLASS DATA ========= --> | |
<HR> | |
<!-- ======= START OF BOTTOM NAVBAR ====== --> | |
<A NAME="navbar_bottom"><!-- --></A> | |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_bottom_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<TR ALIGN="center" VALIGN="top"> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AttributesImplSerializer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
PREV CLASS | |
<A HREF="../../../../org/apache/xml/serializer/CharInfo.html" title="class in org.apache.xml.serializer"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xml/serializer/AttributesImplSerializer.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="AttributesImplSerializer.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
</BODY> | |
</HTML> |