Skip to content

Commit 87f4472

Browse files
committed
Javadoc
1 parent ced1bc4 commit 87f4472

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/main/java/org/apache/commons/jxpath/Pointer.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public interface Pointer extends Cloneable, Comparable, Serializable {
3434
* <p>
3535
* {@code Pointer ptr = ctx.getPointer("//employees[firstName = 'John']")
3636
* }
37+
* </p>
3738
* <p>
3839
* The value of {@code ptr.asPath()} will look something like {@code "/departments[2]/employees[3]"}, so, basically, it represents the concrete location(s)
3940
* of the result of a search performed by JXPath. If an object in the pointer's path is a Dynamic Property object (like a Map), the asPath method generates
@@ -54,8 +55,9 @@ public interface Pointer extends Cloneable, Comparable, Serializable {
5455
/**
5556
* Returns the raw value of the object, property or collection element this pointer represents. Never converts the object to a canonical type: returns it as
5657
* is.
57-
*
58+
* <p>
5859
* For example, for an XML element, getNode() will return the element itself rather than the text it contains.
60+
* </p>
5961
*
6062
* @return Object node
6163
*/
@@ -71,8 +73,9 @@ public interface Pointer extends Cloneable, Comparable, Serializable {
7173
/**
7274
* Returns the value of the object, property or collection element this pointer represents. May convert the value to one of the canonical InfoSet types:
7375
* String, Number, Boolean, Set.
74-
*
76+
* <p>
7577
* For example, in the case of an XML element, getValue() will return the text contained by the element rather than the element itself.
78+
* </p>
7679
*
7780
* @return Object value
7881
*/

0 commit comments

Comments
 (0)