| <!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: Interface DTMFilter
|
| </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/DTMFilter.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/DTMAxisIterator.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xml/dtm/DTMIterator.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="DTMFilter.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> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <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</FONT>
|
| <BR>
|
| Interface DTMFilter</H2>
|
| <HR>
|
| <DL>
|
| <DT>public interface <B>DTMFilter</B></DL>
|
|
|
| <P>
|
| Simple filter for doing node tests. Note the semantics of this are |
| somewhat different that the DOM's NodeFilter.
|
| <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/DTMFilter.html#SHOW_ALL">SHOW_ALL</A></B></CODE>
|
|
|
| <BR>
|
| Show all <code>Nodes</code>.</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/DTMFilter.html#SHOW_ATTRIBUTE">SHOW_ATTRIBUTE</A></B></CODE>
|
|
|
| <BR>
|
| Show <code>Attr</code> nodes.</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/DTMFilter.html#SHOW_BYFUNCTION">SHOW_BYFUNCTION</A></B></CODE>
|
|
|
| <BR>
|
| Special bit for filters implementing match patterns starting with |
| a function.</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/DTMFilter.html#SHOW_CDATA_SECTION">SHOW_CDATA_SECTION</A></B></CODE>
|
|
|
| <BR>
|
| Show <code>CDATASection</code> nodes.</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/DTMFilter.html#SHOW_COMMENT">SHOW_COMMENT</A></B></CODE>
|
|
|
| <BR>
|
| Show <code>Comment</code> nodes.</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/DTMFilter.html#SHOW_DOCUMENT">SHOW_DOCUMENT</A></B></CODE>
|
|
|
| <BR>
|
| Show <code>Document</code> nodes.</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/DTMFilter.html#SHOW_DOCUMENT_FRAGMENT">SHOW_DOCUMENT_FRAGMENT</A></B></CODE>
|
|
|
| <BR>
|
| Show <code>DocumentFragment</code> nodes.</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/DTMFilter.html#SHOW_DOCUMENT_TYPE">SHOW_DOCUMENT_TYPE</A></B></CODE>
|
|
|
| <BR>
|
| Show <code>DocumentType</code> nodes.</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/DTMFilter.html#SHOW_ELEMENT">SHOW_ELEMENT</A></B></CODE>
|
|
|
| <BR>
|
| Show <code>Element</code> nodes.</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/DTMFilter.html#SHOW_ENTITY">SHOW_ENTITY</A></B></CODE>
|
|
|
| <BR>
|
| Show <code>Entity</code> nodes.</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/DTMFilter.html#SHOW_ENTITY_REFERENCE">SHOW_ENTITY_REFERENCE</A></B></CODE>
|
|
|
| <BR>
|
| Show <code>EntityReference</code> nodes.</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/DTMFilter.html#SHOW_NAMESPACE">SHOW_NAMESPACE</A></B></CODE>
|
|
|
| <BR>
|
| This bit instructs the iterator to show namespace nodes, which |
| are modeled by DTM but not by the DOM.</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/DTMFilter.html#SHOW_NOTATION">SHOW_NOTATION</A></B></CODE>
|
|
|
| <BR>
|
| Show <code>Notation</code> nodes.</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/DTMFilter.html#SHOW_PROCESSING_INSTRUCTION">SHOW_PROCESSING_INSTRUCTION</A></B></CODE>
|
|
|
| <BR>
|
| Show <code>ProcessingInstruction</code> nodes.</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/DTMFilter.html#SHOW_TEXT">SHOW_TEXT</A></B></CODE>
|
|
|
| <BR>
|
| Show <code>Text</code> nodes.</TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
|
| <!-- ========== 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> short</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xml/dtm/DTMFilter.html#acceptNode(int, int)">acceptNode</A></B>(int nodeHandle, |
| int whatToShow)</CODE>
|
|
|
| <BR>
|
| Test whether a specified node is visible in the logical view of a |
| <code>DTMIterator</code>.</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/DTMFilter.html#acceptNode(int, int, int)">acceptNode</A></B>(int nodeHandle, |
| int whatToShow, |
| int expandedName)</CODE>
|
|
|
| <BR>
|
| Test whether a specified node is visible in the logical view of a |
| <code>DTMIterator</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="SHOW_ALL"><!-- --></A><H3>
|
| SHOW_ALL</H3>
|
| <PRE>
|
| public static final int <B>SHOW_ALL</B></PRE>
|
| <DL>
|
| <DD>Show all <code>Nodes</code>.</DL>
|
| <HR>
|
|
|
| <A NAME="SHOW_ELEMENT"><!-- --></A><H3>
|
| SHOW_ELEMENT</H3>
|
| <PRE>
|
| public static final int <B>SHOW_ELEMENT</B></PRE>
|
| <DL>
|
| <DD>Show <code>Element</code> nodes.</DL>
|
| <HR>
|
|
|
| <A NAME="SHOW_ATTRIBUTE"><!-- --></A><H3>
|
| SHOW_ATTRIBUTE</H3>
|
| <PRE>
|
| public static final int <B>SHOW_ATTRIBUTE</B></PRE>
|
| <DL>
|
| <DD>Show <code>Attr</code> nodes. This is meaningful only when creating an |
| iterator or tree-walker with an attribute node as its |
| <code>root</code>; in this case, it means that the attribute node |
| will appear in the first position of the iteration or traversal. |
| Since attributes are never children of other nodes, they do not |
| appear when traversing over the main document tree.</DL>
|
| <HR>
|
|
|
| <A NAME="SHOW_TEXT"><!-- --></A><H3>
|
| SHOW_TEXT</H3>
|
| <PRE>
|
| public static final int <B>SHOW_TEXT</B></PRE>
|
| <DL>
|
| <DD>Show <code>Text</code> nodes.</DL>
|
| <HR>
|
|
|
| <A NAME="SHOW_CDATA_SECTION"><!-- --></A><H3>
|
| SHOW_CDATA_SECTION</H3>
|
| <PRE>
|
| public static final int <B>SHOW_CDATA_SECTION</B></PRE>
|
| <DL>
|
| <DD>Show <code>CDATASection</code> nodes.</DL>
|
| <HR>
|
|
|
| <A NAME="SHOW_ENTITY_REFERENCE"><!-- --></A><H3>
|
| SHOW_ENTITY_REFERENCE</H3>
|
| <PRE>
|
| public static final int <B>SHOW_ENTITY_REFERENCE</B></PRE>
|
| <DL>
|
| <DD>Show <code>EntityReference</code> nodes. Note that if Entity References |
| have been fully expanded while the tree was being constructed, these |
| nodes will not appear and this mask has no effect.</DL>
|
| <HR>
|
|
|
| <A NAME="SHOW_ENTITY"><!-- --></A><H3>
|
| SHOW_ENTITY</H3>
|
| <PRE>
|
| public static final int <B>SHOW_ENTITY</B></PRE>
|
| <DL>
|
| <DD>Show <code>Entity</code> nodes. This is meaningful only when creating |
| an iterator or tree-walker with an<code> Entity</code> node as its |
| <code>root</code>; in this case, it means that the <code>Entity</code> |
| node will appear in the first position of the traversal. Since |
| entities are not part of the document tree, they do not appear when |
| traversing over the main document tree.</DL>
|
| <HR>
|
|
|
| <A NAME="SHOW_PROCESSING_INSTRUCTION"><!-- --></A><H3>
|
| SHOW_PROCESSING_INSTRUCTION</H3>
|
| <PRE>
|
| public static final int <B>SHOW_PROCESSING_INSTRUCTION</B></PRE>
|
| <DL>
|
| <DD>Show <code>ProcessingInstruction</code> nodes.</DL>
|
| <HR>
|
|
|
| <A NAME="SHOW_COMMENT"><!-- --></A><H3>
|
| SHOW_COMMENT</H3>
|
| <PRE>
|
| public static final int <B>SHOW_COMMENT</B></PRE>
|
| <DL>
|
| <DD>Show <code>Comment</code> nodes.</DL>
|
| <HR>
|
|
|
| <A NAME="SHOW_DOCUMENT"><!-- --></A><H3>
|
| SHOW_DOCUMENT</H3>
|
| <PRE>
|
| public static final int <B>SHOW_DOCUMENT</B></PRE>
|
| <DL>
|
| <DD>Show <code>Document</code> nodes. (Of course, as with Attributes |
| and such, this is meaningful only when the iteration root is the |
| Document itself, since Document has no parent.)</DL>
|
| <HR>
|
|
|
| <A NAME="SHOW_DOCUMENT_TYPE"><!-- --></A><H3>
|
| SHOW_DOCUMENT_TYPE</H3>
|
| <PRE>
|
| public static final int <B>SHOW_DOCUMENT_TYPE</B></PRE>
|
| <DL>
|
| <DD>Show <code>DocumentType</code> nodes.</DL>
|
| <HR>
|
|
|
| <A NAME="SHOW_DOCUMENT_FRAGMENT"><!-- --></A><H3>
|
| SHOW_DOCUMENT_FRAGMENT</H3>
|
| <PRE>
|
| public static final int <B>SHOW_DOCUMENT_FRAGMENT</B></PRE>
|
| <DL>
|
| <DD>Show <code>DocumentFragment</code> nodes. (Of course, as with |
| Attributes and such, this is meaningful only when the iteration |
| root is the Document itself, since DocumentFragment has no parent.)</DL>
|
| <HR>
|
|
|
| <A NAME="SHOW_NOTATION"><!-- --></A><H3>
|
| SHOW_NOTATION</H3>
|
| <PRE>
|
| public static final int <B>SHOW_NOTATION</B></PRE>
|
| <DL>
|
| <DD>Show <code>Notation</code> nodes. This is meaningful only when creating |
| an iterator or tree-walker with a <code>Notation</code> node as its |
| <code>root</code>; in this case, it means that the |
| <code>Notation</code> node will appear in the first position of the |
| traversal. Since notations are not part of the document tree, they do |
| not appear when traversing over the main document tree.</DL>
|
| <HR>
|
|
|
| <A NAME="SHOW_NAMESPACE"><!-- --></A><H3>
|
| SHOW_NAMESPACE</H3>
|
| <PRE>
|
| public static final int <B>SHOW_NAMESPACE</B></PRE>
|
| <DL>
|
| <DD>This bit instructs the iterator to show namespace nodes, which |
| are modeled by DTM but not by the DOM. Make sure this does not |
| conflict with <A HREF="../../../../org/w3c/dom/traversal/NodeFilter.html"><CODE>NodeFilter</CODE></A>. |
| <p> |
| %REVIEW% Might be safer to start from higher bits and work down, |
| to leave room for the DOM to expand its set of constants... Or, |
| possibly, to create a DTM-specific field for these additional bits.</DL>
|
| <HR>
|
|
|
| <A NAME="SHOW_BYFUNCTION"><!-- --></A><H3>
|
| SHOW_BYFUNCTION</H3>
|
| <PRE>
|
| public static final int <B>SHOW_BYFUNCTION</B></PRE>
|
| <DL>
|
| <DD>Special bit for filters implementing match patterns starting with |
| a function. Make sure this does not conflict with |
| <A HREF="../../../../org/w3c/dom/traversal/NodeFilter.html"><CODE>NodeFilter</CODE></A>. |
| <p> |
| %REVIEW% Might be safer to start from higher bits and work down, |
| to leave room for the DOM to expand its set of constants... Or, |
| possibly, to create a DTM-specific field for these additional bits.</DL>
|
|
|
| <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
|
| <!-- ============ 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="acceptNode(int, int)"><!-- --></A><H3>
|
| acceptNode</H3>
|
| <PRE>
|
| public short <B>acceptNode</B>(int nodeHandle, |
| int whatToShow)</PRE>
|
| <DL>
|
| <DD>Test whether a specified node is visible in the logical view of a |
| <code>DTMIterator</code>. Normally, this function |
| will be called by the implementation of <code>DTMIterator</code>; |
| it is not normally called directly from |
| user code.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - int Handle of the node.<DD><CODE>whatToShow</CODE> - one of SHOW_XXX values.<DT><B>Returns:</B><DD>one of FILTER_ACCEPT, FILTER_REJECT, or FILTER_SKIP.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="acceptNode(int, int, int)"><!-- --></A><H3>
|
| acceptNode</H3>
|
| <PRE>
|
| public short <B>acceptNode</B>(int nodeHandle, |
| int whatToShow, |
| int expandedName)</PRE>
|
| <DL>
|
| <DD>Test whether a specified node is visible in the logical view of a |
| <code>DTMIterator</code>. Normally, this function |
| will be called by the implementation of <code>DTMIterator</code>; |
| it is not normally called directly from |
| user code. |
| <p> |
| TODO: Should this be setNameMatch(expandedName) followed by accept()? |
| Or will we really be testing a different name at every invocation? |
| |
| <p>%REVIEW% Under what circumstances will this be used? The cases |
| I've considered are just as easy and just about as efficient if |
| the name test is performed in the DTMIterator... -- Joe</p> |
| |
| <p>%REVIEW% Should that 0xFFFF have a mnemonic assigned to it? |
| Also: This representation is assuming the expanded name is indeed |
| split into high/low 16-bit halfwords. If we ever change the |
| balance between namespace and localname bits (eg because we |
| decide there are many more localnames than namespaces, which is |
| fairly likely), this is going to break. It might be safer to |
| encapsulate the details with a makeExpandedName method and make |
| that responsible for setting up the wildcard version as well.</p><DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - int Handle of the node.<DD><CODE>whatToShow</CODE> - one of SHOW_XXX values.<DD><CODE>expandedName</CODE> - a value defining the exanded name as defined in |
| the DTM interface. Wild cards will be defined |
| by 0xFFFF in the namespace and/or localname |
| portion of the expandedName.<DT><B>Returns:</B><DD>one of FILTER_ACCEPT, FILTER_REJECT, or FILTER_SKIP.</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/DTMFilter.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/DTMAxisIterator.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xml/dtm/DTMIterator.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="DTMFilter.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> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| Copyright © 2006 Apache XML Project. All Rights Reserved.
|
| </BODY>
|
| </HTML>
|