You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2006/12/19 02:24:50 UTC
svn commit: r488482 -
/forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/document/AbstractOutputDocument.java
Author: rgardler
Date: Mon Dec 18 17:24:49 2006
New Revision: 488482
URL: http://svn.apache.org/viewvc?view=rev&rev=488482
Log:
Add a method for extracting a value from the document. This is a place holder for code yet to be written
Modified:
forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/document/AbstractOutputDocument.java
Modified: forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/document/AbstractOutputDocument.java
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/document/AbstractOutputDocument.java?view=diff&rev=488482&r1=488481&r2=488482
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/document/AbstractOutputDocument.java (original)
+++ forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/document/AbstractOutputDocument.java Mon Dec 18 17:24:49 2006
@@ -44,4 +44,14 @@
return getRequestURI().getPath();
}
+ /**
+ * Get a value from this document as defined by a
+ * XPath statement.
+ *
+ * @param xpath
+ */
+ public String getValue(String xpath) {
+ return "FIXME: imple ment getValue(xpath) method in AbstractOutputDocument";
+ }
+
}