forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r488482 - /forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/document/AbstractOutputDocument.java
Date Tue, 19 Dec 2006 01:24:50 GMT
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";
+	}
+
 }



Mime
View raw message