[ 
https://issues.apache.org/jira/browse/JXPATH-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14222214#comment-14222214
 ] 

Michele Vivoda commented on JXPATH-171:
---------------------------------------

You could probably check this with Pointer.getValue() == null ?

> No way to test whether a Pointer is null
> ----------------------------------------
>
>                 Key: JXPATH-171
>                 URL: https://issues.apache.org/jira/browse/JXPATH-171
>             Project: Commons JXPath
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Michael Osipov
>
> When constructing a pointer, there is no way to test whether the outcome 
> points to a valid node or is a null pointer. One has to do {{p instanceof 
> NullPointer}}. A method {{isNull}} would be very helpful.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to