<!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:32 PDT 2012 --> | |
<TITLE> | |
ExpandedNameTable | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xml.dtm.ref.ExpandedNameTable class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="ExpandedNameTable"; | |
} | |
</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/ExpandedNameTable.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"> | |
<A HREF="../../../../../org/apache/xml/dtm/ref/EmptyIterator.html" title="class in org.apache.xml.dtm.ref"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.HashEntry.html" title="class in org.apache.xml.dtm.ref"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../index.html?org/apache/xml/dtm/ref/ExpandedNameTable.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="ExpandedNameTable.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: <A HREF="#nested_class_summary">NESTED</A> | <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.dtm.ref</FONT> | |
<BR> | |
Class ExpandedNameTable</H2> | |
<PRE> | |
java.lang.Object | |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xml.dtm.ref.ExpandedNameTable</B> | |
</PRE> | |
<HR> | |
<DL> | |
<DT><PRE>public class <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.37"><B>ExpandedNameTable</B></A><DT>extends java.lang.Object</DL> | |
</PRE> | |
<P> | |
This is a default implementation of a table that manages mappings from | |
expanded names to expandedNameIDs. | |
%OPT% The performance of the getExpandedTypeID() method is very important | |
to DTM building. To get the best performance out of this class, we implement | |
a simple hash algorithm directly into this class, instead of using the | |
inefficient java.util.Hashtable. The code for the get and put operations | |
are combined in getExpandedTypeID() method to share the same hash calculation | |
code. We only need to implement the rehash() interface which is used to | |
expand the hash table. | |
<P> | |
<P> | |
<HR> | |
<P> | |
<!-- ======== NESTED CLASS SUMMARY ======== --> | |
<A NAME="nested_class_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>Nested Class Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private static class</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.HashEntry.html" title="class in org.apache.xml.dtm.ref">ExpandedNameTable.HashEntry</A></B></CODE> | |
<BR> | |
Inner class which represents a hash table entry.</TD> | |
</TR> | |
</TABLE> | |
<!-- =========== 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>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#ATTRIBUTE">ATTRIBUTE</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#CDATA_SECTION">CDATA_SECTION</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#COMMENT">COMMENT</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#DOCUMENT">DOCUMENT</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#DOCUMENT_FRAGMENT">DOCUMENT_FRAGMENT</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#DOCUMENT_TYPE">DOCUMENT_TYPE</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#ELEMENT">ELEMENT</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#ENTITY">ENTITY</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#ENTITY_REFERENCE">ENTITY_REFERENCE</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) <A HREF="../../../../../org/apache/xml/dtm/ref/ExtendedType.html" title="class in org.apache.xml.dtm.ref">ExtendedType</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#hashET">hashET</A></B></CODE> | |
<BR> | |
Workspace for lookup.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#m_capacity">m_capacity</A></B></CODE> | |
<BR> | |
The capacity of the hash table, i.e.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private static <A HREF="../../../../../org/apache/xml/dtm/ref/ExtendedType.html" title="class in org.apache.xml.dtm.ref">ExtendedType</A>[]</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#m_defaultExtendedTypes">m_defaultExtendedTypes</A></B></CODE> | |
<BR> | |
The array to store the default extended types.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private <A HREF="../../../../../org/apache/xml/dtm/ref/ExtendedType.html" title="class in org.apache.xml.dtm.ref">ExtendedType</A>[]</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#m_extendedTypes">m_extendedTypes</A></B></CODE> | |
<BR> | |
Array of extended types for this document</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/dtm/ref/ExpandedNameTable.html#m_initialCapacity">m_initialCapacity</A></B></CODE> | |
<BR> | |
The initial capacity of the hash table.</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/dtm/ref/ExpandedNameTable.html#m_initialSize">m_initialSize</A></B></CODE> | |
<BR> | |
The initial size of the m_extendedTypes array</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private static float</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#m_loadFactor">m_loadFactor</A></B></CODE> | |
<BR> | |
The default load factor of the Hashtable.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#m_nextType">m_nextType</A></B></CODE> | |
<BR> | |
Next available extended type</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private <A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.HashEntry.html" title="class in org.apache.xml.dtm.ref">ExpandedNameTable.HashEntry</A>[]</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#m_table">m_table</A></B></CODE> | |
<BR> | |
The internal array to store the hash entries.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#m_threshold">m_threshold</A></B></CODE> | |
<BR> | |
The threshold of the hash table, which is equal to capacity * loadFactor.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#NAMESPACE">NAMESPACE</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#NOTATION">NOTATION</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#PROCESSING_INSTRUCTION">PROCESSING_INSTRUCTION</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#TEXT">TEXT</A></B></CODE> | |
<BR> | |
</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/dtm/ref/ExpandedNameTable.html#ExpandedNameTable()">ExpandedNameTable</A></B>()</CODE> | |
<BR> | |
Create an expanded name table.</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="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#getExpandedTypeID(int)">getExpandedTypeID</A></B>(int type)</CODE> | |
<BR> | |
Given a type, return an expanded name ID.Any additional nodes that are | |
created that have this expanded name will use this ID.</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/dtm/ref/ExpandedNameTable.html#getExpandedTypeID(java.lang.String, java.lang.String, int)">getExpandedTypeID</A></B>(java.lang.String namespace, | |
java.lang.String localName, | |
int type)</CODE> | |
<BR> | |
Given an expanded name represented by namespace, local name and node type, | |
return an ID.</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/dtm/ref/ExpandedNameTable.html#getExpandedTypeID(java.lang.String, java.lang.String, int, boolean)">getExpandedTypeID</A></B>(java.lang.String namespace, | |
java.lang.String localName, | |
int type, | |
boolean searchOnly)</CODE> | |
<BR> | |
Given an expanded name represented by namespace, local name and node type, | |
return an ID.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../../org/apache/xml/dtm/ref/ExtendedType.html" title="class in org.apache.xml.dtm.ref">ExtendedType</A>[]</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#getExtendedTypes()">getExtendedTypes</A></B>()</CODE> | |
<BR> | |
Return the array of extended types</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#getLocalName(int)">getLocalName</A></B>(int ExpandedNameID)</CODE> | |
<BR> | |
Given an expanded-name ID, return the local name part.</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/dtm/ref/ExpandedNameTable.html#getLocalNameID(int)">getLocalNameID</A></B>(int ExpandedNameID)</CODE> | |
<BR> | |
Given an expanded-name ID, return the local name ID.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#getNamespace(int)">getNamespace</A></B>(int ExpandedNameID)</CODE> | |
<BR> | |
Given an expanded-name ID, return the namespace URI part.</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/dtm/ref/ExpandedNameTable.html#getNamespaceID(int)">getNamespaceID</A></B>(int ExpandedNameID)</CODE> | |
<BR> | |
Given an expanded-name ID, return the namespace URI ID.</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/dtm/ref/ExpandedNameTable.html#getSize()">getSize</A></B>()</CODE> | |
<BR> | |
Return the size of the ExpandedNameTable</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.html#getType(int)">getType</A></B>(int ExpandedNameID)</CODE> | |
<BR> | |
Given an expanded-name ID, return the local name ID.</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/dtm/ref/ExpandedNameTable.html#initExtendedTypes()">initExtendedTypes</A></B>()</CODE> | |
<BR> | |
Initialize the vector of extended types with the | |
basic DOM node types.</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/dtm/ref/ExpandedNameTable.html#rehash()">rehash</A></B>()</CODE> | |
<BR> | |
Increases the capacity of and internally reorganizes the hashtable, | |
in order to accommodate and access its entries more efficiently.</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_extendedTypes"><!-- --></A><H3> | |
m_extendedTypes</H3> | |
<PRE> | |
private <A HREF="../../../../../org/apache/xml/dtm/ref/ExtendedType.html" title="class in org.apache.xml.dtm.ref">ExtendedType</A>[] <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.41"><B>m_extendedTypes</B></A></PRE> | |
<DL> | |
<DD>Array of extended types for this document | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_initialSize"><!-- --></A><H3> | |
m_initialSize</H3> | |
<PRE> | |
private static int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.44"><B>m_initialSize</B></A></PRE> | |
<DL> | |
<DD>The initial size of the m_extendedTypes array | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_nextType"><!-- --></A><H3> | |
m_nextType</H3> | |
<PRE> | |
private int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.49"><B>m_nextType</B></A></PRE> | |
<DL> | |
<DD>Next available extended type | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="ELEMENT"><!-- --></A><H3> | |
ELEMENT</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.52"><B>ELEMENT</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.ExpandedNameTable.ELEMENT">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="ATTRIBUTE"><!-- --></A><H3> | |
ATTRIBUTE</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.53"><B>ATTRIBUTE</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.ExpandedNameTable.ATTRIBUTE">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="TEXT"><!-- --></A><H3> | |
TEXT</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.54"><B>TEXT</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.ExpandedNameTable.TEXT">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="CDATA_SECTION"><!-- --></A><H3> | |
CDATA_SECTION</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.55"><B>CDATA_SECTION</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.ExpandedNameTable.CDATA_SECTION">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="ENTITY_REFERENCE"><!-- --></A><H3> | |
ENTITY_REFERENCE</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.56"><B>ENTITY_REFERENCE</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.ExpandedNameTable.ENTITY_REFERENCE">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="ENTITY"><!-- --></A><H3> | |
ENTITY</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.57"><B>ENTITY</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.ExpandedNameTable.ENTITY">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="PROCESSING_INSTRUCTION"><!-- --></A><H3> | |
PROCESSING_INSTRUCTION</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.58"><B>PROCESSING_INSTRUCTION</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.ExpandedNameTable.PROCESSING_INSTRUCTION">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="COMMENT"><!-- --></A><H3> | |
COMMENT</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.59"><B>COMMENT</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.ExpandedNameTable.COMMENT">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="DOCUMENT"><!-- --></A><H3> | |
DOCUMENT</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.60"><B>DOCUMENT</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.ExpandedNameTable.DOCUMENT">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="DOCUMENT_TYPE"><!-- --></A><H3> | |
DOCUMENT_TYPE</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.61"><B>DOCUMENT_TYPE</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.ExpandedNameTable.DOCUMENT_TYPE">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="DOCUMENT_FRAGMENT"><!-- --></A><H3> | |
DOCUMENT_FRAGMENT</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.62"><B>DOCUMENT_FRAGMENT</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.ExpandedNameTable.DOCUMENT_FRAGMENT">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="NOTATION"><!-- --></A><H3> | |
NOTATION</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.63"><B>NOTATION</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.ExpandedNameTable.NOTATION">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="NAMESPACE"><!-- --></A><H3> | |
NAMESPACE</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.64"><B>NAMESPACE</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xml.dtm.ref.ExpandedNameTable.NAMESPACE">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="hashET"><!-- --></A><H3> | |
hashET</H3> | |
<PRE> | |
<A HREF="../../../../../org/apache/xml/dtm/ref/ExtendedType.html" title="class in org.apache.xml.dtm.ref">ExtendedType</A> <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.68"><B>hashET</B></A></PRE> | |
<DL> | |
<DD>Workspace for lookup. NOT THREAD SAFE! | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_defaultExtendedTypes"><!-- --></A><H3> | |
m_defaultExtendedTypes</H3> | |
<PRE> | |
private static <A HREF="../../../../../org/apache/xml/dtm/ref/ExtendedType.html" title="class in org.apache.xml.dtm.ref">ExtendedType</A>[] <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.71"><B>m_defaultExtendedTypes</B></A></PRE> | |
<DL> | |
<DD>The array to store the default extended types. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_loadFactor"><!-- --></A><H3> | |
m_loadFactor</H3> | |
<PRE> | |
private static float <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.77"><B>m_loadFactor</B></A></PRE> | |
<DL> | |
<DD>The default load factor of the Hashtable. | |
This is used to calcualte the threshold. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_initialCapacity"><!-- --></A><H3> | |
m_initialCapacity</H3> | |
<PRE> | |
private static int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.83"><B>m_initialCapacity</B></A></PRE> | |
<DL> | |
<DD>The initial capacity of the hash table. Use a bigger number | |
to avoid the cost of expanding the table. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_capacity"><!-- --></A><H3> | |
m_capacity</H3> | |
<PRE> | |
private int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.89"><B>m_capacity</B></A></PRE> | |
<DL> | |
<DD>The capacity of the hash table, i.e. the size of the | |
internal HashEntry array. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_threshold"><!-- --></A><H3> | |
m_threshold</H3> | |
<PRE> | |
private int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.96"><B>m_threshold</B></A></PRE> | |
<DL> | |
<DD>The threshold of the hash table, which is equal to capacity * loadFactor. | |
If the number of entries in the hash table is bigger than the threshold, | |
the hash table needs to be expanded. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_table"><!-- --></A><H3> | |
m_table</H3> | |
<PRE> | |
private <A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.HashEntry.html" title="class in org.apache.xml.dtm.ref">ExpandedNameTable.HashEntry</A>[] <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.102"><B>m_table</B></A></PRE> | |
<DL> | |
<DD>The internal array to store the hash entries. | |
Each array member is a slot for a hash bucket. | |
<P> | |
<DL> | |
</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="ExpandedNameTable()"><!-- --></A><H3> | |
ExpandedNameTable</H3> | |
<PRE> | |
public <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.119"><B>ExpandedNameTable</B></A>()</PRE> | |
<DL> | |
<DD>Create an expanded name table. | |
<P> | |
</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="initExtendedTypes()"><!-- --></A><H3> | |
initExtendedTypes</H3> | |
<PRE> | |
private void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.133"><B>initExtendedTypes</B></A>()</PRE> | |
<DL> | |
<DD>Initialize the vector of extended types with the | |
basic DOM node types. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getExpandedTypeID(java.lang.String, java.lang.String, int)"><!-- --></A><H3> | |
getExpandedTypeID</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.156"><B>getExpandedTypeID</B></A>(java.lang.String namespace, | |
java.lang.String localName, | |
int type)</PRE> | |
<DL> | |
<DD>Given an expanded name represented by namespace, local name and node type, | |
return an ID. If the expanded-name does not exist in the internal tables, | |
the entry will be created, and the ID will be returned. Any additional | |
nodes that are created that have this expanded name will use this ID. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>namespace</CODE> - The namespace<DD><CODE>localName</CODE> - The local name<DD><CODE>type</CODE> - The node type | |
<DT><B>Returns:</B><DD>the expanded-name id of the node.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getExpandedTypeID(java.lang.String, java.lang.String, int, boolean)"><!-- --></A><H3> | |
getExpandedTypeID</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.179"><B>getExpandedTypeID</B></A>(java.lang.String namespace, | |
java.lang.String localName, | |
int type, | |
boolean searchOnly)</PRE> | |
<DL> | |
<DD>Given an expanded name represented by namespace, local name and node type, | |
return an ID. If the expanded-name does not exist in the internal tables, | |
the entry will be created, and the ID will be returned. Any additional | |
nodes that are created that have this expanded name will use this ID. | |
<p> | |
If searchOnly is true, we will return -1 if the name is not found in the | |
table, otherwise the name is added to the table and the expanded name id | |
of the new entry is returned. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>namespace</CODE> - The namespace<DD><CODE>localName</CODE> - The local name<DD><CODE>type</CODE> - The node type<DD><CODE>searchOnly</CODE> - If it is true, we will only search for the expanded name. | |
-1 is return is the name is not found. | |
<DT><B>Returns:</B><DD>the expanded-name id of the node.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="rehash()"><!-- --></A><H3> | |
rehash</H3> | |
<PRE> | |
private void <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.245"><B>rehash</B></A>()</PRE> | |
<DL> | |
<DD>Increases the capacity of and internally reorganizes the hashtable, | |
in order to accommodate and access its entries more efficiently. | |
This method is called when the number of keys in the hashtable exceeds | |
this hashtable's capacity and load factor. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getExpandedTypeID(int)"><!-- --></A><H3> | |
getExpandedTypeID</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.278"><B>getExpandedTypeID</B></A>(int type)</PRE> | |
<DL> | |
<DD>Given a type, return an expanded name ID.Any additional nodes that are | |
created that have this expanded name will use this ID. | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>the expanded-name id of the node.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getLocalName(int)"><!-- --></A><H3> | |
getLocalName</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.289"><B>getLocalName</B></A>(int ExpandedNameID)</PRE> | |
<DL> | |
<DD>Given an expanded-name ID, return the local name part. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>ExpandedNameID</CODE> - an ID that represents an expanded-name. | |
<DT><B>Returns:</B><DD>String Local name of this node, or null if the node has no name.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getLocalNameID(int)"><!-- --></A><H3> | |
getLocalNameID</H3> | |
<PRE> | |
public final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.300"><B>getLocalNameID</B></A>(int ExpandedNameID)</PRE> | |
<DL> | |
<DD>Given an expanded-name ID, return the local name ID. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>ExpandedNameID</CODE> - an ID that represents an expanded-name. | |
<DT><B>Returns:</B><DD>The id of this local name.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNamespace(int)"><!-- --></A><H3> | |
getNamespace</H3> | |
<PRE> | |
public java.lang.String <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.317"><B>getNamespace</B></A>(int ExpandedNameID)</PRE> | |
<DL> | |
<DD>Given an expanded-name ID, return the namespace URI part. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>ExpandedNameID</CODE> - an ID that represents an expanded-name. | |
<DT><B>Returns:</B><DD>String URI value of this node's namespace, or null if no | |
namespace was resolved.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNamespaceID(int)"><!-- --></A><H3> | |
getNamespaceID</H3> | |
<PRE> | |
public final int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.329"><B>getNamespaceID</B></A>(int ExpandedNameID)</PRE> | |
<DL> | |
<DD>Given an expanded-name ID, return the namespace URI ID. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>ExpandedNameID</CODE> - an ID that represents an expanded-name. | |
<DT><B>Returns:</B><DD>The id of this namespace.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getType(int)"><!-- --></A><H3> | |
getType</H3> | |
<PRE> | |
public final short <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.344"><B>getType</B></A>(int ExpandedNameID)</PRE> | |
<DL> | |
<DD>Given an expanded-name ID, return the local name ID. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>ExpandedNameID</CODE> - an ID that represents an expanded-name. | |
<DT><B>Returns:</B><DD>The id of this local name.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getSize()"><!-- --></A><H3> | |
getSize</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.355"><B>getSize</B></A>()</PRE> | |
<DL> | |
<DD>Return the size of the ExpandedNameTable | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>The size of the ExpandedNameTable</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getExtendedTypes()"><!-- --></A><H3> | |
getExtendedTypes</H3> | |
<PRE> | |
public <A HREF="../../../../../org/apache/xml/dtm/ref/ExtendedType.html" title="class in org.apache.xml.dtm.ref">ExtendedType</A>[] <A HREF="../../../../../src-html/org/apache/xml/dtm/ref/ExpandedNameTable.html#line.365"><B>getExtendedTypes</B></A>()</PRE> | |
<DL> | |
<DD>Return the array of extended types | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>The array of extended types</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/ExpandedNameTable.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"> | |
<A HREF="../../../../../org/apache/xml/dtm/ref/EmptyIterator.html" title="class in org.apache.xml.dtm.ref"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/xml/dtm/ref/ExpandedNameTable.HashEntry.html" title="class in org.apache.xml.dtm.ref"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../index.html?org/apache/xml/dtm/ref/ExpandedNameTable.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="ExpandedNameTable.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: <A HREF="#nested_class_summary">NESTED</A> | <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> |