| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| <!--NewPage-->
|
| <HTML>
|
| <HEAD>
|
| <!-- Generated by javadoc on Thu Nov 22 17:12:56 EST 2007 -->
|
| <TITLE>
|
| Xalan-Java 2.7.1: Class ExpandedNameTable
|
| </TITLE>
|
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
| </HEAD>
|
| <BODY BGCOLOR="white">
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_top"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <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"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../../org/apache/xml/dtm/ref/ExtendedType.html"><B>NEXT CLASS</B></A></FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="ExpandedNameTable.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | <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>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| <!-- ======== START OF CLASS DATA ======== -->
|
| <H2>
|
| <FONT SIZE="-1">
|
| org.apache.xml.dtm.ref</FONT>
|
| <BR>
|
| Class ExpandedNameTable</H2>
|
| <PRE>
|
| java.lang.Object
|
| |
|
| +--<B>org.apache.xml.dtm.ref.ExpandedNameTable</B>
|
| </PRE>
|
| <HR>
|
| <DL>
|
| <DT>public class <B>ExpandedNameTable</B><DT>extends java.lang.Object</DL>
|
|
|
| <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>
|
| <HR>
|
|
|
| <P>
|
| <!-- ======== INNER CLASS SUMMARY ======== -->
|
|
|
|
|
| <!-- =========== FIELD SUMMARY =========== -->
|
|
|
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Field Summary</B></FONT></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#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>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" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Constructor Summary</B></FONT></TD>
|
| </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" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Method Summary</B></FONT></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(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">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>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE>equals,
|
| getClass,
|
| hashCode,
|
| notify,
|
| notifyAll,
|
| toString,
|
| wait,
|
| wait,
|
| wait</CODE></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <P>
|
|
|
| <!-- ============ FIELD DETAIL =========== -->
|
|
|
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Field Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="ELEMENT"><!-- --></A><H3>
|
| ELEMENT</H3>
|
| <PRE>
|
| public static final int <B>ELEMENT</B></PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="ATTRIBUTE"><!-- --></A><H3>
|
| ATTRIBUTE</H3>
|
| <PRE>
|
| public static final int <B>ATTRIBUTE</B></PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="TEXT"><!-- --></A><H3>
|
| TEXT</H3>
|
| <PRE>
|
| public static final int <B>TEXT</B></PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="CDATA_SECTION"><!-- --></A><H3>
|
| CDATA_SECTION</H3>
|
| <PRE>
|
| public static final int <B>CDATA_SECTION</B></PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="ENTITY_REFERENCE"><!-- --></A><H3>
|
| ENTITY_REFERENCE</H3>
|
| <PRE>
|
| public static final int <B>ENTITY_REFERENCE</B></PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="ENTITY"><!-- --></A><H3>
|
| ENTITY</H3>
|
| <PRE>
|
| public static final int <B>ENTITY</B></PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="PROCESSING_INSTRUCTION"><!-- --></A><H3>
|
| PROCESSING_INSTRUCTION</H3>
|
| <PRE>
|
| public static final int <B>PROCESSING_INSTRUCTION</B></PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="COMMENT"><!-- --></A><H3>
|
| COMMENT</H3>
|
| <PRE>
|
| public static final int <B>COMMENT</B></PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="DOCUMENT"><!-- --></A><H3>
|
| DOCUMENT</H3>
|
| <PRE>
|
| public static final int <B>DOCUMENT</B></PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="DOCUMENT_TYPE"><!-- --></A><H3>
|
| DOCUMENT_TYPE</H3>
|
| <PRE>
|
| public static final int <B>DOCUMENT_TYPE</B></PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="DOCUMENT_FRAGMENT"><!-- --></A><H3>
|
| DOCUMENT_FRAGMENT</H3>
|
| <PRE>
|
| public static final int <B>DOCUMENT_FRAGMENT</B></PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="NOTATION"><!-- --></A><H3>
|
| NOTATION</H3>
|
| <PRE>
|
| public static final int <B>NOTATION</B></PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="NAMESPACE"><!-- --></A><H3>
|
| NAMESPACE</H3>
|
| <PRE>
|
| public static final int <B>NAMESPACE</B></PRE>
|
| <DL>
|
| </DL>
|
|
|
| <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Constructor Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="ExpandedNameTable()"><!-- --></A><H3>
|
| ExpandedNameTable</H3>
|
| <PRE>
|
| public <B>ExpandedNameTable</B>()</PRE>
|
| <DL>
|
| <DD>Create an expanded name table.</DL>
|
|
|
| <!-- ============ METHOD DETAIL ========== -->
|
|
|
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Method Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="getExpandedTypeID(java.lang.String, java.lang.String, int)"><!-- --></A><H3>
|
| getExpandedTypeID</H3>
|
| <PRE>
|
| public int <B>getExpandedTypeID</B>(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.<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 <B>getExpandedTypeID</B>(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.<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="getExpandedTypeID(int)"><!-- --></A><H3>
|
| getExpandedTypeID</H3>
|
| <PRE>
|
| public int <B>getExpandedTypeID</B>(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.<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 <B>getLocalName</B>(int ExpandedNameID)</PRE>
|
| <DL>
|
| <DD>Given an expanded-name ID, return the local name part.<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 <B>getLocalNameID</B>(int ExpandedNameID)</PRE>
|
| <DL>
|
| <DD>Given an expanded-name ID, return the local name ID.<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 <B>getNamespace</B>(int ExpandedNameID)</PRE>
|
| <DL>
|
| <DD>Given an expanded-name ID, return the namespace URI part.<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 <B>getNamespaceID</B>(int ExpandedNameID)</PRE>
|
| <DL>
|
| <DD>Given an expanded-name ID, return the namespace URI ID.<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 <B>getType</B>(int ExpandedNameID)</PRE>
|
| <DL>
|
| <DD>Given an expanded-name ID, return the local name ID.<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 <B>getSize</B>()</PRE>
|
| <DL>
|
| <DD>Return the size of the ExpandedNameTable<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">ExtendedType</A>[] <B>getExtendedTypes</B>()</PRE>
|
| <DL>
|
| <DD>Return the array of extended types<DD><DL>
|
| <DT><B>Returns:</B><DD>The array of extended types</DL>
|
| </DD>
|
| </DL>
|
| <!-- ========= END OF CLASS DATA ========= -->
|
| <HR>
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_bottom"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <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"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../../org/apache/xml/dtm/ref/ExtendedType.html"><B>NEXT CLASS</B></A></FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="ExpandedNameTable.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | <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>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| Copyright © 2006 Apache XML Project. All Rights Reserved.
|
| </BODY>
|
| </HTML>
|