Searched refs:XPath (Results 1 - 25 of 30) sorted by relevance

12

/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/
H A DXPath.java32 * Bare minimum XPath parser.
39 public class XPath { class
68 /** Constructs an XPath object from the specified expression. */
69 public XPath(String xpath, SymbolTable symbolTable, method in class:XPath
82 * Returns a representation of all location paths for this XPath.
83 * XPath = locationPath ( '|' locationPath)
93 /** Returns a representation of the first location path for this XPath. */
152 final XPath.Tokens xtokens = new XPath.Tokens(fSymbolTable);
155 XPath
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/
H A DXPathFactory.java30 * Factory class for creating an XPath. Implementors of XPath derivatives
38 * Create an XPath.
40 * @param exprString The XPath expression string.
45 * @param type One of {@link com.sun.org.apache.xpath.internal.XPath#SELECT} or
46 * {@link com.sun.org.apache.xpath.internal.XPath#MATCH}.
48 * @return an XPath ready for execution.
50 XPath create(String exprString, SourceLocator locator,
H A DXPathAPI.java38 * low-level XPath API.
52 * @see <a href="http://www.w3.org/TR/xpath">XPath Specification</a>
58 * Use an XPath string to select a single node. XPath namespace
63 * @param str A valid XPath string.
64 * @return The first node found that matches the XPath, or null.
75 * Use an XPath string to select a single node.
76 * XPath namespace prefixes are resolved from the namespaceNode.
79 * @param str A valid XPath string.
80 * @param namespaceNode The node from which prefixes in the XPath wil
[all...]
H A DCachedXPathAPI.java38 * low-level XPath API.
57 * @see <a href="http://www.w3.org/TR/xpath">XPath Specification</a>
111 * Use an XPath string to select a single node. XPath namespace
116 * @param str A valid XPath string.
117 * @return The first node found that matches the XPath, or null.
128 * Use an XPath string to select a single node.
129 * XPath namespace prefixes are resolved from the namespaceNode.
132 * @param str A valid XPath string.
133 * @param namespaceNode The node from which prefixes in the XPath wil
[all...]
H A DXPath.java21 * $Id: XPath.java,v 1.2.4.1 2005/09/15 01:41:57 jeffsuttor Exp $
43 * The XPath class wraps an expression object and provides general services
47 public class XPath implements Serializable, ExpressionOwner class in inherits:Serializable,ExpressionOwner
135 * Return the XPath string associated with this object.
138 * @return the XPath string associated with this object.
152 * Construct an XPath object.
156 * @param exprString The XPath expression.
165 public XPath( method in class:XPath
184 throw new RuntimeException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_CANNOT_DEAL_XPATH_TYPE, new Object[]{Integer.toString(type)})); //"Can not deal with XPath type: " + type);
200 * Construct an XPath objec
213 public XPath( method in class:XPath
264 public XPath( method in class:XPath
278 public XPath(Expression expr) method in class:XPath
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/identity/
H A DSelector.java46 /** XPath. */
47 protected final Selector.XPath fXPath;
61 public Selector(Selector.XPath xpath,
65 } // <init>(Selector.XPath,IdentityConstraint)
71 /** Returns the selector XPath. */
72 public com.sun.org.apache.xerces.internal.impl.xpath.XPath getXPath() {
74 } // getXPath():com.sun.org.apache.xerces.internal.v1.schema.identity.XPath
106 * Schema identity constraint selector XPath expression.
111 public static class XPath class in class:Selector
112 extends com.sun.org.apache.xerces.internal.impl.xpath.XPath {
119 public XPath(String xpath, SymbolTable symbolTable, method in class:Selector.XPath
[all...]
H A DField.java46 /** Field XPath. */
47 protected Field.XPath fXPath;
58 public Field(Field.XPath xpath,
62 } // <init>(Field.XPath,IdentityConstraint)
68 /** Returns the field XPath. */
69 public com.sun.org.apache.xerces.internal.impl.xpath.XPath getXPath() {
71 } // getXPath():com.sun.org.apache.xerces.internal.impl.v1.schema.identity.XPath
99 * Field XPath.
103 public static class XPath class in class:Field
104 extends com.sun.org.apache.xerces.internal.impl.xpath.XPath {
111 public XPath(String xpath, method in class:Field.XPath
[all...]
H A DXPathMatcher.java24 import com.sun.org.apache.xerces.internal.impl.xpath.XPath;
35 * XPath matcher.
90 /** XPath location path. */
91 private XPath.LocationPath[] fLocationPaths;
93 /** True if XPath has been matched. */
119 * Constructs an XPath matcher that implements a document fragment
124 public XPathMatcher(XPath xpath) {
131 } // <init>(XPath)
163 * This method is called when the XPath handler matches the
164 * XPath expressio
[all...]
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/
H A DXPathFuncHereAPI.java30 import com.sun.org.apache.xpath.internal.XPath;
44 * This class does the same as {@link com.sun.org.apache.xpath.internal.XPathAPI} except that the XPath strings
46 * {ProcessingInstruction} nodes which contain the XPath string. This enables
49 * The methods in this class are convenience methods into the low-level XPath API.
56 * @see <a href="http://www.w3.org/TR/xpath">XPath Specification</a>
61 * Use an XPath string to select a single node. XPath namespace
66 * @param xpathnode A Node containing a valid XPath string.
67 * @return The first node found that matches the XPath, or null.
77 * Use an XPath strin
[all...]
H A DCachedXPathFuncHereAPI.java32 import com.sun.org.apache.xpath.internal.XPath;
67 XPath xpath=null;
111 * Use an XPath string to select a single node. XPath namespace
116 * @param xpathnode A Node containing a valid XPath string.
117 * @return The first node found that matches the XPath, or null.
127 * Use an XPath string to select a single node.
128 * XPath namespace prefixes are resolved from the namespaceNode.
132 * @param namespaceNode The node from which prefixes in the XPath will be resolved to namespaces.
133 * @return The first node found that matches the XPath, o
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/lib/
H A DExsltDynamic.java34 import com.sun.org.apache.xpath.internal.XPath;
71 * using an XPath expression passed as a string as the second argument.
74 * In other words, the value for each node is calculated by evaluating the XPath
89 * If the expression string passed as the second argument is an invalid XPath
126 XPath dynamicXPath = new XPath(expr, xctxt.getSAXLocator(),
128 XPath.SELECT);
152 * an XPath expression passed as a string as the second argument.
155 * In other words, the value for each node is calculated by evaluating the XPath
170 * If the expression string passed as the second argument is an invalid XPath expressio
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/domapi/
H A DXPathEvaluatorImpl.java29 import com.sun.org.apache.xpath.internal.XPath;
43 * to the DOM L3 XPath Specification, Working Group Note 26 February 2004.
45 * <p>See also the <a href='http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226'>Document Object Model (DOM) Level 3 XPath Specification</a>.</p>
47 * </p>The evaluation of XPath expressions is provided by
48 * <code>XPathEvaluator</code>, which will provide evaluation of XPath 1.0
52 * interface in an implementation which supports the XPath DOM module.
65 * evaluate method. Its purpose is to satisfy the DOM L3 XPath API
130 * Constructor in the case that the XPath expression can be evaluated
139 * Creates a parsed XPath expressio
[all...]
H A DXPathExpressionImpl.java29 import com.sun.org.apache.xpath.internal.XPath;
44 * to the DOM L3 XPath Specification, Working Group Note 26 February 2004.
46 * <p>See also the <a href='http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226'>Document Object Model (DOM) Level 3 XPath Specification</a>.</p>
49 * XPath expression.</p>
60 final private XPath m_xpath;
71 * @param xpath The wrapped XPath object.
75 XPathExpressionImpl(XPath xpath, Document doc) {
83 * to the DOM L3 XPath Specification, Working Group Note 26 February 2004.
85 * <p>See also the <a href='http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath
[all...]
H A DXPathResultImpl.java29 import com.sun.org.apache.xpath.internal.XPath;
46 * to the DOM L3 XPath Specification, Working Group Note 26 February 2004.
48 * <p>See also the <a href='http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226'>Document Object Model (DOM) Level 3 XPath Specification</a>.</p>
51 * evaluation of an XPath expression within the context of a particular
52 * node. Since evaluation of an XPath expression can result in various
73 final private XPath m_xpath;
77 * the constructor will be called by com.sun.org.apache.xpath.internal.XPath.evaluate().
105 XPathResultImpl(short type, XObject result, Node contextNode, XPath xpath) {
109 throw new XPathException(XPathException.TYPE_ERR,fmsg); // Invalid XPath typ
[all...]
/openjdk7/jaxp/src/javax/xml/xpath/
H A DXPath.java33 * <p><code>XPath</code> provides access to the XPath evaluation environment and expressions.</p>
35 * <a name="XPath-evaluation"/>
39 * <th colspan="2">Evaluation of XPath Expressions.</th>
48 * For the purposes of evaluating XPath expressions, a DocumentFragment
74 * QNames in the expression are resolved against the XPath namespace context
83 * Conversion to the return type follows XPath conversion rules.</p>
88 * <p>An XPath object is not thread-safe and not reentrant.
90 * sure that one {@link XPath} object is not used from
98 * @see <a href="http://www.w3.org/TR/xpath">XML Path Language (XPath) Versio
101 public interface XPath { interface
[all...]
H A DXPathFactory.java30 * {@link javax.xml.xpath.XPath} objects.</p>
291 * <code>XPath</code>s created by this factory.</p>
297 * <code>XPathFactory</code> or the <code>XPath</code>s
313 * @throws XPathFactoryConfigurationException if this <code>XPathFactory</code> or the <code>XPath</code>s
327 * <code>XPathFactory</code> or the <code>XPath</code>s
338 * <code>XPathFactory</code> or the <code>XPath</code>s
348 * <p>Any <code>XPath</code> objects constructed from this factory will use
364 * <p>Any <code>XPath</code> objects constructed from this factory will
370 * @param resolver XPath function resolver.
378 * <p>Return a new <code>XPath</cod
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/patterns/
H A DNodeTest.java29 import com.sun.org.apache.xpath.internal.XPath;
46 * @see <a href="http://www.w3.org/TR/xpath#NT-NameTest">the XPath NameTest production.</a>
161 new XNumber(XPath.MATCH_SCORE_NODETEST);
168 new XNumber(XPath.MATCH_SCORE_NSWILD);
176 new XNumber(XPath.MATCH_SCORE_QNAME);
184 new XNumber(XPath.MATCH_SCORE_OTHER);
191 new XNumber(XPath.MATCH_SCORE_NONE);
516 * @param xctxt XPath runtime context.
590 * @param xctxt XPath runtime context.
662 * @param xctxt XPath runtim
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/traversers/
H A DXSDAbstractIDConstraintTraverser.java117 Selector.XPath sXpath = null;
119 sXpath = new Selector.XPath(sText, fSymbolTable,
176 Field.XPath fXpath = new Field.XPath(fText, fSymbolTable,
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/jaxp/
H A DXPathImpl.java52 * javax.xml.xpath.XPath interface. This provide simple access to the results
53 * of an XPath expression.
59 public class XPathImpl implements javax.xml.xpath.XPath {
68 // By default Extension Functions are allowed in XPath Expressions. If
114 * @param resolver XPath function resolver
188 com.sun.org.apache.xpath.internal.XPath xpath = new com.sun.org.apache.xpath.internal.XPath( expression,
189 null, prefixResolver, com.sun.org.apache.xpath.internal.XPath.SELECT );
215 * <p>Evaluate an <code>XPath</code> expression in the specified context and return the result as the specified type.</p>
217 * <p>See "Evaluation of XPath Expression
[all...]
H A DXPathExpressionImpl.java52 * The XPathExpression interface encapsulates a (compiled) XPath expression.
62 private com.sun.org.apache.xpath.internal.XPath xpath;
64 // By default Extension Functions are allowed in XPath Expressions. If
75 protected XPathExpressionImpl(com.sun.org.apache.xpath.internal.XPath xpath,
86 protected XPathExpressionImpl(com.sun.org.apache.xpath.internal.XPath xpath,
99 public void setXPath (com.sun.org.apache.xpath.internal.XPath xpath ) {
124 // We always need to have a ContextNode with Xalan XPath implementation
138 * <p>Evaluate the compiled XPath expression in the specified context and
141 * <p>See "Evaluation of XPath Expressions" section of JAXP 1.3 spec
207 * <p>Evaluate the compiled XPath expressio
[all...]
H A DXPathFactoryImpl.java126 * <p>Returns a new <code>XPath</code> object using the underlying
129 * @return New <code>XPath</code>
131 public javax.xml.xpath.XPath newXPath() {
139 * <code>XPath</code>s created by this factory.</p>
145 * <code>XPathFactory</code> or the <code>XPath</code>s
158 * <code>XPathFactory</code> or the <code>XPath</code>s
209 * <code>XPathFactory</code> or the <code>XPath</code>s
220 * <code>XPathFactory</code> or the <code>XPath</code>s
254 * <p>Any <code>XPath</code> objects constructed from this factory will use
260 * @param resolver XPath functio
[all...]
/openjdk7/jdk/test/javax/imageio/metadata/
H A DBooleanAttributes.java57 import javax.xml.xpath.XPath;
70 private static XPath xpathEngine = XPathFactory.newInstance().newXPath();
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/
H A DCanonicalizerSpi.java32 import javax.xml.xpath.XPath;
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/
H A DFramework.java36 import javax.xml.xpath.XPath;
97 public static final XPath XPATH = XPathFactory.newInstance().newXPath();
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/compiler/
H A DLexer.java31 * This class is in charge of lexical processing of the XPath
38 * The target XPath.
43 * The prefix resolver to map prefixes to namespaces in the XPath.
48 * The XPath processor object.
563 * @param pat The XPath name string.
640 // To older XPath code it doesn't matter if

Completed in 113 milliseconds

12