public short acceptNode ( int n ) { try { if ( getPredicateCount ( ) > 0 ) { countProximityPosition ( 0 ) ; if ( ! executePredicates ( n , m_lpi . getXPathContext ( ) ) ) return DTMIterator . FILTER_SKIP ; } return DTMIterator . FILTER_ACCEPT ; } catch ( javax . xml . transform . TransformerException se ) { throw new RuntimeException ( se . getMessage ( ) ) ; } }
This method needs to override AxesWalker . acceptNode because FilterExprWalkers don t need to and shouldn t do a node test .