You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/04/24 07:30:38 UTC
svn commit: r164448 [140/299] - in /lenya/site: ./ 1_2_x/ 1_2_x/components/
1_2_x/components/accesscontrol/ 1_2_x/components/asset-management/
1_2_x/components/authoring/ 1_2_x/components/deployment/
1_2_x/components/editors/ 1_2_x/components/layout/
1_2_x/components/layout/images/ 1_2_x/components/layout/images/live/
1_2_x/components/link-management/ 1_2_x/components/metadata/
1_2_x/components/multilingual/ 1_2_x/components/publication/
1_2_x/components/repository/ 1_2_x/components/resource-types/
1_2_x/components/revisioncontrol/ 1_2_x/components/search/
1_2_x/components/sitemanagement/ 1_2_x/components/tasks/
1_2_x/components/uri-handling/ 1_2_x/components/uri-handling/images/
1_2_x/components/uri-handling/images/live/ 1_2_x/components/workflow/
1_2_x/installation/ 1_2_x/misc/ 1_4/ 1_4/concepts/ 1_4/installation/
1_4/reference/ 1_4/reference/publication-templating/
1_4/reference/usecase-framework/ apidocs/ apidocs/1.2/ apidocs/1.2/org/
apidocs/1.2/org/apache/ apidocs/1.2/org/apache/lenya/
apidocs/1.2/org/apache/lenya/ac/ apidocs/1.2/org/apache/lenya/ac/cache/
apidocs/1.2/org/apache/lenya/ac/file/ apidocs/1.2/org/apache/lenya/ac/impl/
apidocs/1.2/org/apache/lenya/ac/ldap/ apidocs/1.2/org/apache/lenya/cms/
apidocs/1.2/org/apache/lenya/cms/ac/
apidocs/1.2/org/apache/lenya/cms/ac/cocoon/
apidocs/1.2/org/apache/lenya/cms/ac/usecase/
apidocs/1.2/org/apache/lenya/cms/ac/workflow/
apidocs/1.2/org/apache/lenya/cms/ant/
apidocs/1.2/org/apache/lenya/cms/authoring/
apidocs/1.2/org/apache/lenya/cms/cocoon/
apidocs/1.2/org/apache/lenya/cms/cocoon/acting/
apidocs/1.2/org/apache/lenya/cms/cocoon/bean/
apidocs/1.2/org/apache/lenya/cms/cocoon/components/
apidocs/1.2/org/apache/lenya/cms/cocoon/components/modules/
apidocs/1.2/org/apache/lenya/cms/cocoon/components/modules/input/
apidocs/1.2/org/apache/lenya/cms/cocoon/flow/
apidocs/1.2/org/apache/lenya/cms/cocoon/generation/
apidocs/1.2/org/apache/lenya/cms/cocoon/scheduler/
apidocs/1.2/org/apache/lenya/cms/cocoon/source/
apidocs/1.2/org/apache/lenya/cms/cocoon/task/
apidocs/1.2/org/apache/lenya/cms/cocoon/transformation/
apidocs/1.2/org/apache/lenya/cms/cocoon/uriparameterizer/
apidocs/1.2/org/apache/lenya/cms/cocoon/workflow/
apidocs/1.2/org/apache/lenya/cms/mail/
apidocs/1.2/org/apache/lenya/cms/publication/
apidocs/1.2/org/apache/lenya/cms/publication/file/
apidocs/1.2/org/apache/lenya/cms/publication/task/
apidocs/1.2/org/apache/lenya/cms/publication/util/
apidocs/1.2/org/apache/lenya/cms/publication/xsp/
apidocs/1.2/org/apache/lenya/cms/publishing/
apidocs/1.2/org/apache/lenya/cms/rc/
apidocs/1.2/org/apache/lenya/cms/scheduler/
apidocs/1.2/org/apache/lenya/cms/scheduler/xml/
apidocs/1.2/org/apache/lenya/cms/task/
apidocs/1.2/org/apache/lenya/cms/workflow/
apidocs/1.2/org/apache/lenya/defaultpub/
apidocs/1.2/org/apache/lenya/defaultpub/cms/
apidocs/1.2/org/apache/lenya/defaultpub/cms/task/
apidocs/1.2/org/apache/lenya/lucene/
apidocs/1.2/org/apache/lenya/lucene/html/
apidocs/1.2/org/apache/lenya/lucene/index/
apidocs/1.2/org/apache/lenya/lucene/parser/
apidocs/1.2/org/apache/lenya/net/ apidocs/1.2/org/apache/lenya/search/
apidocs/1.2/org/apache/lenya/search/crawler/
apidocs/1.2/org/apache/lenya/util/ apidocs/1.2/org/apache/lenya/workflow/
apidocs/1.2/org/apache/lenya/workflow/impl/
apidocs/1.2/org/apache/lenya/xml/ apidocs/1.2/org/apache/lenya/xml/parser/
apidocs/1.2/org/apache/lenya/xml/xpointer/ apidocs/1.2/resources/
apidocs/1.4/ apidocs/1.4/org/ apidocs/1.4/org/apache/
apidocs/1.4/org/apache/lenya/ apidocs/1.4/org/apache/lenya/ac/
apidocs/1.4/org/apache/lenya/ac/cache/
apidocs/1.4/org/apache/lenya/ac/file/ apidocs/1.4/org/apache/lenya/ac/impl/
apidocs/1.4/org/apache/lenya/ac/ldap/ apidocs/1.4/org/apache/lenya/cms/
apidocs/1.4/org/apache/lenya/cms/ac/
apidocs/1.4/org/apache/lenya/cms/ac/cocoon/
apidocs/1.4/org/apache/lenya/cms/ac/usecase/
apidocs/1.4/org/apache/lenya/cms/ac/usecases/
apidocs/1.4/org/apache/lenya/cms/ac/workflow/
apidocs/1.4/org/apache/lenya/cms/ant/
apidocs/1.4/org/apache/lenya/cms/authoring/
apidocs/1.4/org/apache/lenya/cms/cocoon/
apidocs/1.4/org/apache/lenya/cms/cocoon/acting/
apidocs/1.4/org/apache/lenya/cms/cocoon/bean/
apidocs/1.4/org/apache/lenya/cms/cocoon/components/
apidocs/1.4/org/apache/lenya/cms/cocoon/components/modules/
apidocs/1.4/org/apache/lenya/cms/cocoon/components/modules/input/
apidocs/1.4/org/apache/lenya/cms/cocoon/flow/
apidocs/1.4/org/apache/lenya/cms/cocoon/generation/
apidocs/1.4/org/apache/lenya/cms/cocoon/matching/
apidocs/1.4/org/apache/lenya/cms/cocoon/scheduler/
apidocs/1.4/org/apache/lenya/cms/cocoon/source/
apidocs/1.4/org/apache/lenya/cms/cocoon/task/
apidocs/1.4/org/apache/lenya/cms/cocoon/transformation/
apidocs/1.4/org/apache/lenya/cms/cocoon/uriparameterizer/
apidocs/1.4/org/apache/lenya/cms/cocoon/workflow/
apidocs/1.4/org/apache/lenya/cms/mail/
apidocs/1.4/org/apache/lenya/cms/metadata/
apidocs/1.4/org/apache/lenya/cms/metadata/dublincore/
apidocs/1.4/org/apache/lenya/cms/metadata/usecases/
apidocs/1.4/org/apache/lenya/cms/publication/
apidocs/1.4/org/apache/lenya/cms/publication/file/
apidocs/1.4/org/apache/lenya/cms/publication/task/
apidocs/1.4/org/apache/lenya/cms/publication/templating/
apidocs/1.4/org/apache/lenya/cms/publication/util/
apidocs/1.4/org/apache/lenya/cms/publishing/
apidocs/1.4/org/apache/lenya/cms/rc/
apidocs/1.4/org/apache/lenya/cms/scheduler/
apidocs/1.4/org/apache/lenya/cms/scheduler/xml/
apidocs/1.4/org/apache/lenya/cms/search/
apidocs/1.4/org/apache/lenya/cms/search/usecases/
apidocs/1.4/org/apache/lenya/cms/site/
apidocs/1.4/org/apache/lenya/cms/site/topicmap/
apidocs/1.4/org/apache/lenya/cms/site/tree/
apidocs/1.4/org/apache/lenya/cms/site/usecases/
apidocs/1.4/org/apache/lenya/cms/task/
apidocs/1.4/org/apache/lenya/cms/usecase/
apidocs/1.4/org/apache/lenya/cms/workflow/
apidocs/1.4/org/apache/lenya/cms/workflow/usecases/
apidocs/1.4/org/apache/lenya/defaultpub/
apidocs/1.4/org/apache/lenya/defaultpub/cms/
apidocs/1.4/org/apache/lenya/defaultpub/cms/task/
apidocs/1.4/org/apache/lenya/defaultpub/cms/usecases/
apidocs/1.4/org/apache/lenya/lucene/
apidocs/1.4/org/apache/lenya/lucene/html/
apidocs/1.4/org/apache/lenya/lucene/index/
apidocs/1.4/org/apache/lenya/lucene/parser/
apidocs/1.4/org/apache/lenya/net/ apidocs/1.4/org/apache/lenya/search/
apidocs/1.4/org/apache/lenya/search/crawler/
apidocs/1.4/org/apache/lenya/util/ apidocs/1.4/org/apache/lenya/workflow/
apidocs/1.4/org/apache/lenya/workflow/impl/
apidocs/1.4/org/apache/lenya/xml/ apidocs/1.4/org/apache/lenya/xml/parser/
apidocs/1.4/org/apache/lenya/xml/xpointer/ apidocs/1.4/resources/
community/ images/ images/live/ skin/ skin/css/ skin/images/ skin/scripts/
Propchange: lenya/site/apidocs/1.2/org/apache/lenya/workflow/package-tree.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lenya/site/apidocs/1.2/org/apache/lenya/workflow/package-tree.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: lenya/site/apidocs/1.2/org/apache/lenya/xml/Configuration.html
URL: http://svn.apache.org/viewcvs/lenya/site/apidocs/1.2/org/apache/lenya/xml/Configuration.html?rev=164448&view=auto
==============================================================================
--- lenya/site/apidocs/1.2/org/apache/lenya/xml/Configuration.html (added)
+++ lenya/site/apidocs/1.2/org/apache/lenya/xml/Configuration.html Sat Apr 23 22:30:06 2005
@@ -0,0 +1,525 @@
+<!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.4.2_03) on Mon Feb 21 17:32:49 EST 2005 -->
+<TITLE>
+Configuration (Apache Lenya API - Version 1.2.2)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.lenya.xml.Configuration class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../javadoc.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Configuration (Apache Lenya API - Version 1.2.2)";
+}
+</SCRIPT>
+
+</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=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../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">
+ PREV CLASS
+ <A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html" title="class in org.apache.lenya.xml"><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="Configuration.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <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.lenya.xml</FONT>
+<BR>
+Class Configuration</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.lenya.xml.Configuration</B>
+</PRE>
+<HR>
+<B>Deprecated.</B> <I>replaced by config/ directory</I>
+<P>
+<DL>
+<DT>public class <B>Configuration</B><DT>extends java.lang.Object</DL>
+
+<P>
+Reads xpsconf.properties
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<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> java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/Configuration.html#cacheFolder">cacheFolder</A></B></CODE>
+
+<BR>
+ <B>Deprecated.</B> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/Configuration.html#cacheHTTP">cacheHTTP</A></B></CODE>
+
+<BR>
+ <B>Deprecated.</B> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/Configuration.html#DEFAULT_CONFIGURATION_FILE">DEFAULT_CONFIGURATION_FILE</A></B></CODE>
+
+<BR>
+ <B>Deprecated.</B> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/Configuration.html#DEFAULT_CONFIGURATION_KEY">DEFAULT_CONFIGURATION_KEY</A></B></CODE>
+
+<BR>
+ <B>Deprecated.</B> </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/lenya/xml/Configuration.html#INCLUDE">INCLUDE</A></B></CODE>
+
+<BR>
+ <B>Deprecated.</B> </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/lenya/xml/Configuration.html#JAVA_ZONE">JAVA_ZONE</A></B></CODE>
+
+<BR>
+ <B>Deprecated.</B> </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/Configuration.html#OVERRIDE_DEFAULT_CONFIGURATION_KEY">OVERRIDE_DEFAULT_CONFIGURATION_KEY</A></B></CODE>
+
+<BR>
+ <B>Deprecated.</B> </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/lenya/xml/Configuration.html#proxyHost">proxyHost</A></B></CODE>
+
+<BR>
+ <B>Deprecated.</B> </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/lenya/xml/Configuration.html#proxyPort">proxyPort</A></B></CODE>
+
+<BR>
+ <B>Deprecated.</B> </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">
+<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/lenya/xml/Configuration.html#Configuration()">Configuration</A></B>()</CODE>
+
+<BR>
+ <B>Deprecated.</B> Creates a new Configuration object.</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">
+<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> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/Configuration.html#getProperties(java.util.Properties)">getProperties</A></B>(java.util.Properties properties)</CODE>
+
+<BR>
+ <B>Deprecated.</B> DOCUMENT ME!</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/lenya/xml/Configuration.html#getProperty(java.util.Properties, java.lang.String)">getProperty</A></B>(java.util.Properties properties,
+ java.lang.String key)</CODE>
+
+<BR>
+ <B>Deprecated.</B> DOCUMENT ME!</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.util.Properties</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/Configuration.html#load()">load</A></B>()</CODE>
+
+<BR>
+ <B>Deprecated.</B> DOCUMENT ME!</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/Configuration.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE>
+
+<BR>
+ <B>Deprecated.</B> http://www.artima.com/java/answers/Mar2001/messages/164.html export
+ CLASSPATH=/home/lenya/src/xps/build/properties:... java
+ -Doverride.xps.configuration=org/apache/lenya/xps/altconf.properties org.apache.lenya.xps.Configuration</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/Configuration.html#register()">register</A></B>()</CODE>
+
+<BR>
+ <B>Deprecated.</B> DOCUMENT ME!</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">
+<TD><B>Methods inherited from class java.lang.Object</B></TD>
+</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">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="DEFAULT_CONFIGURATION_FILE"><!-- --></A><H3>
+DEFAULT_CONFIGURATION_FILE</H3>
+<PRE>
+public static final java.lang.String <B>DEFAULT_CONFIGURATION_FILE</B></PRE>
+<DL>
+<DD><B>Deprecated.</B> <DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.lenya.xml.Configuration.DEFAULT_CONFIGURATION_FILE">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="DEFAULT_CONFIGURATION_KEY"><!-- --></A><H3>
+DEFAULT_CONFIGURATION_KEY</H3>
+<PRE>
+public static final java.lang.String <B>DEFAULT_CONFIGURATION_KEY</B></PRE>
+<DL>
+<DD><B>Deprecated.</B> <DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.lenya.xml.Configuration.DEFAULT_CONFIGURATION_KEY">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="OVERRIDE_DEFAULT_CONFIGURATION_KEY"><!-- --></A><H3>
+OVERRIDE_DEFAULT_CONFIGURATION_KEY</H3>
+<PRE>
+public static final java.lang.String <B>OVERRIDE_DEFAULT_CONFIGURATION_KEY</B></PRE>
+<DL>
+<DD><B>Deprecated.</B> <DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.lenya.xml.Configuration.OVERRIDE_DEFAULT_CONFIGURATION_KEY">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="cacheFolder"><!-- --></A><H3>
+cacheFolder</H3>
+<PRE>
+public java.lang.String <B>cacheFolder</B></PRE>
+<DL>
+<DD><B>Deprecated.</B> <DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="cacheHTTP"><!-- --></A><H3>
+cacheHTTP</H3>
+<PRE>
+public boolean <B>cacheHTTP</B></PRE>
+<DL>
+<DD><B>Deprecated.</B> <DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="INCLUDE"><!-- --></A><H3>
+INCLUDE</H3>
+<PRE>
+public java.lang.String <B>INCLUDE</B></PRE>
+<DL>
+<DD><B>Deprecated.</B> <DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="JAVA_ZONE"><!-- --></A><H3>
+JAVA_ZONE</H3>
+<PRE>
+public java.lang.String <B>JAVA_ZONE</B></PRE>
+<DL>
+<DD><B>Deprecated.</B> <DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="proxyHost"><!-- --></A><H3>
+proxyHost</H3>
+<PRE>
+public java.lang.String <B>proxyHost</B></PRE>
+<DL>
+<DD><B>Deprecated.</B> <DL>
+</DL>
+</DL>
+<HR>
+
+<A NAME="proxyPort"><!-- --></A><H3>
+proxyPort</H3>
+<PRE>
+public java.lang.String <B>proxyPort</B></PRE>
+<DL>
+<DD><B>Deprecated.</B> <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">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="Configuration()"><!-- --></A><H3>
+Configuration</H3>
+<PRE>
+public <B>Configuration</B>()</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>Creates a new Configuration object.
+<P>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="main(java.lang.String[])"><!-- --></A><H3>
+main</H3>
+<PRE>
+public static void <B>main</B>(java.lang.String[] args)</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>http://www.artima.com/java/answers/Mar2001/messages/164.html export
+ CLASSPATH=/home/lenya/src/xps/build/properties:... java
+ -Doverride.xps.configuration=org/apache/lenya/xps/altconf.properties org.apache.lenya.xps.Configuration
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>args</CODE> - DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="load()"><!-- --></A><H3>
+load</H3>
+<PRE>
+public static java.util.Properties <B>load</B>()</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>DOCUMENT ME!
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getProperties(java.util.Properties)"><!-- --></A><H3>
+getProperties</H3>
+<PRE>
+public void <B>getProperties</B>(java.util.Properties properties)</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>DOCUMENT ME!
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>properties</CODE> - DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getProperty(java.util.Properties, java.lang.String)"><!-- --></A><H3>
+getProperty</H3>
+<PRE>
+public java.lang.String <B>getProperty</B>(java.util.Properties properties,
+ java.lang.String key)</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>DOCUMENT ME!
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>properties</CODE> - DOCUMENT ME!<DD><CODE>key</CODE> - DOCUMENT ME!
+<DT><B>Returns:</B><DD>DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="register()"><!-- --></A><H3>
+register</H3>
+<PRE>
+public static void <B>register</B>()</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>DOCUMENT ME!
+<P>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../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">
+ PREV CLASS
+ <A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html" title="class in org.apache.lenya.xml"><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="Configuration.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <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>
+Copyright © 1999-2004 Apache Software Foundation. All Rights Reserved.
+</BODY>
+</HTML>
Propchange: lenya/site/apidocs/1.2/org/apache/lenya/xml/Configuration.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lenya/site/apidocs/1.2/org/apache/lenya/xml/Configuration.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: lenya/site/apidocs/1.2/org/apache/lenya/xml/DOMParserFactory.html
URL: http://svn.apache.org/viewcvs/lenya/site/apidocs/1.2/org/apache/lenya/xml/DOMParserFactory.html?rev=164448&view=auto
==============================================================================
--- lenya/site/apidocs/1.2/org/apache/lenya/xml/DOMParserFactory.html (added)
+++ lenya/site/apidocs/1.2/org/apache/lenya/xml/DOMParserFactory.html Sat Apr 23 22:30:06 2005
@@ -0,0 +1,561 @@
+<!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.4.2_03) on Mon Feb 21 17:32:49 EST 2005 -->
+<TITLE>
+DOMParserFactory (Apache Lenya API - Version 1.2.2)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.lenya.xml.DOMParserFactory class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../javadoc.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="DOMParserFactory (Apache Lenya API - Version 1.2.2)";
+}
+</SCRIPT>
+
+</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=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../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/lenya/xml/DocumentHelper.html" title="class in org.apache.lenya.xml"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/lenya/xml/DOMUtil.html" title="class in org.apache.lenya.xml"><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="DOMParserFactory.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <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.lenya.xml</FONT>
+<BR>
+Class DOMParserFactory</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.lenya.xml.DOMParserFactory</B>
+</PRE>
+<HR>
+<B>Deprecated.</B> <I>replaced by DocumentHelper</I>
+<P>
+<DL>
+<DT>public class <B>DOMParserFactory</B><DT>extends java.lang.Object</DL>
+
+<P>
+Utility class for creating DOM documents
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<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> <A HREF="../../../../org/apache/lenya/xml/parser/Parser.html" title="interface in org.apache.lenya.xml.parser">Parser</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html#parser">parser</A></B></CODE>
+
+<BR>
+ <B>Deprecated.</B> </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">
+<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/lenya/xml/DOMParserFactory.html#DOMParserFactory()">DOMParserFactory</A></B>()</CODE>
+
+<BR>
+ <B>Deprecated.</B> Reads the properties and gets the parser</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">
+<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> org.w3c.dom.Node</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html#cloneNode(org.w3c.dom.Document, org.w3c.dom.Node, boolean)">cloneNode</A></B>(org.w3c.dom.Document document,
+ org.w3c.dom.Node original,
+ boolean deep)</CODE>
+
+<BR>
+ <B>Deprecated.</B> Clone node, which means copy a node into another document</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.w3c.dom.Document</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html#getDocument()">getDocument</A></B>()</CODE>
+
+<BR>
+ <B>Deprecated.</B> DOCUMENT ME!</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.w3c.dom.Document</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html#getDocument(java.io.InputStream)">getDocument</A></B>(java.io.InputStream inputStream)</CODE>
+
+<BR>
+ <B>Deprecated.</B> DOCUMENT ME!</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.w3c.dom.Document</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html#getDocument(java.io.Reader)">getDocument</A></B>(java.io.Reader reader)</CODE>
+
+<BR>
+ <B>Deprecated.</B> Create a document from a reader.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.w3c.dom.Document</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html#getDocument(java.lang.String)">getDocument</A></B>(java.lang.String filename)</CODE>
+
+<BR>
+ <B>Deprecated.</B> DOCUMENT ME!</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE>
+
+<BR>
+ <B>Deprecated.</B> DOCUMENT ME!</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.w3c.dom.CDATASection</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html#newCDATASection(org.w3c.dom.Document, java.lang.String)">newCDATASection</A></B>(org.w3c.dom.Document document,
+ java.lang.String data)</CODE>
+
+<BR>
+ <B>Deprecated.</B> CDATA</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.w3c.dom.Comment</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html#newCommentNode(org.w3c.dom.Document, java.lang.String)">newCommentNode</A></B>(org.w3c.dom.Document document,
+ java.lang.String data)</CODE>
+
+<BR>
+ <B>Deprecated.</B> DOCUMENT ME!</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.w3c.dom.Element</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html#newElementNode(org.w3c.dom.Document, java.lang.String)">newElementNode</A></B>(org.w3c.dom.Document document,
+ java.lang.String name)</CODE>
+
+<BR>
+ <B>Deprecated.</B> DOCUMENT ME!</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.w3c.dom.Element</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html#newElementNSNode(org.w3c.dom.Document, java.lang.String, java.lang.String)">newElementNSNode</A></B>(org.w3c.dom.Document document,
+ java.lang.String namespaceUri,
+ java.lang.String qualifiedName)</CODE>
+
+<BR>
+ <B>Deprecated.</B> Creates an element with namespace support.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.w3c.dom.Text</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html#newTextNode(org.w3c.dom.Document, java.lang.String)">newTextNode</A></B>(org.w3c.dom.Document document,
+ java.lang.String data)</CODE>
+
+<BR>
+ <B>Deprecated.</B> DOCUMENT ME!</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html#setElementValue(org.w3c.dom.Document, org.w3c.dom.Element, java.lang.String)">setElementValue</A></B>(org.w3c.dom.Document document,
+ org.w3c.dom.Element element,
+ java.lang.String value)</CODE>
+
+<BR>
+ <B>Deprecated.</B> DOCUMENT ME!</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">
+<TD><B>Methods inherited from class java.lang.Object</B></TD>
+</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">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="parser"><!-- --></A><H3>
+parser</H3>
+<PRE>
+public <A HREF="../../../../org/apache/lenya/xml/parser/Parser.html" title="interface in org.apache.lenya.xml.parser">Parser</A> <B>parser</B></PRE>
+<DL>
+<DD><B>Deprecated.</B> <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">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="DOMParserFactory()"><!-- --></A><H3>
+DOMParserFactory</H3>
+<PRE>
+public <B>DOMParserFactory</B>()</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>Reads the properties and gets the parser
+<P>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="main(java.lang.String[])"><!-- --></A><H3>
+main</H3>
+<PRE>
+public static void <B>main</B>(java.lang.String[] args)</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>DOCUMENT ME!
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>args</CODE> - DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDocument(java.lang.String)"><!-- --></A><H3>
+getDocument</H3>
+<PRE>
+public org.w3c.dom.Document <B>getDocument</B>(java.lang.String filename)
+ throws java.io.FileNotFoundException,
+ java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>DOCUMENT ME!
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>filename</CODE> - DOCUMENT ME!
+<DT><B>Returns:</B><DD>DOCUMENT ME!
+<DT><B>Throws:</B>
+<DD><CODE>java.io.FileNotFoundException</CODE> - DOCUMENT ME!
+<DD><CODE>java.lang.Exception</CODE> - DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDocument(java.io.InputStream)"><!-- --></A><H3>
+getDocument</H3>
+<PRE>
+public org.w3c.dom.Document <B>getDocument</B>(java.io.InputStream inputStream)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>DOCUMENT ME!
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - DOCUMENT ME!
+<DT><B>Returns:</B><DD>DOCUMENT ME!
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDocument(java.io.Reader)"><!-- --></A><H3>
+getDocument</H3>
+<PRE>
+public org.w3c.dom.Document <B>getDocument</B>(java.io.Reader reader)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>Create a document from a reader.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>DOCUMENT ME!
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDocument()"><!-- --></A><H3>
+getDocument</H3>
+<PRE>
+public org.w3c.dom.Document <B>getDocument</B>()</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>DOCUMENT ME!
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="newElementNode(org.w3c.dom.Document, java.lang.String)"><!-- --></A><H3>
+newElementNode</H3>
+<PRE>
+public org.w3c.dom.Element <B>newElementNode</B>(org.w3c.dom.Document document,
+ java.lang.String name)</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>DOCUMENT ME!
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - DOCUMENT ME!<DD><CODE>name</CODE> - DOCUMENT ME!
+<DT><B>Returns:</B><DD>DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="newElementNSNode(org.w3c.dom.Document, java.lang.String, java.lang.String)"><!-- --></A><H3>
+newElementNSNode</H3>
+<PRE>
+public org.w3c.dom.Element <B>newElementNSNode</B>(org.w3c.dom.Document document,
+ java.lang.String namespaceUri,
+ java.lang.String qualifiedName)</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>Creates an element with namespace support.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The owner document.<DD><CODE>namespaceUri</CODE> - The namespace URI of the element.<DD><CODE>qualifiedName</CODE> - The qualified name of the element.
+<DT><B>Returns:</B><DD>An element.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="newTextNode(org.w3c.dom.Document, java.lang.String)"><!-- --></A><H3>
+newTextNode</H3>
+<PRE>
+public org.w3c.dom.Text <B>newTextNode</B>(org.w3c.dom.Document document,
+ java.lang.String data)</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>DOCUMENT ME!
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - DOCUMENT ME!<DD><CODE>data</CODE> - DOCUMENT ME!
+<DT><B>Returns:</B><DD>DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="newCDATASection(org.w3c.dom.Document, java.lang.String)"><!-- --></A><H3>
+newCDATASection</H3>
+<PRE>
+public org.w3c.dom.CDATASection <B>newCDATASection</B>(org.w3c.dom.Document document,
+ java.lang.String data)</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>CDATA
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - DOM document<DD><CODE>data</CODE> - Text
+<DT><B>Returns:</B><DD>CDATASection</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="newCommentNode(org.w3c.dom.Document, java.lang.String)"><!-- --></A><H3>
+newCommentNode</H3>
+<PRE>
+public org.w3c.dom.Comment <B>newCommentNode</B>(org.w3c.dom.Document document,
+ java.lang.String data)</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>DOCUMENT ME!
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - DOCUMENT ME!<DD><CODE>data</CODE> - DOCUMENT ME!
+<DT><B>Returns:</B><DD>DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="cloneNode(org.w3c.dom.Document, org.w3c.dom.Node, boolean)"><!-- --></A><H3>
+cloneNode</H3>
+<PRE>
+public org.w3c.dom.Node <B>cloneNode</B>(org.w3c.dom.Document document,
+ org.w3c.dom.Node original,
+ boolean deep)</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>Clone node, which means copy a node into another document
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - New document where original nodes shall be attached to<DD><CODE>original</CODE> - Original node from original document<DD><CODE>deep</CODE> - true means clone also all children
+<DT><B>Returns:</B><DD>New node, which is clone of original node</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setElementValue(org.w3c.dom.Document, org.w3c.dom.Element, java.lang.String)"><!-- --></A><H3>
+setElementValue</H3>
+<PRE>
+public void <B>setElementValue</B>(org.w3c.dom.Document document,
+ org.w3c.dom.Element element,
+ java.lang.String value)</PRE>
+<DL>
+<DD><B>Deprecated.</B> <DD>DOCUMENT ME!
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - DOCUMENT ME!<DD><CODE>element</CODE> - DOCUMENT ME!<DD><CODE>value</CODE> - DOCUMENT ME!</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=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../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/lenya/xml/DocumentHelper.html" title="class in org.apache.lenya.xml"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/lenya/xml/DOMUtil.html" title="class in org.apache.lenya.xml"><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="DOMParserFactory.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | <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>
+Copyright © 1999-2004 Apache Software Foundation. All Rights Reserved.
+</BODY>
+</HTML>
Propchange: lenya/site/apidocs/1.2/org/apache/lenya/xml/DOMParserFactory.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lenya/site/apidocs/1.2/org/apache/lenya/xml/DOMParserFactory.html
------------------------------------------------------------------------------
svn:mime-type = text/html
Added: lenya/site/apidocs/1.2/org/apache/lenya/xml/DOMUtil.html
URL: http://svn.apache.org/viewcvs/lenya/site/apidocs/1.2/org/apache/lenya/xml/DOMUtil.html?rev=164448&view=auto
==============================================================================
--- lenya/site/apidocs/1.2/org/apache/lenya/xml/DOMUtil.html (added)
+++ lenya/site/apidocs/1.2/org/apache/lenya/xml/DOMUtil.html Sat Apr 23 22:30:06 2005
@@ -0,0 +1,784 @@
+<!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.4.2_03) on Mon Feb 21 17:32:49 EST 2005 -->
+<TITLE>
+DOMUtil (Apache Lenya API - Version 1.2.2)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.lenya.xml.DOMUtil class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../javadoc.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="DOMUtil (Apache Lenya API - Version 1.2.2)";
+}
+</SCRIPT>
+
+</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=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../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/lenya/xml/DOMParserFactory.html" title="class in org.apache.lenya.xml"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/lenya/xml/DOMWriter.html" title="class in org.apache.lenya.xml"><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="DOMUtil.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.apache.lenya.xml</FONT>
+<BR>
+Class DOMUtil</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.lenya.xml.DOMUtil</B>
+</PRE>
+<HR>
+<DL>
+<DT>public class <B>DOMUtil</B><DT>extends java.lang.Object</DL>
+
+<P>
+This class is a utility class for miscellaneous DOM functions, similar to
+ org.apache.cocoon.xml.dom.DOMUtil FIXME: Merge classes or extend functionality
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+
+<!-- =========== FIELD SUMMARY =========== -->
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<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/lenya/xml/DOMUtil.html#DOMUtil()">DOMUtil</A></B>()</CODE>
+
+<BR>
+ Ctor.</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">
+<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> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#addElement(org.w3c.dom.Document, java.lang.String, java.lang.String)">addElement</A></B>(org.w3c.dom.Document document,
+ java.lang.String xpath,
+ java.lang.String value)</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>See replacement code.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.w3c.dom.Document</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#create(java.lang.String)">create</A></B>(java.lang.String xml)</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>Use <A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#readDocument(java.lang.String)"><CODE>DocumentHelper.readDocument(java.lang.String)</CODE></A> instead.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.w3c.dom.Node</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#createNode(org.w3c.dom.Document, org.apache.lenya.xml.XPath)">createNode</A></B>(org.w3c.dom.Document document,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>See replacement code.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#elementExists(org.w3c.dom.Element, org.apache.lenya.xml.XPath)">elementExists</A></B>(org.w3c.dom.Element element,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>See replacement code.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.w3c.dom.Element[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#getAllElements(org.w3c.dom.Document, org.apache.lenya.xml.XPath)">getAllElements</A></B>(org.w3c.dom.Document document,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>Use
+ <CODE>XPathAPI.selectNodeList(org.w3c.dom.Node, java.lang.String)</CODE>
+ instead.</I></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/lenya/xml/DOMUtil.html#getAllElementValues(org.w3c.dom.Document, org.apache.lenya.xml.XPath)">getAllElementValues</A></B>(org.w3c.dom.Document document,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)</CODE>
+
+<BR>
+ get all elements values from |xpath|, xpath has to start with the root node</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/lenya/xml/DOMUtil.html#getAttributeValue(org.w3c.dom.Element, org.apache.lenya.xml.XPath)">getAttributeValue</A></B>(org.w3c.dom.Element element,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>See replacement code.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.w3c.dom.Element</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#getElement(org.w3c.dom.Element, org.apache.lenya.xml.XPath)">getElement</A></B>(org.w3c.dom.Element element,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>Use
+ <CODE>XPathAPI.selectSingleNode(org.w3c.dom.Node, java.lang.String)</CODE>
+ instead.</I></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/lenya/xml/DOMUtil.html#getElementValue(org.w3c.dom.Document, org.apache.lenya.xml.XPath)">getElementValue</A></B>(org.w3c.dom.Document document,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>Use <A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getSimpleElementText(org.w3c.dom.Element)"><CODE>instead.</CODE></A></I></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/lenya/xml/DOMUtil.html#getElementValue(org.w3c.dom.Element)">getElementValue</A></B>(org.w3c.dom.Element element)</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>See replacement code.</I></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/lenya/xml/DOMUtil.html#getElementValue(org.w3c.dom.Element, org.apache.lenya.xml.XPath)">getElementValue</A></B>(org.w3c.dom.Element element,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>Use <A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getSimpleElementText(org.w3c.dom.Element)"><CODE>instead.</CODE></A></I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE>
+
+<BR>
+ Main method, used to test the class.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#replaceText(org.w3c.dom.Element, java.lang.String)">replaceText</A></B>(org.w3c.dom.Element element,
+ java.lang.String text)</CODE>
+
+<BR>
+
+ This method removes all child nodes from an element and inserts a text node instead.
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> org.w3c.dom.Element[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#select(org.w3c.dom.Document, java.lang.String)">select</A></B>(org.w3c.dom.Document document,
+ java.lang.String xpath)</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>Use
+ <CODE>XPathAPI.selectNodeList(org.w3c.dom.Node, java.lang.String)</CODE>
+ instead.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#setAttributeValue(org.w3c.dom.Document, java.lang.String, java.lang.String)">setAttributeValue</A></B>(org.w3c.dom.Document document,
+ java.lang.String xpath,
+ java.lang.String value)</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>See replacement code.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#setElementValue(org.w3c.dom.Document, java.lang.String, java.lang.String)">setElementValue</A></B>(org.w3c.dom.Document document,
+ java.lang.String xpath,
+ java.lang.String value)</CODE>
+
+<BR>
+ <B>Deprecated.</B> <I>See replacement code.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#setValue(org.w3c.dom.Document, org.apache.lenya.xml.XPath, java.lang.String)">setValue</A></B>(org.w3c.dom.Document document,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath,
+ java.lang.String value)</CODE>
+
+<BR>
+
+ If the XPath expression denotes an element, the child nodes of this element are replaced by a single
+ text node.</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">
+<TD><B>Methods inherited from class java.lang.Object</B></TD>
+</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 =========== -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="DOMUtil()"><!-- --></A><H3>
+DOMUtil</H3>
+<PRE>
+public <B>DOMUtil</B>()</PRE>
+<DL>
+<DD>Ctor.
+<P>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="main(java.lang.String[])"><!-- --></A><H3>
+main</H3>
+<PRE>
+public static void <B>main</B>(java.lang.String[] args)</PRE>
+<DL>
+<DD>Main method, used to test the class.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>args</CODE> - The command line arguments.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="create(java.lang.String)"><!-- --></A><H3>
+create</H3>
+<PRE>
+public org.w3c.dom.Document <B>create</B>(java.lang.String xml)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>Use <A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#readDocument(java.lang.String)"><CODE>DocumentHelper.readDocument(java.lang.String)</CODE></A> instead.</I>
+<P>
+<DD>Creates a DOM document from a string.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>xml</CODE> - The string.
+<DT><B>Returns:</B><DD>A DOM document.
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="select(org.w3c.dom.Document, java.lang.String)"><!-- --></A><H3>
+select</H3>
+<PRE>
+public org.w3c.dom.Element[] <B>select</B>(org.w3c.dom.Document document,
+ java.lang.String xpath)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>Use
+ <CODE>XPathAPI.selectNodeList(org.w3c.dom.Node, java.lang.String)</CODE>
+ instead.</I>
+<P>
+<DD>Selects an array of elements using an XPath.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document.<DD><CODE>xpath</CODE> - The XPath.
+<DT><B>Returns:</B><DD>An array of elements.
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if the XPath does not return a <code>NodeList</code> consisting of elements.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="replaceText(org.w3c.dom.Element, java.lang.String)"><!-- --></A><H3>
+replaceText</H3>
+<PRE>
+public void <B>replaceText</B>(org.w3c.dom.Element element,
+ java.lang.String text)</PRE>
+<DL>
+<DD><p>
+ This method removes all child nodes from an element and inserts a text node instead.
+ </p>
+ <p>
+ Caution: Child elements are removed as well!
+ </p>
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The element.<DD><CODE>text</CODE> - The string to insert as a text node.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getElementValue(org.w3c.dom.Document, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+getElementValue</H3>
+<PRE>
+public java.lang.String <B>getElementValue</B>(org.w3c.dom.Document document,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>Use <A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getSimpleElementText(org.w3c.dom.Element)"><CODE>instead.</CODE></A></I>
+<P>
+<DD>Returns the concatenation string of all text nodes which are children of an element.
+ The XPath is resolved against the document element.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document.<DD><CODE>xpath</CODE> - The XPath of the element to resolve.
+<DT><B>Returns:</B><DD>A string.
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getElementValue(org.w3c.dom.Element, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+getElementValue</H3>
+<PRE>
+public java.lang.String <B>getElementValue</B>(org.w3c.dom.Element element,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>Use <A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getSimpleElementText(org.w3c.dom.Element)"><CODE>instead.</CODE></A></I>
+<P>
+<DD>Returns the concatenation string of all text nodes which are children of an element.
+ The XPath is resolved against a certain element.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The element to resolve the XPath against.<DD><CODE>xpath</CODE> - The XPath of the element to resolve.
+<DT><B>Returns:</B><DD>A string.
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="elementExists(org.w3c.dom.Element, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+elementExists</H3>
+<PRE>
+public boolean <B>elementExists</B>(org.w3c.dom.Element element,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>See replacement code.</I>
+<P>
+<DD>Check if elements exists This method just checks the root element! TODO: Implementation is
+ not really finished, or is it!
+
+ Replacement code:
+
+ <code>
+ Node node = XPathAPI.selectSingleNode(element, xPath);
+ if (node != null && node instanceof Element) {
+ exists = true;
+ }
+ </code>
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getElement(org.w3c.dom.Element, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+getElement</H3>
+<PRE>
+public org.w3c.dom.Element <B>getElement</B>(org.w3c.dom.Element element,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>Use
+ <CODE>XPathAPI.selectSingleNode(org.w3c.dom.Node, java.lang.String)</CODE>
+ instead.</I>
+<P>
+<DD>Get element via XPath.
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAllElements(org.w3c.dom.Document, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+getAllElements</H3>
+<PRE>
+public org.w3c.dom.Element[] <B>getAllElements</B>(org.w3c.dom.Document document,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>Use
+ <CODE>XPathAPI.selectNodeList(org.w3c.dom.Node, java.lang.String)</CODE>
+ instead.</I>
+<P>
+<DD>get all elements with |xpath|, xpath has to start with the root node
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - a value of type 'Document'<DD><CODE>xpath</CODE> - a value of type 'XPath'
+<DT><B>Returns:</B><DD>a value of type 'Element[]'
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAllElementValues(org.w3c.dom.Document, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+getAllElementValues</H3>
+<PRE>
+public java.lang.String[] <B>getAllElementValues</B>(org.w3c.dom.Document document,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD>get all elements values from |xpath|, xpath has to start with the root node
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - a value of type 'Document'<DD><CODE>xpath</CODE> - a value of type 'XPath'
+<DT><B>Returns:</B><DD>a value of type 'String[]'
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getElementValue(org.w3c.dom.Element)"><!-- --></A><H3>
+getElementValue</H3>
+<PRE>
+public java.lang.String <B>getElementValue</B>(org.w3c.dom.Element element)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>See replacement code.</I>
+<P>
+<DD>Returns the concatenation string of all text nodes which are children of an element.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The element.
+<DT><B>Returns:</B><DD>A string.
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs.
+
+ Replacement code:
+
+ <code>
+ Element element = (Element) XPathAPI.selectSingleNode(document, xPath);
+ String value = DocumentHelper.getSimpleElementText(element, "...");
+ </code></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAttributeValue(org.w3c.dom.Element, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+getAttributeValue</H3>
+<PRE>
+public java.lang.String <B>getAttributeValue</B>(org.w3c.dom.Element element,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>See replacement code.</I>
+<P>
+<DD>Return the value of an attribte named e.g. "this/myelement/(at)myattribute"
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - a value of type 'Element'<DD><CODE>xpath</CODE> - a value of type 'XPath'
+<DT><B>Returns:</B><DD>a value of type 'String'
+
+ Replacement code:
+
+ <code>
+ Element element = (Element) XPathAPI.selectSingleNode(document, xPath);
+ String value = element.getAttribute("...");
+ </code>
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setElementValue(org.w3c.dom.Document, java.lang.String, java.lang.String)"><!-- --></A><H3>
+setElementValue</H3>
+<PRE>
+public void <B>setElementValue</B>(org.w3c.dom.Document document,
+ java.lang.String xpath,
+ java.lang.String value)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>See replacement code.</I>
+<P>
+<DD>Describe 'setElementValue' method here.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - a value of type 'Document'<DD><CODE>xpath</CODE> - a value of type 'String'<DD><CODE>value</CODE> - a value of type 'String'
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs
+
+ Replacement code:
+
+ <code>
+ Element element = (Element) XPathAPI.selectSingleNode(document, xPath);
+ DocumentHelper.setSimpleElementText(element, "...");
+ </code></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addElement(org.w3c.dom.Document, java.lang.String, java.lang.String)"><!-- --></A><H3>
+addElement</H3>
+<PRE>
+public void <B>addElement</B>(org.w3c.dom.Document document,
+ java.lang.String xpath,
+ java.lang.String value)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>See replacement code.</I>
+<P>
+<DD>Replacement code:
+
+ <code>
+ Element parent = (Element) XPathAPI.selectSingleNode(document, xPath);
+ Element child = NamespaceHelper.createElement("...", "...");
+ parent.appendChild(child);
+ </code>
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setAttributeValue(org.w3c.dom.Document, java.lang.String, java.lang.String)"><!-- --></A><H3>
+setAttributeValue</H3>
+<PRE>
+public void <B>setAttributeValue</B>(org.w3c.dom.Document document,
+ java.lang.String xpath,
+ java.lang.String value)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>See replacement code.</I>
+<P>
+<DD>Replacement code:
+
+ <code>
+ Element element = (Element) XPathAPI.selectSingleNode(document, xPath);
+ element.setAttribute("...", "...");
+ </code>
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setValue(org.w3c.dom.Document, org.apache.lenya.xml.XPath, java.lang.String)"><!-- --></A><H3>
+setValue</H3>
+<PRE>
+public void <B>setValue</B>(org.w3c.dom.Document document,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath,
+ java.lang.String value)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><ul>
+ <li>If the XPath expression denotes an element, the child nodes of this element are replaced by a single
+ text node.</li>
+ <li>If the XPath expression denotes an attribute, the attribute value is set.</li>
+ <li>Otherwise, an error is logged.</li>
+ </ul>
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document to resolve the XPath against.<DD><CODE>xpath</CODE> - The XPath.<DD><CODE>value</CODE> - A string.
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="createNode(org.w3c.dom.Document, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+createNode</H3>
+<PRE>
+public org.w3c.dom.Node <B>createNode</B>(org.w3c.dom.Document document,
+ <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A> xpath)
+ throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B> <I>See replacement code.</I>
+<P>
+<DD>Replacement code:
+
+ <code>
+ Element parent = XPathAPI.selectSingleNode(...);
+ Element child = document.createElementNS("http://...", "...");
+ parent.appendChild(child);
+ </code>
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></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=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../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/lenya/xml/DOMParserFactory.html" title="class in org.apache.lenya.xml"><B>PREV CLASS</B></A>
+ <A HREF="../../../../org/apache/lenya/xml/DOMWriter.html" title="class in org.apache.lenya.xml"><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="DOMUtil.html" target="_top"><B>NO FRAMES</B></A>
+ <SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright © 1999-2004 Apache Software Foundation. All Rights Reserved.
+</BODY>
+</HTML>
Propchange: lenya/site/apidocs/1.2/org/apache/lenya/xml/DOMUtil.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lenya/site/apidocs/1.2/org/apache/lenya/xml/DOMUtil.html
------------------------------------------------------------------------------
svn:mime-type = text/html
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org