1 17 package org.apache.excalibur.xml.xpath; 18 19 import org.w3c.dom.Node ; 20 import org.w3c.dom.NodeList ; 21 22 32 public interface XPathProcessor 33 { 34 37 String ROLE = XPathProcessor.class.getName(); 38 39 46 boolean evaluateAsBoolean( Node contextNode, String str ); 47 48 55 Number evaluateAsNumber( Node contextNode, String str ); 56 57 64 String evaluateAsString( Node contextNode, String str ); 65 66 73 Node selectSingleNode( Node contextNode, String str ); 74 75 82 NodeList selectNodeList( Node contextNode, String str ); 83 84 92 boolean evaluateAsBoolean( Node contextNode, String str, PrefixResolver resolver ); 93 94 102 Number evaluateAsNumber( Node contextNode, String str, PrefixResolver resolver ); 103 104 112 String evaluateAsString( Node contextNode, String str, PrefixResolver resolver ); 113 114 122 Node selectSingleNode( Node contextNode, String str, PrefixResolver resolver ); 123 124 132 NodeList selectNodeList( Node contextNode, String str, PrefixResolver resolver ); 133 } 134 | Popular Tags |