| <html> |
| <body> |
| <p> |
| <font size="+1"><strong>Package org.eclipse.wst.xml.xpath.core</strong></font> |
| </p> |
| <hr> |
| <h2> |
| <font size="-1"><strong>org.eclipse.wst.xml.xpath.core</strong></font> |
| <br> |
| Class XPathCorePlugin</h2> |
| <br> |
| <hr> |
| <pre>public class <strong>XPathCorePlugin</strong> |
| extends Plugin</pre>The activator class controls the plug-in life cycle<hr> |
| <table width="100%" border="1"> |
| <tr cols="2" bgcolor="#CCCCFF"> |
| <td colspan="2" width="100%"> |
| <h2>Field Summary</h2> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>PLUGIN_ID</code> |
| <br> |
| |
| </td> |
| </tr> |
| </table> |
| <br> |
| <table width="100%" border="1"> |
| <tr bgcolor="#CCCCFF"> |
| <td width="100%"> |
| <h2>Constructor Summary</h2> |
| </td> |
| </tr> |
| <tr> |
| <td><code><strong>XPathCorePlugin</strong>()</code></td> |
| </tr> |
| </table> |
| <br> |
| <table width="100%" border="1"> |
| <tr cols="2" bgcolor="#CCCCFF"> |
| <td colspan="2" width="100%"> |
| <h2>Method Summary</h2> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static org.eclipse.wst.xml.xpath.core.XPathCorePlugin</code></td><td width="" align="left"><code>getDefault()</code> |
| <br> |
| |
| Returns the shared instance</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>start(BundleContext context)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>stop(BundleContext context)</code> |
| <br> |
| |
| </td> |
| </tr> |
| </table> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Field Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>PLUGIN_ID</h2> |
| <p> |
| <code>public static java.lang.String <strong>PLUGIN_ID</strong></code> |
| </p> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Constructor Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>XPathCorePlugin</h2> |
| <p> |
| <code>public <strong>XPathCorePlugin</strong>()</code> |
| </p> |
| <p>The constructor</p> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Methods Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>getDefault</h2> |
| <p> |
| <code>public org.eclipse.wst.xml.xpath.core.XPathCorePlugin <strong>getDefault</strong>()</code> |
| </p> |
| <p>Returns the shared instance</p> |
| <h3>Returns</h3> |
| <p> |
| <code>org.eclipse.wst.xml.xpath.core.XPathCorePlugin</code> - the shared instance</p> |
| <hr> |
| <h2>start</h2> |
| <p> |
| <code>public void <strong>start</strong>(BundleContext context)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>context</code> |
| </p> |
| <h3>Throws:</h3> |
| <p> |
| <code>java.lang.Exception</code> |
| </p> |
| <hr> |
| <h2>stop</h2> |
| <p> |
| <code>public void <strong>stop</strong>(BundleContext context)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>context</code> |
| </p> |
| <h3>Throws:</h3> |
| <p> |
| <code>java.lang.Exception</code> |
| </p> |
| <hr> |
| <p> |
| <font size="+1"><strong>Package org.eclipse.wst.xml.xpath.core.internal.parser</strong></font> |
| </p> |
| <hr> |
| <h2> |
| <font size="-1"><strong>org.eclipse.wst.xml.xpath.core.internal.parser</strong></font> |
| <br> |
| Class XPathParser</h2> |
| <br> |
| <hr> |
| <pre>public class <strong>XPathParser</strong> |
| extends java.lang.Object</pre> |
| <hr> |
| <table width="100%" border="1"> |
| <tr cols="2" bgcolor="#CCCCFF"> |
| <td colspan="2" width="100%"> |
| <h2>Field Summary</h2> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>protected Token</code></td><td width="80%" align="left"><code>currentToken</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>protected org.apache.commons.jxpath.ri.parser.XPathParser</code></td><td width="80%" align="left"><code>parser</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>protected Token</code></td><td width="80%" align="left"><code>previousToken</code> |
| <br> |
| |
| </td> |
| </tr> |
| </table> |
| <br> |
| <table width="100%" border="1"> |
| <tr bgcolor="#CCCCFF"> |
| <td width="100%"> |
| <h2>Constructor Summary</h2> |
| </td> |
| </tr> |
| <tr> |
| <td><code><strong>XPathParser</strong>(java.lang.String xpath)</code></td> |
| </tr> |
| </table> |
| <br> |
| <table width="100%" border="1"> |
| <tr cols="2" bgcolor="#CCCCFF"> |
| <td colspan="2" width="100%"> |
| <h2>Method Summary</h2> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public Token</code></td><td width="" align="left"><code>getCurrentToken()</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public Token</code></td><td width="" align="left"><code>getPreviousToken()</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public int</code></td><td width="" align="left"><code>getTokenStartOffset(int offsetLine |
| , |
| int offsetColumn)</code> |
| <br> |
| |
| Given a line number and a column number, return the starting |
| offset of the last known token.</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>protected boolean</code></td><td width="" align="left"><code>locatedColumn(Token token |
| , |
| int offsetColumn)</code> |
| <br> |
| |
| Checks to see if the token is in the range of the column offset</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>protected boolean</code></td><td width="" align="left"><code>locatedLine(Token token |
| , |
| int offsetLine)</code> |
| <br> |
| |
| Checks to see if the token is in the range of the line offset</td> |
| </tr> |
| </table> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Field Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>currentToken</h2> |
| <p> |
| <code>protected Token <strong>currentToken</strong></code> |
| </p> |
| <hr> |
| <h2>parser</h2> |
| <p> |
| <code>protected org.apache.commons.jxpath.ri.parser.XPathParser <strong>parser</strong></code> |
| </p> |
| <hr> |
| <h2>previousToken</h2> |
| <p> |
| <code>protected Token <strong>previousToken</strong></code> |
| </p> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Constructor Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>XPathParser</h2> |
| <p> |
| <code>public <strong>XPathParser</strong>(java.lang.String xpath)</code> |
| </p> |
| <p></p> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Methods Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>getCurrentToken</h2> |
| <p> |
| <code>public Token <strong>getCurrentToken</strong>()</code> |
| </p> |
| <p></p> |
| <h3>Returns</h3> |
| <p> |
| <code>Token</code> |
| </p> |
| <hr> |
| <h2>getPreviousToken</h2> |
| <p> |
| <code>public Token <strong>getPreviousToken</strong>()</code> |
| </p> |
| <p></p> |
| <h3>Returns</h3> |
| <p> |
| <code>Token</code> |
| </p> |
| <hr> |
| <h2>getTokenStartOffset</h2> |
| <p> |
| <code>public int <strong>getTokenStartOffset</strong>(int offsetLine |
| , |
| int offsetColumn)</code> |
| </p> |
| <p>Given a line number and a column number, return the starting |
| offset of the last known token.</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>offsetLine</code> |
| </p> |
| <p> |
| <code>offsetColumn</code> |
| </p> |
| <h3>Returns</h3> |
| <p> |
| <code>int</code> |
| </p> |
| <hr> |
| <h2>locatedColumn</h2> |
| <p> |
| <code>protected boolean <strong>locatedColumn</strong>(Token token |
| , |
| int offsetColumn)</code> |
| </p> |
| <p>Checks to see if the token is in the range of the column offset</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>token</code> |
| </p> |
| <p> |
| <code>offsetColumn</code> |
| </p> |
| <h3>Returns</h3> |
| <p> |
| <code>boolean</code> - true if found, false otherwise</p> |
| <hr> |
| <h2>locatedLine</h2> |
| <p> |
| <code>protected boolean <strong>locatedLine</strong>(Token token |
| , |
| int offsetLine)</code> |
| </p> |
| <p>Checks to see if the token is in the range of the line offset</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>token</code> - An XPath Token.</p> |
| <p> |
| <code>offsetLine</code> - Line number offset of a region.</p> |
| <h3>Returns</h3> |
| <p> |
| <code>boolean</code> - true if found, false otherwise.</p> |
| <hr> |
| <p> |
| <font size="+1"><strong>Package org.eclipse.wst.xml.xpath.core.util</strong></font> |
| </p> |
| <hr> |
| <h2> |
| <font size="-1"><strong>org.eclipse.wst.xml.xpath.core.util</strong></font> |
| <br> |
| Class XSLTXPathHelper</h2> |
| <br> |
| <hr> |
| <pre>public class <strong>XSLTXPathHelper</strong> |
| extends java.lang.Object</pre> |
| <hr> |
| <table width="100%" border="1"> |
| <tr bgcolor="#CCCCFF"> |
| <td width="100%"> |
| <h2>Constructor Summary</h2> |
| </td> |
| </tr> |
| <tr> |
| <td><code><strong>XSLTXPathHelper</strong>()</code></td> |
| </tr> |
| </table> |
| <br> |
| <table width="100%" border="1"> |
| <tr cols="2" bgcolor="#CCCCFF"> |
| <td colspan="2" width="100%"> |
| <h2>Method Summary</h2> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static void</code></td><td width="" align="left"><code>compile(java.lang.String expression)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static org.apache.xpath.objects.XObject</code></td><td width="" align="left"><code>eval(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str)</code> |
| <br> |
| |
| Evaluate XPath string to an XObject. Using this method, XPath namespace |
| prefixes will be resolved from the namespaceNode.</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static org.apache.xpath.objects.XObject</code></td><td width="" align="left"><code>eval(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str |
| , |
| org.w3c.dom.Node namespaceNode)</code> |
| <br> |
| |
| Evaluate XPath string to an XObject. XPath namespace prefixes are |
| resolved from the namespaceNode. The implementation of this is a little |
| slow, since it creates a number of objects each time it is called. This |
| could be optimized to keep the same objects around, but then |
| thread-safety issues would arise.</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static org.apache.xpath.objects.XObject</code></td><td width="" align="left"><code>eval(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str |
| , |
| org.apache.xml.utils.PrefixResolver prefixResolver)</code> |
| <br> |
| |
| Evaluate XPath string to an XObject. XPath namespace prefixes are |
| resolved from the namespaceNode. The implementation of this is a little |
| slow, since it creates a number of objects each time it is called. This |
| could be optimized to keep the same objects around, but then |
| thread-safety issues would arise.</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>protected static org.apache.xpath.compiler.FunctionTable</code></td><td width="" align="left"><code>getFunctionTable()</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static org.w3c.dom.traversal.NodeIterator</code></td><td width="" align="left"><code>selectNodeIterator(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str)</code> |
| <br> |
| |
| Use an XPath string to select a nodelist. XPath namespace prefixes are |
| resolved from the contextNode.</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static org.w3c.dom.traversal.NodeIterator</code></td><td width="" align="left"><code>selectNodeIterator(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str |
| , |
| org.w3c.dom.Node namespaceNode)</code> |
| <br> |
| |
| Use an XPath string to select a nodelist. XPath namespace prefixes are |
| resolved from the namespaceNode.</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static org.w3c.dom.NodeList</code></td><td width="" align="left"><code>selectNodeList(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str)</code> |
| <br> |
| |
| Use an XPath string to select a nodelist. XPath namespace prefixes are |
| resolved from the contextNode.</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static org.w3c.dom.NodeList</code></td><td width="" align="left"><code>selectNodeList(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str |
| , |
| org.w3c.dom.Node namespaceNode)</code> |
| <br> |
| |
| Use an XPath string to select a nodelist. XPath namespace prefixes are |
| resolved from the namespaceNode.</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static org.w3c.dom.Node</code></td><td width="" align="left"><code>selectSingleNode(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str)</code> |
| <br> |
| |
| Use an XPath string to select a single node. XPath namespace prefixes are |
| resolved from the context node, which may not be what you want (see the |
| next method).</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static org.w3c.dom.Node</code></td><td width="" align="left"><code>selectSingleNode(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str |
| , |
| org.w3c.dom.Node namespaceNode)</code> |
| <br> |
| |
| Use an XPath string to select a single node. XPath namespace prefixes are |
| resolved from the namespaceNode.</td> |
| </tr> |
| </table> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Constructor Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>XSLTXPathHelper</h2> |
| <p> |
| <code>public <strong>XSLTXPathHelper</strong>()</code> |
| </p> |
| <p></p> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Methods Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>compile</h2> |
| <p> |
| <code>public void <strong>compile</strong>(java.lang.String expression)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>expression</code> |
| </p> |
| <h3>Throws:</h3> |
| <p> |
| <code>javax.xml.xpath.XPathExpressionException</code> |
| </p> |
| <hr> |
| <h2>eval</h2> |
| <p> |
| <code>public org.apache.xpath.objects.XObject <strong>eval</strong>(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str)</code> |
| </p> |
| <p>Evaluate XPath string to an XObject. Using this method, XPath namespace |
| prefixes will be resolved from the namespaceNode.</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>contextNode</code> - The node to start searching from.</p> |
| <p> |
| <code>str</code> - A valid XPath string.</p> |
| <h3>Returns</h3> |
| <p> |
| <code>org.apache.xpath.objects.XObject</code> - An XObject, which can be used to obtain a string, number, nodelist, etc, should never be null.</p> |
| <h3>Throws:</h3> |
| <p> |
| <code>javax.xml.transform.TransformerException</code> |
| </p> |
| <hr> |
| <h2>eval</h2> |
| <p> |
| <code>public org.apache.xpath.objects.XObject <strong>eval</strong>(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str |
| , |
| org.w3c.dom.Node namespaceNode)</code> |
| </p> |
| <p>Evaluate XPath string to an XObject. XPath namespace prefixes are |
| resolved from the namespaceNode. The implementation of this is a little |
| slow, since it creates a number of objects each time it is called. This |
| could be optimized to keep the same objects around, but then |
| thread-safety issues would arise.</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>contextNode</code> - The node to start searching from.</p> |
| <p> |
| <code>str</code> - A valid XPath string.</p> |
| <p> |
| <code>namespaceNode</code> - The node from which prefixes in the XPath will be resolved to namespaces.</p> |
| <h3>Returns</h3> |
| <p> |
| <code>org.apache.xpath.objects.XObject</code> - An XObject, which can be used to obtain a string, number, nodelist, etc, should never be null.</p> |
| <h3>Throws:</h3> |
| <p> |
| <code>javax.xml.transform.TransformerException</code> |
| </p> |
| <hr> |
| <h2>eval</h2> |
| <p> |
| <code>public org.apache.xpath.objects.XObject <strong>eval</strong>(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str |
| , |
| org.apache.xml.utils.PrefixResolver prefixResolver)</code> |
| </p> |
| <p>Evaluate XPath string to an XObject. XPath namespace prefixes are |
| resolved from the namespaceNode. The implementation of this is a little |
| slow, since it creates a number of objects each time it is called. This |
| could be optimized to keep the same objects around, but then |
| thread-safety issues would arise.</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>contextNode</code> - The node to start searching from.</p> |
| <p> |
| <code>str</code> - A valid XPath string.</p> |
| <p> |
| <code>prefixResolver</code> - Will be called if the parser encounters namespace prefixes, to resolve the prefixes to URLs.</p> |
| <h3>Returns</h3> |
| <p> |
| <code>org.apache.xpath.objects.XObject</code> - An XObject, which can be used to obtain a string, number, nodelist, etc, should never be null.</p> |
| <h3>Throws:</h3> |
| <p> |
| <code>javax.xml.transform.TransformerException</code> |
| </p> |
| <hr> |
| <h2>getFunctionTable</h2> |
| <p> |
| <code>protected org.apache.xpath.compiler.FunctionTable <strong>getFunctionTable</strong>()</code> |
| </p> |
| <p></p> |
| <h3>Returns</h3> |
| <p> |
| <code>org.apache.xpath.compiler.FunctionTable</code> |
| </p> |
| <hr> |
| <h2>selectNodeIterator</h2> |
| <p> |
| <code>public org.w3c.dom.traversal.NodeIterator <strong>selectNodeIterator</strong>(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str)</code> |
| </p> |
| <p>Use an XPath string to select a nodelist. XPath namespace prefixes are |
| resolved from the contextNode.</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>contextNode</code> - The node to start searching from.</p> |
| <p> |
| <code>str</code> - A valid XPath string.</p> |
| <h3>Returns</h3> |
| <p> |
| <code>org.w3c.dom.traversal.NodeIterator</code> - A NodeIterator, should never be null.</p> |
| <h3>Throws:</h3> |
| <p> |
| <code>javax.xml.transform.TransformerException</code> |
| </p> |
| <hr> |
| <h2>selectNodeIterator</h2> |
| <p> |
| <code>public org.w3c.dom.traversal.NodeIterator <strong>selectNodeIterator</strong>(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str |
| , |
| org.w3c.dom.Node namespaceNode)</code> |
| </p> |
| <p>Use an XPath string to select a nodelist. XPath namespace prefixes are |
| resolved from the namespaceNode.</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>contextNode</code> - The node to start searching from.</p> |
| <p> |
| <code>str</code> - A valid XPath string.</p> |
| <p> |
| <code>namespaceNode</code> - The node from which prefixes in the XPath will be resolved to namespaces.</p> |
| <h3>Returns</h3> |
| <p> |
| <code>org.w3c.dom.traversal.NodeIterator</code> - A NodeIterator, should never be null.</p> |
| <h3>Throws:</h3> |
| <p> |
| <code>javax.xml.transform.TransformerException</code> |
| </p> |
| <hr> |
| <h2>selectNodeList</h2> |
| <p> |
| <code>public org.w3c.dom.NodeList <strong>selectNodeList</strong>(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str)</code> |
| </p> |
| <p>Use an XPath string to select a nodelist. XPath namespace prefixes are |
| resolved from the contextNode.</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>contextNode</code> - The node to start searching from.</p> |
| <p> |
| <code>str</code> - A valid XPath string.</p> |
| <h3>Returns</h3> |
| <p> |
| <code>org.w3c.dom.NodeList</code> - A NodeIterator, should never be null.</p> |
| <h3>Throws:</h3> |
| <p> |
| <code>javax.xml.transform.TransformerException</code> |
| </p> |
| <hr> |
| <h2>selectNodeList</h2> |
| <p> |
| <code>public org.w3c.dom.NodeList <strong>selectNodeList</strong>(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str |
| , |
| org.w3c.dom.Node namespaceNode)</code> |
| </p> |
| <p>Use an XPath string to select a nodelist. XPath namespace prefixes are |
| resolved from the namespaceNode.</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>contextNode</code> - The node to start searching from.</p> |
| <p> |
| <code>str</code> - A valid XPath string.</p> |
| <p> |
| <code>namespaceNode</code> - The node from which prefixes in the XPath will be resolved to namespaces.</p> |
| <h3>Returns</h3> |
| <p> |
| <code>org.w3c.dom.NodeList</code> - A NodeIterator, should never be null.</p> |
| <h3>Throws:</h3> |
| <p> |
| <code>javax.xml.transform.TransformerException</code> |
| </p> |
| <hr> |
| <h2>selectSingleNode</h2> |
| <p> |
| <code>public org.w3c.dom.Node <strong>selectSingleNode</strong>(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str)</code> |
| </p> |
| <p>Use an XPath string to select a single node. XPath namespace prefixes are |
| resolved from the context node, which may not be what you want (see the |
| next method).</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>contextNode</code> - The node to start searching from.</p> |
| <p> |
| <code>str</code> - A valid XPath string.</p> |
| <h3>Returns</h3> |
| <p> |
| <code>org.w3c.dom.Node</code> - The first node found that matches the XPath, or null.</p> |
| <h3>Throws:</h3> |
| <p> |
| <code>javax.xml.transform.TransformerException</code> |
| </p> |
| <hr> |
| <h2>selectSingleNode</h2> |
| <p> |
| <code>public org.w3c.dom.Node <strong>selectSingleNode</strong>(org.w3c.dom.Node contextNode |
| , |
| java.lang.String str |
| , |
| org.w3c.dom.Node namespaceNode)</code> |
| </p> |
| <p>Use an XPath string to select a single node. XPath namespace prefixes are |
| resolved from the namespaceNode.</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>contextNode</code> - The node to start searching from.</p> |
| <p> |
| <code>str</code> - A valid XPath string.</p> |
| <p> |
| <code>namespaceNode</code> - The node from which prefixes in the XPath will be resolved to namespaces.</p> |
| <h3>Returns</h3> |
| <p> |
| <code>org.w3c.dom.Node</code> - The first node found that matches the XPath, or null.</p> |
| <h3>Throws:</h3> |
| <p> |
| <code>javax.xml.transform.TransformerException</code> |
| </p> |
| <hr> |
| <p> |
| <font size="+1"><strong>Package org.eclipse.wst.xml.xpath.ui</strong></font> |
| </p> |
| <hr> |
| <h2> |
| <font size="-1"><strong>org.eclipse.wst.xml.xpath.ui</strong></font> |
| <br> |
| Class XPathUIMessages</h2> |
| <br> |
| <hr> |
| <pre>public class <strong>XPathUIMessages</strong> |
| extends NLS</pre>Strings used by XPath UI<hr> |
| <table width="100%" border="1"> |
| <tr cols="2" bgcolor="#CCCCFF"> |
| <td colspan="2" width="100%"> |
| <h2>Field Summary</h2> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Context</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Document</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_DOM_Tree</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Expression</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Namespace_Prefixes</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Namespaces</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Namespaces_Tip</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Node_could_not_be_selected</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Nothing_selected</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Refresh_Source_Docs</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Refresh_Source_Docs_Tip</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Run_on_selected</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Run_XPath_Query</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Select_source_first</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Selection</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Show_In_Source</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Show_In_Source_Tip</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_Text</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_XML_Source_Document</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_XPath_Eval_Failed</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_XPath_Navigator</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathNavigator_XPath_Show_In_Source_Failed</code> |
| <br> |
| |
| </td> |
| </tr> |
| </table> |
| <br> |
| <table width="100%" border="1"> |
| <tr cols="2" bgcolor="#CCCCFF"> |
| <td colspan="2" width="100%"> |
| <h2>Method Summary</h2> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.util.ResourceBundle</code></td><td width="" align="left"><code>getResourceBundle()</code> |
| <br> |
| |
| </td> |
| </tr> |
| </table> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Field Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>XPathNavigator_Context</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Context</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Document</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Document</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_DOM_Tree</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_DOM_Tree</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Expression</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Expression</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Namespace_Prefixes</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Namespace_Prefixes</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Namespaces</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Namespaces</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Namespaces_Tip</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Namespaces_Tip</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Node_could_not_be_selected</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Node_could_not_be_selected</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Nothing_selected</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Nothing_selected</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Refresh_Source_Docs</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Refresh_Source_Docs</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Refresh_Source_Docs_Tip</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Refresh_Source_Docs_Tip</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Run_on_selected</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Run_on_selected</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Run_XPath_Query</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Run_XPath_Query</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Select_source_first</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Select_source_first</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Selection</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Selection</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Show_In_Source</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Show_In_Source</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Show_In_Source_Tip</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Show_In_Source_Tip</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_Text</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_Text</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_XML_Source_Document</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_XML_Source_Document</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_XPath_Eval_Failed</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_XPath_Eval_Failed</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_XPath_Navigator</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_XPath_Navigator</strong></code> |
| </p> |
| <hr> |
| <h2>XPathNavigator_XPath_Show_In_Source_Failed</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathNavigator_XPath_Show_In_Source_Failed</strong></code> |
| </p> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Methods Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>getResourceBundle</h2> |
| <p> |
| <code>public java.util.ResourceBundle <strong>getResourceBundle</strong>()</code> |
| </p> |
| <p></p> |
| <h3>Returns</h3> |
| <p> |
| <code>java.util.ResourceBundle</code> |
| </p> |
| <hr> |
| <p> |
| <font size="+1"><strong>Package org.eclipse.wst.xml.xpath.ui</strong></font> |
| </p> |
| <hr> |
| <h2> |
| <font size="-1"><strong>org.eclipse.wst.xml.xpath.ui</strong></font> |
| <br> |
| Class XPathViewPlugin</h2> |
| <br> |
| <hr> |
| <pre>public class <strong>XPathViewPlugin</strong> |
| extends AbstractUIPlugin</pre> |
| <hr> |
| <table width="100%" border="1"> |
| <tr bgcolor="#CCCCFF"> |
| <td width="100%"> |
| <h2>Constructor Summary</h2> |
| </td> |
| </tr> |
| <tr> |
| <td><code><strong>XPathViewPlugin</strong>()</code></td> |
| </tr> |
| </table> |
| <br> |
| <table width="100%" border="1"> |
| <tr cols="2" bgcolor="#CCCCFF"> |
| <td colspan="2" width="100%"> |
| <h2>Method Summary</h2> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static org.eclipse.wst.xml.xpath.ui.XPathViewPlugin</code></td><td width="" align="left"><code>getDefault()</code> |
| <br> |
| |
| Returns the shared instance.</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="" align="left"><code>getPluginId()</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public java.util.ResourceBundle</code></td><td width="" align="left"><code>getResourceBundle()</code> |
| <br> |
| |
| Returns the plugin's resource bundle</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="" align="left"><code>getResourceString(java.lang.String key)</code> |
| <br> |
| |
| Returns the string from the plugin's resource bundle, |
| or 'key' if not found.</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public ContextTypeRegistry</code></td><td width="" align="left"><code>getXPathTemplateContextRegistry()</code> |
| <br> |
| |
| Returns the template context type registry for xpath</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public TemplateStore</code></td><td width="" align="left"><code>getXPathTemplateStore()</code> |
| <br> |
| |
| Returns the template store for the xpath templates.</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>info(java.lang.String message)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>protected void</code></td><td width="" align="left"><code>initializeImageRegistry(ImageRegistry reg)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>log(java.lang.String message |
| , |
| java.lang.Throwable ex)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>log(java.lang.Throwable ex)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partActivated(IWorkbenchPartReference partRef)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partBroughtToTop(IWorkbenchPartReference partRef)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partClosed(IWorkbenchPartReference partRef)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partDeactivated(IWorkbenchPartReference partRef)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partHidden(IWorkbenchPartReference partRef)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partInputChanged(IWorkbenchPartReference partRef)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partOpened(IWorkbenchPartReference partRef)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>partVisible(IWorkbenchPartReference partRef)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>start(BundleContext context)</code> |
| <br> |
| |
| This method is called upon plug-in activation</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>stop(BundleContext context)</code> |
| <br> |
| |
| This method is called when the plug-in is stopped</td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static void</code></td><td width="" align="left"><code>throwCoreException(java.lang.String message |
| , |
| java.lang.Throwable t)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>protected void</code></td><td width="" align="left"><code>updateXPathNavigatorView(IWorkbenchPartReference partRef)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>warn(java.lang.String message)</code> |
| <br> |
| |
| </td> |
| </tr> |
| </table> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Constructor Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>XPathViewPlugin</h2> |
| <p> |
| <code>public <strong>XPathViewPlugin</strong>()</code> |
| </p> |
| <p>The constructor.</p> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Methods Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>getDefault</h2> |
| <p> |
| <code>public org.eclipse.wst.xml.xpath.ui.XPathViewPlugin <strong>getDefault</strong>()</code> |
| </p> |
| <p>Returns the shared instance.</p> |
| <h3>Returns</h3> |
| <p> |
| <code>org.eclipse.wst.xml.xpath.ui.XPathViewPlugin</code> |
| </p> |
| <hr> |
| <h2>getPluginId</h2> |
| <p> |
| <code>public java.lang.String <strong>getPluginId</strong>()</code> |
| </p> |
| <p></p> |
| <h3>Returns</h3> |
| <p> |
| <code>java.lang.String</code> |
| </p> |
| <hr> |
| <h2>getResourceBundle</h2> |
| <p> |
| <code>public java.util.ResourceBundle <strong>getResourceBundle</strong>()</code> |
| </p> |
| <p>Returns the plugin's resource bundle</p> |
| <h3>Returns</h3> |
| <p> |
| <code>java.util.ResourceBundle</code> |
| </p> |
| <hr> |
| <h2>getResourceString</h2> |
| <p> |
| <code>public java.lang.String <strong>getResourceString</strong>(java.lang.String key)</code> |
| </p> |
| <p>Returns the string from the plugin's resource bundle, |
| or 'key' if not found.</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>key</code> |
| </p> |
| <h3>Returns</h3> |
| <p> |
| <code>java.lang.String</code> |
| </p> |
| <hr> |
| <h2>getXPathTemplateContextRegistry</h2> |
| <p> |
| <code>public ContextTypeRegistry <strong>getXPathTemplateContextRegistry</strong>()</code> |
| </p> |
| <p>Returns the template context type registry for xpath</p> |
| <h3>Returns</h3> |
| <p> |
| <code>ContextTypeRegistry</code> - the template context type registry for xpath</p> |
| <hr> |
| <h2>getXPathTemplateStore</h2> |
| <p> |
| <code>public TemplateStore <strong>getXPathTemplateStore</strong>()</code> |
| </p> |
| <p>Returns the template store for the xpath templates.</p> |
| <h3>Returns</h3> |
| <p> |
| <code>TemplateStore</code> - the template store for the xpath templates</p> |
| <hr> |
| <h2>info</h2> |
| <p> |
| <code>public void <strong>info</strong>(java.lang.String message)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>message</code> |
| </p> |
| <hr> |
| <h2>initializeImageRegistry</h2> |
| <p> |
| <code>protected void <strong>initializeImageRegistry</strong>(ImageRegistry reg)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>reg</code> |
| </p> |
| <hr> |
| <h2>log</h2> |
| <p> |
| <code>public void <strong>log</strong>(java.lang.String message |
| , |
| java.lang.Throwable ex)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>message</code> |
| </p> |
| <p> |
| <code>ex</code> |
| </p> |
| <hr> |
| <h2>log</h2> |
| <p> |
| <code>public void <strong>log</strong>(java.lang.Throwable ex)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>ex</code> |
| </p> |
| <hr> |
| <h2>partActivated</h2> |
| <p> |
| <code>public void <strong>partActivated</strong>(IWorkbenchPartReference partRef)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>partRef</code> |
| </p> |
| <hr> |
| <h2>partBroughtToTop</h2> |
| <p> |
| <code>public void <strong>partBroughtToTop</strong>(IWorkbenchPartReference partRef)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>partRef</code> |
| </p> |
| <hr> |
| <h2>partClosed</h2> |
| <p> |
| <code>public void <strong>partClosed</strong>(IWorkbenchPartReference partRef)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>partRef</code> |
| </p> |
| <hr> |
| <h2>partDeactivated</h2> |
| <p> |
| <code>public void <strong>partDeactivated</strong>(IWorkbenchPartReference partRef)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>partRef</code> |
| </p> |
| <hr> |
| <h2>partHidden</h2> |
| <p> |
| <code>public void <strong>partHidden</strong>(IWorkbenchPartReference partRef)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>partRef</code> |
| </p> |
| <hr> |
| <h2>partInputChanged</h2> |
| <p> |
| <code>public void <strong>partInputChanged</strong>(IWorkbenchPartReference partRef)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>partRef</code> |
| </p> |
| <hr> |
| <h2>partOpened</h2> |
| <p> |
| <code>public void <strong>partOpened</strong>(IWorkbenchPartReference partRef)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>partRef</code> |
| </p> |
| <hr> |
| <h2>partVisible</h2> |
| <p> |
| <code>public void <strong>partVisible</strong>(IWorkbenchPartReference partRef)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>partRef</code> |
| </p> |
| <hr> |
| <h2>start</h2> |
| <p> |
| <code>public void <strong>start</strong>(BundleContext context)</code> |
| </p> |
| <p>This method is called upon plug-in activation</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>context</code> |
| </p> |
| <h3>Throws:</h3> |
| <p> |
| <code>java.lang.Exception</code> |
| </p> |
| <hr> |
| <h2>stop</h2> |
| <p> |
| <code>public void <strong>stop</strong>(BundleContext context)</code> |
| </p> |
| <p>This method is called when the plug-in is stopped</p> |
| <h3>Parameters</h3> |
| <p> |
| <code>context</code> |
| </p> |
| <h3>Throws:</h3> |
| <p> |
| <code>java.lang.Exception</code> |
| </p> |
| <hr> |
| <h2>throwCoreException</h2> |
| <p> |
| <code>public void <strong>throwCoreException</strong>(java.lang.String message |
| , |
| java.lang.Throwable t)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>message</code> |
| </p> |
| <p> |
| <code>t</code> |
| </p> |
| <h3>Throws:</h3> |
| <p> |
| <code>CoreException</code> |
| </p> |
| <hr> |
| <h2>updateXPathNavigatorView</h2> |
| <p> |
| <code>protected void <strong>updateXPathNavigatorView</strong>(IWorkbenchPartReference partRef)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>partRef</code> |
| </p> |
| <hr> |
| <h2>warn</h2> |
| <p> |
| <code>public void <strong>warn</strong>(java.lang.String message)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>message</code> |
| </p> |
| <hr> |
| <p> |
| <font size="+1"><strong>Package org.eclipse.wst.xml.xpath.ui.internal</strong></font> |
| </p> |
| <hr> |
| <h2> |
| <font size="-1"><strong>org.eclipse.wst.xml.xpath.ui.internal</strong></font> |
| <br> |
| Class XPathUIMessages</h2> |
| <br> |
| <hr> |
| <pre>public class <strong>XPathUIMessages</strong> |
| extends NLS</pre> |
| <hr> |
| <table width="100%" border="1"> |
| <tr cols="2" bgcolor="#CCCCFF"> |
| <td colspan="2" width="100%"> |
| <h2>Field Summary</h2> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public static java.lang.String</code></td><td width="80%" align="left"><code>XPathPrefencePage_0</code> |
| <br> |
| |
| </td> |
| </tr> |
| </table> |
| <br> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Field Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>XPathPrefencePage_0</h2> |
| <p> |
| <code>public static java.lang.String <strong>XPathPrefencePage_0</strong></code> |
| </p> |
| <hr> |
| <p> |
| <font size="+1"><strong>Package org.eclipse.wst.xml.xpath.ui.internal.preferences</strong></font> |
| </p> |
| <hr> |
| <h2> |
| <font size="-1"><strong>org.eclipse.wst.xml.xpath.ui.internal.preferences</strong></font> |
| <br> |
| Class XPathPrefencePage</h2> |
| <br> |
| <hr> |
| <pre>public class <strong>XPathPrefencePage</strong> |
| extends AbstractPreferencePage</pre> |
| <hr> |
| <table width="100%" border="1"> |
| <tr bgcolor="#CCCCFF"> |
| <td width="100%"> |
| <h2>Constructor Summary</h2> |
| </td> |
| </tr> |
| <tr> |
| <td><code><strong>XPathPrefencePage</strong>()</code></td> |
| </tr> |
| </table> |
| <br> |
| <table width="100%" border="1"> |
| <tr cols="2" bgcolor="#CCCCFF"> |
| <td colspan="2" width="100%"> |
| <h2>Method Summary</h2> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>protected org.eclipse.swt.widgets.Control</code></td><td width="" align="left"><code>createContents(org.eclipse.swt.widgets.Composite parent)</code> |
| <br> |
| |
| </td> |
| </tr> |
| </table> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Constructor Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>XPathPrefencePage</h2> |
| <p> |
| <code>public <strong>XPathPrefencePage</strong>()</code> |
| </p> |
| <p></p> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Methods Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>createContents</h2> |
| <p> |
| <code>protected org.eclipse.swt.widgets.Control <strong>createContents</strong>(org.eclipse.swt.widgets.Composite parent)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>parent</code> |
| </p> |
| <h3>Returns</h3> |
| <p> |
| <code>org.eclipse.swt.widgets.Control</code> |
| </p> |
| <hr> |
| <p> |
| <font size="+1"><strong>Package org.eclipse.wst.xml.xpath.ui.internal.preferences</strong></font> |
| </p> |
| <hr> |
| <h2> |
| <font size="-1"><strong>org.eclipse.wst.xml.xpath.ui.internal.preferences</strong></font> |
| <br> |
| Class XPathTemplatePreferencePage</h2> |
| <br> |
| <hr> |
| <pre>public class <strong>XPathTemplatePreferencePage</strong> |
| extends XMLTemplatePreferencePage</pre>XSLTemplatePreferencePage sets up the template preference page that |
| contains the templates for xpath, xpath 2.0, axis, operators, and |
| exslt functions.<p></p> |
| <hr> |
| <table width="100%" border="1"> |
| <tr bgcolor="#CCCCFF"> |
| <td width="100%"> |
| <h2>Constructor Summary</h2> |
| </td> |
| </tr> |
| <tr> |
| <td><code><strong>XPathTemplatePreferencePage</strong>()</code></td> |
| </tr> |
| </table> |
| <br> |
| <table width="100%" border="1"> |
| <tr cols="2" bgcolor="#CCCCFF"> |
| <td colspan="2" width="100%"> |
| <h2>Method Summary</h2> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public boolean</code></td><td width="" align="left"><code>performOk()</code> |
| <br> |
| |
| (non-Javadoc)</td> |
| </tr> |
| </table> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Constructor Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>XPathTemplatePreferencePage</h2> |
| <p> |
| <code>public <strong>XPathTemplatePreferencePage</strong>()</code> |
| </p> |
| <p></p> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Methods Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>performOk</h2> |
| <p> |
| <code>public boolean <strong>performOk</strong>()</code> |
| </p> |
| <p>(non-Javadoc)</p> |
| <h3>Returns</h3> |
| <p> |
| <code>boolean</code> |
| </p> |
| <hr> |
| <p> |
| <font size="+1"><strong>Package org.eclipse.wst.xml.xpath.ui.views</strong></font> |
| </p> |
| <hr> |
| <h2> |
| <font size="-1"><strong>org.eclipse.wst.xml.xpath.ui.views</strong></font> |
| <br> |
| Class DOMNodeLabelProvider</h2> |
| <br> |
| <hr> |
| <pre>public class <strong>DOMNodeLabelProvider</strong> |
| extends LabelProvider</pre> |
| <hr> |
| <table width="100%" border="1"> |
| <tr bgcolor="#CCCCFF"> |
| <td width="100%"> |
| <h2>Constructor Summary</h2> |
| </td> |
| </tr> |
| <tr> |
| <td><code><strong>DOMNodeLabelProvider</strong>()</code></td> |
| </tr> |
| </table> |
| <br> |
| <table width="100%" border="1"> |
| <tr cols="2" bgcolor="#CCCCFF"> |
| <td colspan="2" width="100%"> |
| <h2>Method Summary</h2> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public org.eclipse.swt.graphics.Image</code></td><td width="" align="left"><code>getImage(java.lang.Object element)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public java.lang.String</code></td><td width="" align="left"><code>getText(java.lang.Object element)</code> |
| <br> |
| |
| </td> |
| </tr> |
| </table> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Constructor Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>DOMNodeLabelProvider</h2> |
| <p> |
| <code>public <strong>DOMNodeLabelProvider</strong>()</code> |
| </p> |
| <p></p> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Methods Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>getImage</h2> |
| <p> |
| <code>public org.eclipse.swt.graphics.Image <strong>getImage</strong>(java.lang.Object element)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>element</code> |
| </p> |
| <h3>Returns</h3> |
| <p> |
| <code>org.eclipse.swt.graphics.Image</code> |
| </p> |
| <hr> |
| <h2>getText</h2> |
| <p> |
| <code>public java.lang.String <strong>getText</strong>(java.lang.Object element)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>element</code> |
| </p> |
| <h3>Returns</h3> |
| <p> |
| <code>java.lang.String</code> |
| </p> |
| <hr> |
| <p> |
| <font size="+1"><strong>Package org.eclipse.wst.xml.xpath.ui.views</strong></font> |
| </p> |
| <hr> |
| <h2> |
| <font size="-1"><strong>org.eclipse.wst.xml.xpath.ui.views</strong></font> |
| <br> |
| Class DOMTreeContentProvider</h2> |
| <br> |
| <hr> |
| <pre>public class <strong>DOMTreeContentProvider</strong> |
| extends java.lang.Object</pre> |
| <hr> |
| <table width="100%" border="1"> |
| <tr cols="2" bgcolor="#CCCCFF"> |
| <td colspan="2" width="100%"> |
| <h2>Field Summary</h2> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>package-private org.w3c.dom.Node</code></td><td width="80%" align="left"><code>node</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>package-private static java.lang.Object[]</code></td><td width="80%" align="left"><code>NOTHING</code> |
| <br> |
| |
| </td> |
| </tr> |
| </table> |
| <br> |
| <table width="100%" border="1"> |
| <tr bgcolor="#CCCCFF"> |
| <td width="100%"> |
| <h2>Constructor Summary</h2> |
| </td> |
| </tr> |
| <tr> |
| <td><code><strong>DOMTreeContentProvider</strong>()</code></td> |
| </tr> |
| </table> |
| <br> |
| <table width="100%" border="1"> |
| <tr cols="2" bgcolor="#CCCCFF"> |
| <td colspan="2" width="100%"> |
| <h2>Method Summary</h2> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>dispose()</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public java.lang.Object[]</code></td><td width="" align="left"><code>getChildren(java.lang.Object parentElement)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public java.lang.Object[]</code></td><td width="" align="left"><code>getElements(java.lang.Object inputElement)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public java.lang.Object</code></td><td width="" align="left"><code>getParent(java.lang.Object element)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public boolean</code></td><td width="" align="left"><code>hasChildren(java.lang.Object element)</code> |
| <br> |
| |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code>inputChanged(Viewer viewer |
| , |
| java.lang.Object oldInput |
| , |
| java.lang.Object newInput)</code> |
| <br> |
| |
| </td> |
| </tr> |
| </table> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Field Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>node</h2> |
| <p> |
| <code>package-private org.w3c.dom.Node <strong>node</strong></code> |
| </p> |
| <hr> |
| <h2>NOTHING</h2> |
| <p> |
| <code>package-private static java.lang.Object[] <strong>NOTHING</strong></code> |
| </p> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Constructor Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>DOMTreeContentProvider</h2> |
| <p> |
| <code>public <strong>DOMTreeContentProvider</strong>()</code> |
| </p> |
| <p></p> |
| <hr> |
| <table cols="2" width="100%" border="1"> |
| <tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"> |
| <td> |
| <h2> |
| Methods Detail |
| </h2> |
| </td> |
| </tr> |
| </table> |
| <h2>dispose</h2> |
| <p> |
| <code>public void <strong>dispose</strong>()</code> |
| </p> |
| <p></p> |
| <hr> |
| <h2>getChildren</h2> |
| <p> |
| <code>public java.lang.Object[] <strong>getChildren</strong>(java.lang.Object parentElement)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>parentElement</code> |
| </p> |
| <h3>Returns</h3> |
| <p> |
| <code>java.lang.Object[]</code> |
| </p> |
| <hr> |
| <h2>getElements</h2> |
| <p> |
| <code>public java.lang.Object[] <strong>getElements</strong>(java.lang.Object inputElement)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>inputElement</code> |
| </p> |
| <h3>Returns</h3> |
| <p> |
| <code>java.lang.Object[]</code> |
| </p> |
| <hr> |
| <h2>getParent</h2> |
| <p> |
| <code>public java.lang.Object <strong>getParent</strong>(java.lang.Object element)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>element</code> |
| </p> |
| <h3>Returns</h3> |
| <p> |
| <code>java.lang.Object</code> |
| </p> |
| <hr> |
| <h2>hasChildren</h2> |
| <p> |
| <code>public boolean <strong>hasChildren</strong>(java.lang.Object element)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>element</code> |
| </p> |
| <h3>Returns</h3> |
| <p> |
| <code>boolean</code> |
| </p> |
| <hr> |
| <h2>inputChanged</h2> |
| <p> |
| <code>public void <strong>inputChanged</strong>(Viewer viewer |
| , |
| java.lang.Object oldInput |
| , |
| java.lang.Object newInput)</code> |
| </p> |
| <p></p> |
| <h3>Parameters</h3> |
| <p> |
| <code>viewer</code> |
| </p> |
| <p> |
| <code>oldInput</code> |
| </p> |
| <p> |
| <code>newInput</code> |
| </p> |
| <hr> |
| </body> |
| </html> |