Author: mbenson
Date: Wed Jun 13 11:21:30 2007
New Revision: 546989
URL: http://svn.apache.org/viewvc?view=rev&rev=546989
Log:
align javadoc
Modified:
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathContext.java
Modified:
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathContext.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathContext.java?view=diff&rev=546989&r1=546988&r2=546989
==============================================================================
---
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathContext.java
(original)
+++
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathContext.java
Wed Jun 13 11:21:30 2007
@@ -622,15 +622,15 @@
protected abstract CompiledExpression compilePath(String xpath);
/**
- * Finds the first object that matches the specified XPath. It is
equivalent
- * to <code>getPointer(xpath).getNode()</code>. Note, that this method
- * produces the same result as <code>getValue()</code> on object models
- * like JavaBeans, but a different result for DOM/JDOM etc., because it
- * returns the Node itself, rather than its textual contents.
- *
- * @param xpath the xpath to be evaluated
- * @return the found object
- */
+ * Finds the first object that matches the specified XPath. It is
equivalent
+ * to <code>getPointer(xpath).getNode()</code>. Note that this method
+ * produces the same result as <code>getValue()</code> on object models
+ * like JavaBeans, but a different result for DOM/JDOM etc., because it
+ * returns the Node itself, rather than its textual contents.
+ *
+ * @param xpath the xpath to be evaluated
+ * @return the found object
+ */
public Object selectSingleNode(String xpath) {
Pointer pointer = getPointer(xpath);
return pointer == null ? null : pointer.getNode();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]