<!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.6.0_18) on Fri Dec 09 20:48:39 GMT 2011 --> <TITLE> TinyAttributeCollection </TITLE> <META NAME="date" CONTENT="2011-12-09"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="TinyAttributeCollection"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= 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="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"> <A HREF="../../../../../net/sf/saxon/tree/tiny/LargeStringBuffer.html" title="class in net.sf.saxon.tree.tiny"><B>PREV CLASS</B></A> <A HREF="../../../../../net/sf/saxon/tree/tiny/TinyBuilder.html" title="class in net.sf.saxon.tree.tiny"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?net/sf/saxon/tree/tiny/TinyAttributeCollection.html" target="_top"><B>FRAMES</B></A> <A HREF="TinyAttributeCollection.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <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"> net.sf.saxon.tree.tiny</FONT> <BR> Class TinyAttributeCollection</H2> <PRE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.saxon.tree.tiny.TinyAttributeCollection</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>TinyAttributeCollection</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></DL> </PRE> <P> An implementation of the AttributeCollection interface based directly on the TinyTree data structure. <P> <P> <HR> <P> <!-- ======== 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="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#TinyAttributeCollection(net.sf.saxon.tree.tiny.TinyTree, int)">TinyAttributeCollection</A></B>(<A HREF="../../../../../net/sf/saxon/tree/tiny/TinyTree.html" title="class in net.sf.saxon.tree.tiny">TinyTree</A> tree, int element)</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> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getIndex(java.lang.String, java.lang.String)">getIndex</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> uri, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> localname)</CODE> <BR> Get the index of an attribute (by name).</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="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getIndexByFingerprint(int)">getIndexByFingerprint</A></B>(int fingerprint)</CODE> <BR> Get the index, given the fingerprint</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="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getLength()">getLength</A></B>()</CODE> <BR> Return the number of attributes in the list.</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="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getLineNumber(int)">getLineNumber</A></B>(int index)</CODE> <BR> Get the line number part of the location of an attribute, at a given index.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getLocalName(int)">getLocalName</A></B>(int index)</CODE> <BR> Get the local name of an attribute (by position).</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="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getLocationId(int)">getLocationId</A></B>(int index)</CODE> <BR> Get the locationID of an attribute (by position)</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="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getNameCode(int)">getNameCode</A></B>(int index)</CODE> <BR> Get the namecode of an attribute (by position).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/om/NodeName.html" title="interface in net.sf.saxon.om">NodeName</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getNodeName(int)">getNodeName</A></B>(int index)</CODE> <BR> Get the node name of an attribute (by position)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getPrefix(int)">getPrefix</A></B>(int index)</CODE> <BR> Get the prefix of the name of an attribute (by position).</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="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getProperties(int)">getProperties</A></B>(int index)</CODE> <BR> Get the properties of an attribute (by position)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getQName(int)">getQName</A></B>(int index)</CODE> <BR> Get the lexical QName of an attribute (by position).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getSystemId(int)">getSystemId</A></B>(int index)</CODE> <BR> Get the systemId part of the location of an attribute, at a given index.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getTypeAnnotation(int)">getTypeAnnotation</A></B>(int index)</CODE> <BR> Get the type annotation of an attribute (by position).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getURI(int)">getURI</A></B>(int index)</CODE> <BR> Get the namespace URI of an attribute (by position).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getValue(int)">getValue</A></B>(int index)</CODE> <BR> Get the value of an attribute (by position).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getValue(java.lang.String, java.lang.String)">getValue</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> uri, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> localname)</CODE> <BR> Get the value of an attribute (by name).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#getValueByFingerprint(int)">getValueByFingerprint</A></B>(int fingerprint)</CODE> <BR> Get the attribute value using its fingerprint</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#isId(int)">isId</A></B>(int index)</CODE> <BR> Determine whether a given attribute has the is-ID property set</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../net/sf/saxon/tree/tiny/TinyAttributeCollection.html#isIdref(int)">isIdref</A></B>(int index)</CODE> <BR> Determine whether a given attribute has the is-idref property set</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.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE> <P> <!-- ========= 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="TinyAttributeCollection(net.sf.saxon.tree.tiny.TinyTree, int)"><!-- --></A><H3> TinyAttributeCollection</H3> <PRE> public <B>TinyAttributeCollection</B>(<A HREF="../../../../../net/sf/saxon/tree/tiny/TinyTree.html" title="class in net.sf.saxon.tree.tiny">TinyTree</A> tree, int element)</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="getLength()"><!-- --></A><H3> getLength</H3> <PRE> public int <B>getLength</B>()</PRE> <DL> <DD>Return the number of attributes in the list. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getLength()">getLength</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>The number of attributes in the list.</DL> </DD> </DL> <HR> <A NAME="getNameCode(int)"><!-- --></A><H3> getNameCode</H3> <PRE> public int <B>getNameCode</B>(int index)</PRE> <DL> <DD>Get the namecode of an attribute (by position). <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getNameCode(int)">getNameCode</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>index</CODE> - The position of the attribute in the list. <DT><B>Returns:</B><DD>The display name of the attribute as a string, or null if there is no attribute at that position.</DL> </DD> </DL> <HR> <A NAME="getNodeName(int)"><!-- --></A><H3> getNodeName</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/om/NodeName.html" title="interface in net.sf.saxon.om">NodeName</A> <B>getNodeName</B>(int index)</PRE> <DL> <DD>Get the node name of an attribute (by position) <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getNodeName(int)">getNodeName</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>index</CODE> - The position of the attribute in the list <DT><B>Returns:</B><DD>The node name of the attribute, or null if there is no attribute in that position</DL> </DD> </DL> <HR> <A NAME="getTypeAnnotation(int)"><!-- --></A><H3> getTypeAnnotation</H3> <PRE> public <A HREF="../../../../../net/sf/saxon/type/SimpleType.html" title="interface in net.sf.saxon.type">SimpleType</A> <B>getTypeAnnotation</B>(int index)</PRE> <DL> <DD>Get the type annotation of an attribute (by position). <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getTypeAnnotation(int)">getTypeAnnotation</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>index</CODE> - The position of the attribute in the list. <DT><B>Returns:</B><DD>The type annotation of the attribute</DL> </DD> </DL> <HR> <A NAME="getLocationId(int)"><!-- --></A><H3> getLocationId</H3> <PRE> public int <B>getLocationId</B>(int index)</PRE> <DL> <DD>Get the locationID of an attribute (by position) <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getLocationId(int)">getLocationId</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>index</CODE> - The position of the attribute in the list. <DT><B>Returns:</B><DD>The location identifier of the attribute. This can be supplied to a <A HREF="../../../../../net/sf/saxon/event/LocationProvider.html" title="interface in net.sf.saxon.event"><CODE>LocationProvider</CODE></A> in order to obtain the actual system identifier and line number of the relevant location</DL> </DD> </DL> <HR> <A NAME="getSystemId(int)"><!-- --></A><H3> getSystemId</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getSystemId</B>(int index)</PRE> <DL> <DD>Get the systemId part of the location of an attribute, at a given index. <p/> <p>Attribute location information is not available from a SAX parser, so this method is not useful for getting the location of an attribute in a source document. However, in a Saxon result document, the location information represents the location in the stylesheet of the instruction used to generate this attribute, which is useful for debugging.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getSystemId(int)">getSystemId</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>index</CODE> - the required attribute <DT><B>Returns:</B><DD>the systemId of the location of the attribute</DL> </DD> </DL> <HR> <A NAME="getLineNumber(int)"><!-- --></A><H3> getLineNumber</H3> <PRE> public int <B>getLineNumber</B>(int index)</PRE> <DL> <DD>Get the line number part of the location of an attribute, at a given index. <p/> <p>Attribute location information is not available from a SAX parser, so this method is not useful for getting the location of an attribute in a source document. However, in a Saxon result document, the location information represents the location in the stylesheet of the instruction used to generate this attribute, which is useful for debugging.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getLineNumber(int)">getLineNumber</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>index</CODE> - the required attribute <DT><B>Returns:</B><DD>the line number of the location of the attribute</DL> </DD> </DL> <HR> <A NAME="getProperties(int)"><!-- --></A><H3> getProperties</H3> <PRE> public int <B>getProperties</B>(int index)</PRE> <DL> <DD>Get the properties of an attribute (by position) <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getProperties(int)">getProperties</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>index</CODE> - The position of the attribute in the list. <DT><B>Returns:</B><DD>The properties of the attribute. This is a set of bit-settings defined in class <A HREF="../../../../../net/sf/saxon/event/ReceiverOptions.html" title="class in net.sf.saxon.event"><CODE>ReceiverOptions</CODE></A>. The most interesting of these is {<A HREF="../../../../../net/sf/saxon/event/ReceiverOptions.html#DEFAULTED_ATTRIBUTE"><CODE>ReceiverOptions.DEFAULTED_ATTRIBUTE</CODE></A>, which indicates an attribute that was added to an element as a result of schema validation.</DL> </DD> </DL> <HR> <A NAME="getPrefix(int)"><!-- --></A><H3> getPrefix</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getPrefix</B>(int index)</PRE> <DL> <DD>Get the prefix of the name of an attribute (by position). <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getPrefix(int)">getPrefix</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>index</CODE> - The position of the attribute in the list. <DT><B>Returns:</B><DD>The prefix of the attribute name as a string, or null if there is no attribute at that position. Returns "" for an attribute that has no prefix.</DL> </DD> </DL> <HR> <A NAME="getQName(int)"><!-- --></A><H3> getQName</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getQName</B>(int index)</PRE> <DL> <DD>Get the lexical QName of an attribute (by position). <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getQName(int)">getQName</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>index</CODE> - The position of the attribute in the list. <DT><B>Returns:</B><DD>The lexical QName of the attribute as a string, or null if there is no attribute at that position.</DL> </DD> </DL> <HR> <A NAME="getLocalName(int)"><!-- --></A><H3> getLocalName</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getLocalName</B>(int index)</PRE> <DL> <DD>Get the local name of an attribute (by position). <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getLocalName(int)">getLocalName</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>index</CODE> - The position of the attribute in the list. <DT><B>Returns:</B><DD>The local name of the attribute as a string, or null if there is no attribute at that position.</DL> </DD> </DL> <HR> <A NAME="getURI(int)"><!-- --></A><H3> getURI</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getURI</B>(int index)</PRE> <DL> <DD>Get the namespace URI of an attribute (by position). <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getURI(int)">getURI</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>index</CODE> - The position of the attribute in the list. <DT><B>Returns:</B><DD>The local name of the attribute as a string, or null if there is no attribute at that position.</DL> </DD> </DL> <HR> <A NAME="getIndex(java.lang.String, java.lang.String)"><!-- --></A><H3> getIndex</H3> <PRE> public int <B>getIndex</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> uri, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> localname)</PRE> <DL> <DD>Get the index of an attribute (by name). <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getIndex(java.lang.String, java.lang.String)">getIndex</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>uri</CODE> - The namespace uri of the attribute.<DD><CODE>localname</CODE> - The local name of the attribute. <DT><B>Returns:</B><DD>The index position of the attribute, or -1 if there is no attribute with this name</DL> </DD> </DL> <HR> <A NAME="getIndexByFingerprint(int)"><!-- --></A><H3> getIndexByFingerprint</H3> <PRE> public int <B>getIndexByFingerprint</B>(int fingerprint)</PRE> <DL> <DD>Get the index, given the fingerprint <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getIndexByFingerprint(int)">getIndexByFingerprint</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>fingerprint</CODE> - the NamePool fingerprint of the required attribute name <DT><B>Returns:</B><DD>The index position of the attribute, or -1 if there is no attribute with this name</DL> </DD> </DL> <HR> <A NAME="getValueByFingerprint(int)"><!-- --></A><H3> getValueByFingerprint</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getValueByFingerprint</B>(int fingerprint)</PRE> <DL> <DD>Get the attribute value using its fingerprint <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getValueByFingerprint(int)">getValueByFingerprint</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getValue(java.lang.String, java.lang.String)"><!-- --></A><H3> getValue</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getValue</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> uri, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> localname)</PRE> <DL> <DD>Get the value of an attribute (by name). <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getValue(java.lang.String, java.lang.String)">getValue</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>uri</CODE> - The namespace uri of the attribute.<DD><CODE>localname</CODE> - The local name of the attribute. <DT><B>Returns:</B><DD>The index position of the attribute</DL> </DD> </DL> <HR> <A NAME="getValue(int)"><!-- --></A><H3> getValue</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getValue</B>(int index)</PRE> <DL> <DD>Get the value of an attribute (by position). <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#getValue(int)">getValue</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>index</CODE> - The position of the attribute in the list. <DT><B>Returns:</B><DD>The attribute value as a string, or null if there is no attribute at that position.</DL> </DD> </DL> <HR> <A NAME="isId(int)"><!-- --></A><H3> isId</H3> <PRE> public boolean <B>isId</B>(int index)</PRE> <DL> <DD>Determine whether a given attribute has the is-ID property set <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#isId(int)">isId</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="isIdref(int)"><!-- --></A><H3> isIdref</H3> <PRE> public boolean <B>isIdref</B>(int index)</PRE> <DL> <DD>Determine whether a given attribute has the is-idref property set <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html#isIdref(int)">isIdref</A></CODE> in interface <CODE><A HREF="../../../../../net/sf/saxon/om/AttributeCollection.html" title="interface in net.sf.saxon.om">AttributeCollection</A></CODE></DL> </DD> <DD><DL> </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="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"> <A HREF="../../../../../net/sf/saxon/tree/tiny/LargeStringBuffer.html" title="class in net.sf.saxon.tree.tiny"><B>PREV CLASS</B></A> <A HREF="../../../../../net/sf/saxon/tree/tiny/TinyBuilder.html" title="class in net.sf.saxon.tree.tiny"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?net/sf/saxon/tree/tiny/TinyAttributeCollection.html" target="_top"><B>FRAMES</B></A> <A HREF="TinyAttributeCollection.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <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> Copyright (c) 2004-2011 Saxonica Limited. All rights reserved. </BODY> </HTML>