diff options
Diffstat (limited to 'spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/XPathUtils.html')
-rw-r--r-- | spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/XPathUtils.html | 543 |
1 files changed, 0 insertions, 543 deletions
diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/XPathUtils.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/XPathUtils.html deleted file mode 100644 index ee16972f5..000000000 --- a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/util/XPathUtils.html +++ /dev/null @@ -1,543 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"> -<!--NewPage--> -<HTML> -<HEAD> -<!-- Generated by javadoc on Tue Jul 01 18:49:23 CEST 2003 --> -<TITLE> -MOA SP/SS Server Internal API: Class XPathUtils -</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/XPathUtils.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="../../../../../at/gv/egovernment/moa/util/URLEncoder.html"><B>PREV CLASS</B></A> - NEXT CLASS</FONT></TD> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> - <A HREF="XPathUtils.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"> -at.gv.egovernment.moa.util</FONT> -<BR> -Class XPathUtils</H2> -<PRE> -<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">java.lang.Object</A> - | - +--<B>at.gv.egovernment.moa.util.XPathUtils</B> -</PRE> -<HR> -<DL> -<DT>public class <B>XPathUtils</B><DT>extends <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></DL> - -<P> -Utility methods to evaluate XPath expressions on DOM nodes. -<P> -<DL> -<DT><B>Version: </B><DD>$Id$</DD> -<DT><B>Author: </B><DD>Patrick Peck</DD> -</DL> -<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 <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/XPathUtils.html#ALL_NODES_XPATH">ALL_NODES_XPATH</A></B></CODE> - -<BR> - The XPath expression selecting all nodes under a given root (including the - root node itself).</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="../../../../../at/gv/egovernment/moa/util/XPathUtils.html#XPathUtils()">XPathUtils</A></B>()</CODE> - -<BR> - </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>static <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/XPathUtils.html#getAttributeValue(org.w3c.dom.Element, java.lang.String, java.lang.String)">getAttributeValue</A></B>(org.w3c.dom.Element root, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> xpath, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> def)</CODE> - -<BR> - Return the value of a DOM attribute whose location is given by an XPath - expression.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/XPathUtils.html#getElementValue(org.w3c.dom.Element, java.lang.String, java.lang.String)">getElementValue</A></B>(org.w3c.dom.Element root, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> xpath, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> def)</CODE> - -<BR> - Return the value of a DOM element whose location is given by an XPath - expression.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static org.w3c.dom.traversal.NodeIterator</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/XPathUtils.html#selectNodeIterator(org.w3c.dom.Node, org.w3c.dom.Element, java.lang.String)">selectNodeIterator</A></B>(org.w3c.dom.Node contextNode, - org.w3c.dom.Element namespaceElement, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp)</CODE> - -<BR> - Return a <code>NodeIterator</code> over the nodes matching the XPath - expression.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static org.w3c.dom.traversal.NodeIterator</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/XPathUtils.html#selectNodeIterator(org.w3c.dom.Node, java.util.Map, java.lang.String)">selectNodeIterator</A></B>(org.w3c.dom.Node contextNode, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Map.html">Map</A> namespaceMapping, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp)</CODE> - -<BR> - Return a <code>NodeIterator</code> over the nodes matching the XPath - expression.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static org.w3c.dom.traversal.NodeIterator</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/XPathUtils.html#selectNodeIterator(org.w3c.dom.Node, java.lang.String)">selectNodeIterator</A></B>(org.w3c.dom.Node contextNode, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp)</CODE> - -<BR> - Return a <code>NodeIterator</code> over the nodes matching the XPath - expression. - - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static org.w3c.dom.NodeList</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/XPathUtils.html#selectNodeList(org.w3c.dom.Node, org.w3c.dom.Element, java.lang.String)">selectNodeList</A></B>(org.w3c.dom.Node contextNode, - org.w3c.dom.Element namespaceElement, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp)</CODE> - -<BR> - Return a <code>NodeList</code> of all the nodes matching the XPath - expression.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static org.w3c.dom.NodeList</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/XPathUtils.html#selectNodeList(org.w3c.dom.Node, java.util.Map, java.lang.String)">selectNodeList</A></B>(org.w3c.dom.Node contextNode, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Map.html">Map</A> namespaceMapping, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp)</CODE> - -<BR> - Return a <code>NodeList</code> of all the nodes matching the XPath - expression.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static org.w3c.dom.NodeList</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/XPathUtils.html#selectNodeList(org.w3c.dom.Node, java.lang.String)">selectNodeList</A></B>(org.w3c.dom.Node contextNode, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp)</CODE> - -<BR> - Return a <code>NodeList</code> of all the nodes matching the XPath - expression. - - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static org.w3c.dom.Node</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/XPathUtils.html#selectSingleNode(org.w3c.dom.Node, org.w3c.dom.Element, java.lang.String)">selectSingleNode</A></B>(org.w3c.dom.Node contextNode, - org.w3c.dom.Element namespaceElement, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp)</CODE> - -<BR> - Select the first node matching an XPath expression.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static org.w3c.dom.Node</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/XPathUtils.html#selectSingleNode(org.w3c.dom.Node, java.util.Map, java.lang.String)">selectSingleNode</A></B>(org.w3c.dom.Node contextNode, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Map.html">Map</A> namespaceMapping, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp)</CODE> - -<BR> - Select the first node matching an XPath expression.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static org.w3c.dom.Node</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../at/gv/egovernment/moa/util/XPathUtils.html#selectSingleNode(org.w3c.dom.Node, java.lang.String)">selectSingleNode</A></B>(org.w3c.dom.Node contextNode, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp)</CODE> - -<BR> - Select the first node matching an XPath expression. - - </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.<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></B></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long, int)">wait</A></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="ALL_NODES_XPATH"><!-- --></A><H3> -ALL_NODES_XPATH</H3> -<PRE> -public static final <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>ALL_NODES_XPATH</B></PRE> -<DL> -<DD>The XPath expression selecting all nodes under a given root (including the - root node itself).</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="XPathUtils()"><!-- --></A><H3> -XPathUtils</H3> -<PRE> -public <B>XPathUtils</B>()</PRE> -<DL> -</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="selectNodeIterator(org.w3c.dom.Node, java.lang.String)"><!-- --></A><H3> -selectNodeIterator</H3> -<PRE> -public static org.w3c.dom.traversal.NodeIterator <B>selectNodeIterator</B>(org.w3c.dom.Node contextNode, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp) - throws <A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></PRE> -<DL> -<DD>Return a <code>NodeIterator</code> over the nodes matching the XPath - expression. - - All namespace URIs and prefixes declared in the <code>Constants</code> - interface are used for resolving namespaces.<DD><DL> -<DT><B>Parameters:</B><DD><CODE>contextNode</CODE> - The root node from which to evaluate the XPath - expression.<DD><CODE>exp</CODE> - The XPath expression to evaluate.<DT><B>Returns:</B><DD>An iterator over the resulting nodes.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></CODE> - An error occurred evaluating the XPath expression.</DL> -</DD> -</DL> -<HR> - -<A NAME="selectNodeIterator(org.w3c.dom.Node, org.w3c.dom.Element, java.lang.String)"><!-- --></A><H3> -selectNodeIterator</H3> -<PRE> -public static org.w3c.dom.traversal.NodeIterator <B>selectNodeIterator</B>(org.w3c.dom.Node contextNode, - org.w3c.dom.Element namespaceElement, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp) - throws <A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></PRE> -<DL> -<DD>Return a <code>NodeIterator</code> over the nodes matching the XPath - expression.<DD><DL> -<DT><B>Parameters:</B><DD><CODE>contextNode</CODE> - The root node from which to evaluate the XPath - expression.<DD><CODE>namespaceElement</CODE> - An element from which to build the - namespace mapping for evaluating the XPath expression<DD><CODE>exp</CODE> - The XPath expression to evaluate.<DT><B>Returns:</B><DD>An iterator over the resulting nodes.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></CODE> - An error occurred evaluating the XPath expression.</DL> -</DD> -</DL> -<HR> - -<A NAME="selectNodeIterator(org.w3c.dom.Node, java.util.Map, java.lang.String)"><!-- --></A><H3> -selectNodeIterator</H3> -<PRE> -public static org.w3c.dom.traversal.NodeIterator <B>selectNodeIterator</B>(org.w3c.dom.Node contextNode, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Map.html">Map</A> namespaceMapping, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp) - throws <A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></PRE> -<DL> -<DD>Return a <code>NodeIterator</code> over the nodes matching the XPath - expression.<DD><DL> -<DT><B>Parameters:</B><DD><CODE>contextNode</CODE> - The root node from which to evaluate the XPath - expression.<DD><CODE>namespaceMapping</CODE> - A namespace prefix to namespace URI mapping - (<code>String</code> to <code>String</code>) for evaluating the XPath - expression.<DD><CODE>exp</CODE> - The XPath expression to evaluate.<DT><B>Returns:</B><DD>An iterator over the resulting nodes.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></CODE> - An error occurred evaluating the XPath expression.</DL> -</DD> -</DL> -<HR> - -<A NAME="selectNodeList(org.w3c.dom.Node, java.lang.String)"><!-- --></A><H3> -selectNodeList</H3> -<PRE> -public static org.w3c.dom.NodeList <B>selectNodeList</B>(org.w3c.dom.Node contextNode, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp) - throws <A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></PRE> -<DL> -<DD>Return a <code>NodeList</code> of all the nodes matching the XPath - expression. - - All namespace URIs and prefixes declared in the <code>Constants</code> - interface are used for resolving namespaces.<DD><DL> -<DT><B>Parameters:</B><DD><CODE>contextNode</CODE> - The root node from which to evaluate the XPath - expression.<DD><CODE>exp</CODE> - The XPath expression to evaluate.<DT><B>Returns:</B><DD>A <code>NodeList</code> containing the matching nodes.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></CODE> - An error occurred evaluating the XPath expression.</DL> -</DD> -</DL> -<HR> - -<A NAME="selectNodeList(org.w3c.dom.Node, org.w3c.dom.Element, java.lang.String)"><!-- --></A><H3> -selectNodeList</H3> -<PRE> -public static org.w3c.dom.NodeList <B>selectNodeList</B>(org.w3c.dom.Node contextNode, - org.w3c.dom.Element namespaceElement, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp) - throws <A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></PRE> -<DL> -<DD>Return a <code>NodeList</code> of all the nodes matching the XPath - expression.<DD><DL> -<DT><B>Parameters:</B><DD><CODE>contextNode</CODE> - The root node from which to evaluate the XPath - expression.<DD><CODE>namespaceElement</CODE> - An element from which to build the - namespace mapping for evaluating the XPath expression<DD><CODE>exp</CODE> - The XPath expression to evaluate.<DT><B>Returns:</B><DD>A <code>NodeList</code> containing the matching nodes.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></CODE> - An error occurred evaluating the XPath expression.</DL> -</DD> -</DL> -<HR> - -<A NAME="selectNodeList(org.w3c.dom.Node, java.util.Map, java.lang.String)"><!-- --></A><H3> -selectNodeList</H3> -<PRE> -public static org.w3c.dom.NodeList <B>selectNodeList</B>(org.w3c.dom.Node contextNode, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Map.html">Map</A> namespaceMapping, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp) - throws <A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></PRE> -<DL> -<DD>Return a <code>NodeList</code> of all the nodes matching the XPath - expression.<DD><DL> -<DT><B>Parameters:</B><DD><CODE>contextNode</CODE> - The root node from which to evaluate the XPath - expression.<DD><CODE>namespaceMapping</CODE> - A namespace prefix to namespace URI mapping - (<code>String</code> to <code>String</code>) for evaluating the XPath - expression.<DD><CODE>exp</CODE> - The XPath expression to evaluate.<DT><B>Returns:</B><DD>A <code>NodeList</code> containing the matching nodes.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></CODE> - An error occurred evaluating the XPath expression.</DL> -</DD> -</DL> -<HR> - -<A NAME="selectSingleNode(org.w3c.dom.Node, java.lang.String)"><!-- --></A><H3> -selectSingleNode</H3> -<PRE> -public static org.w3c.dom.Node <B>selectSingleNode</B>(org.w3c.dom.Node contextNode, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp) - throws <A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></PRE> -<DL> -<DD>Select the first node matching an XPath expression. - - All namespace URIs and prefixes declared in the <code>Constants</code> - interface are used for resolving namespaces.<DD><DL> -<DT><B>Parameters:</B><DD><CODE>contextNode</CODE> - The root node from which to evaluate the XPath - expression.<DD><CODE>exp</CODE> - The XPath expression to evaluate.<DT><B>Returns:</B><DD>Node The first node matching the XPath expression, or - <code>null</code>, if no node matched.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></CODE> - An error occurred evaluating the XPath expression.</DL> -</DD> -</DL> -<HR> - -<A NAME="selectSingleNode(org.w3c.dom.Node, org.w3c.dom.Element, java.lang.String)"><!-- --></A><H3> -selectSingleNode</H3> -<PRE> -public static org.w3c.dom.Node <B>selectSingleNode</B>(org.w3c.dom.Node contextNode, - org.w3c.dom.Element namespaceElement, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp) - throws <A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></PRE> -<DL> -<DD>Select the first node matching an XPath expression.<DD><DL> -<DT><B>Parameters:</B><DD><CODE>contextNode</CODE> - The root node from which to evaluate the XPath - expression.<DD><CODE>namespaceElement</CODE> - An element from which to build the - namespace mapping for evaluating the XPath expression<DD><CODE>exp</CODE> - The XPath expression to evaluate.<DT><B>Returns:</B><DD>Node The first node matching the XPath expression, or - <code>null</code>, if no node matched.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></CODE> - An error occurred evaluating the XPath expression.</DL> -</DD> -</DL> -<HR> - -<A NAME="selectSingleNode(org.w3c.dom.Node, java.util.Map, java.lang.String)"><!-- --></A><H3> -selectSingleNode</H3> -<PRE> -public static org.w3c.dom.Node <B>selectSingleNode</B>(org.w3c.dom.Node contextNode, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Map.html">Map</A> namespaceMapping, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> exp) - throws <A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></PRE> -<DL> -<DD>Select the first node matching an XPath expression.<DD><DL> -<DT><B>Parameters:</B><DD><CODE>contextNode</CODE> - The root node from which to evaluate the XPath - expression.<DD><CODE>namespaceMapping</CODE> - A namespace prefix to namespace URI mapping - (<code>String</code> to <code>String</code>) for evaluating the XPath - expression.<DD><CODE>exp</CODE> - The XPath expression to evaluate.<DT><B>Returns:</B><DD>Node The first node matching the XPath expression, or - <code>null</code>, if no node matched.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../at/gv/egovernment/moa/util/XPathException.html">XPathException</A></CODE> - An error occurred evaluating the XPath expression.</DL> -</DD> -</DL> -<HR> - -<A NAME="getElementValue(org.w3c.dom.Element, java.lang.String, java.lang.String)"><!-- --></A><H3> -getElementValue</H3> -<PRE> -public static <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>getElementValue</B>(org.w3c.dom.Element root, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> xpath, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> def)</PRE> -<DL> -<DD>Return the value of a DOM element whose location is given by an XPath - expression.<DD><DL> -<DT><B>Parameters:</B><DD><CODE>root</CODE> - The root element from which to evaluate the XPath.<DD><CODE>xpath</CODE> - The XPath expression pointing to the element whose value - to return.<DD><CODE>def</CODE> - The default value to return, if no element can be found using - the given <code>xpath</code>.<DT><B>Returns:</B><DD>The element value, if it can be located using the - <code>xpath</code>. Otherwise, <code>def</code> is returned.</DL> -</DD> -</DL> -<HR> - -<A NAME="getAttributeValue(org.w3c.dom.Element, java.lang.String, java.lang.String)"><!-- --></A><H3> -getAttributeValue</H3> -<PRE> -public static <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>getAttributeValue</B>(org.w3c.dom.Element root, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> xpath, - <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> def)</PRE> -<DL> -<DD>Return the value of a DOM attribute whose location is given by an XPath - expression.<DD><DL> -<DT><B>Parameters:</B><DD><CODE>root</CODE> - The root element from which to evaluate the XPath.<DD><CODE>xpath</CODE> - The XPath expression pointing to the attribute whose value to - return.<DD><CODE>def</CODE> - The default value to return, if no attribute can be found using - the given <code>xpath</code>.<DT><B>Returns:</B><DD>The element value, if it can be located using the - <code>xpath</code>. Otherwise, <code>def</code> is returned.</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/XPathUtils.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="../../../../../at/gv/egovernment/moa/util/URLEncoder.html"><B>PREV CLASS</B></A> - NEXT CLASS</FONT></TD> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> - <A HREF="XPathUtils.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> - -</BODY> -</HTML> |