/* */ package org.jaxen.expr;
/* */
/* */ import org.jaxen.
ContextSupport;
/* */ import org.jaxen.
Navigator;
/* */ import org.jaxen.expr.iter.
IterableAxis;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class
DefaultCommentNodeStep
/* */ extends
DefaultStep
/* */ implements
CommentNodeStep
/* */ {
/* */ private static final long
serialVersionUID = 4340788283861875606L;
/* */
/* */ public
DefaultCommentNodeStep(
IterableAxis axis,
PredicateSet predicateSet) {
/* 68 */ super(
axis,
predicateSet);
/* */ }
/* */
/* */
/* */ public
String toString() {
/* 73 */ return "[(DefaultCommentNodeStep): " +
getAxis() + "]";
/* */ }
/* */
/* */
/* */ public
String getText() {
/* 78 */ return
getAxisName() + "::comment()";
/* */ }
/* */
/* */
/* */
/* */ public boolean
matches(
Object node,
ContextSupport contextSupport) {
/* 84 */
Navigator nav =
contextSupport.
getNavigator();
/* */
/* 86 */ return
nav.
isComment(
node);
/* */ }
/* */ }
/* Location: /Users/tommy/.m2/repository/jaxen/jaxen/1.1.1/jaxen-1.1.1.jar!/org/jaxen/expr/DefaultCommentNodeStep.class
* Java compiler version: 2 (46.0)
* JD-Core Version: 1.1.3
*/