1 61 62 63 64 package org.jaxen.expr; 65 66 import org.jaxen.ContextSupport; 67 import org.jaxen.expr.iter.IterableAxis; 68 69 public class DefaultAllNodeStep extends DefaultStep implements AllNodeStep 70 { 71 public DefaultAllNodeStep(IterableAxis axis, PredicateSet predicateSet) 72 { 73 super( axis, predicateSet ); 74 } 75 76 public String toString() 77 { 78 return "[(DefaultAllNodeStep): " + getAxisName() + "]"; 79 } 80 81 public String getText() 82 { 83 return getAxisName() + "::node()" + super.getText(); 84 } 85 86 public boolean matches(Object node, 87 ContextSupport contextSupport) 88 { 89 return true; 90 } 91 public void accept(Visitor visitor) 92 { 93 visitor.visit(this); 94 } 95 } 96 | Popular Tags |