com.sun.org.apache.xpath.internal.axes.WalkerFactory Java Examples
The following examples show how to use
com.sun.org.apache.xpath.internal.axes.WalkerFactory.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Variable.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
/** * Get the analysis bits for this walker, as defined in the WalkerFactory. * @return One of WalkerFactory#BIT_DESCENDANT, etc. */ public int getAnalysisBits() { // J2SE does not support Xalan interpretive /* com.sun.org.apache.xalan.internal.templates.ElemVariable vvar = getElemVariable(); if(null != vvar) { XPath xpath = vvar.getSelect(); if(null != xpath) { Expression expr = xpath.getExpression(); if(null != expr && expr instanceof PathComponent) { return ((PathComponent)expr).getAnalysisBits(); } } } */ return WalkerFactory.BIT_FILTER; }
Example #2
Source File: Variable.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
/** * Get the analysis bits for this walker, as defined in the WalkerFactory. * @return One of WalkerFactory#BIT_DESCENDANT, etc. */ public int getAnalysisBits() { // J2SE does not support Xalan interpretive /* com.sun.org.apache.xalan.internal.templates.ElemVariable vvar = getElemVariable(); if(null != vvar) { XPath xpath = vvar.getSelect(); if(null != xpath) { Expression expr = xpath.getExpression(); if(null != expr && expr instanceof PathComponent) { return ((PathComponent)expr).getAnalysisBits(); } } } */ return WalkerFactory.BIT_FILTER; }
Example #3
Source File: Variable.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * Get the analysis bits for this walker, as defined in the WalkerFactory. * @return One of WalkerFactory#BIT_DESCENDANT, etc. */ public int getAnalysisBits() { // J2SE does not support Xalan interpretive /* com.sun.org.apache.xalan.internal.templates.ElemVariable vvar = getElemVariable(); if(null != vvar) { XPath xpath = vvar.getSelect(); if(null != xpath) { Expression expr = xpath.getExpression(); if(null != expr && expr instanceof PathComponent) { return ((PathComponent)expr).getAnalysisBits(); } } } */ return WalkerFactory.BIT_FILTER; }
Example #4
Source File: Variable.java From JDKSourceCode1.8 with MIT License | 6 votes |
/** * Get the analysis bits for this walker, as defined in the WalkerFactory. * @return One of WalkerFactory#BIT_DESCENDANT, etc. */ public int getAnalysisBits() { // J2SE does not support Xalan interpretive /* com.sun.org.apache.xalan.internal.templates.ElemVariable vvar = getElemVariable(); if(null != vvar) { XPath xpath = vvar.getSelect(); if(null != xpath) { Expression expr = xpath.getExpression(); if(null != expr && expr instanceof PathComponent) { return ((PathComponent)expr).getAnalysisBits(); } } } */ return WalkerFactory.BIT_FILTER; }
Example #5
Source File: Variable.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** * Get the analysis bits for this walker, as defined in the WalkerFactory. * @return One of WalkerFactory#BIT_DESCENDANT, etc. */ public int getAnalysisBits() { // J2SE does not support Xalan interpretive /* com.sun.org.apache.xalan.internal.templates.ElemVariable vvar = getElemVariable(); if(null != vvar) { XPath xpath = vvar.getSelect(); if(null != xpath) { Expression expr = xpath.getExpression(); if(null != expr && expr instanceof PathComponent) { return ((PathComponent)expr).getAnalysisBits(); } } } */ return WalkerFactory.BIT_FILTER; }
Example #6
Source File: Variable.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** * Get the analysis bits for this walker, as defined in the WalkerFactory. * @return One of WalkerFactory#BIT_DESCENDANT, etc. */ public int getAnalysisBits() { // J2SE does not support Xalan interpretive /* com.sun.org.apache.xalan.internal.templates.ElemVariable vvar = getElemVariable(); if(null != vvar) { XPath xpath = vvar.getSelect(); if(null != xpath) { Expression expr = xpath.getExpression(); if(null != expr && expr instanceof PathComponent) { return ((PathComponent)expr).getAnalysisBits(); } } } */ return WalkerFactory.BIT_FILTER; }
Example #7
Source File: Variable.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** * Get the analysis bits for this walker, as defined in the WalkerFactory. * @return One of WalkerFactory#BIT_DESCENDANT, etc. */ public int getAnalysisBits() { // J2SE does not support Xalan interpretive /* com.sun.org.apache.xalan.internal.templates.ElemVariable vvar = getElemVariable(); if(null != vvar) { XPath xpath = vvar.getSelect(); if(null != xpath) { Expression expr = xpath.getExpression(); if(null != expr && expr instanceof PathComponent) { return ((PathComponent)expr).getAnalysisBits(); } } } */ return WalkerFactory.BIT_FILTER; }
Example #8
Source File: Variable.java From jdk1.8-source-analysis with Apache License 2.0 | 6 votes |
/** * Get the analysis bits for this walker, as defined in the WalkerFactory. * @return One of WalkerFactory#BIT_DESCENDANT, etc. */ public int getAnalysisBits() { // J2SE does not support Xalan interpretive /* com.sun.org.apache.xalan.internal.templates.ElemVariable vvar = getElemVariable(); if(null != vvar) { XPath xpath = vvar.getSelect(); if(null != xpath) { Expression expr = xpath.getExpression(); if(null != expr && expr instanceof PathComponent) { return ((PathComponent)expr).getAnalysisBits(); } } } */ return WalkerFactory.BIT_FILTER; }
Example #9
Source File: Variable.java From Bytecoder with Apache License 2.0 | 6 votes |
/** * Get the analysis bits for this walker, as defined in the WalkerFactory. * @return One of WalkerFactory#BIT_DESCENDANT, etc. */ public int getAnalysisBits() { // J2SE does not support Xalan interpretive /* com.sun.org.apache.xalan.internal.templates.ElemVariable vvar = getElemVariable(); if(null != vvar) { XPath xpath = vvar.getSelect(); if(null != xpath) { Expression expr = xpath.getExpression(); if(null != expr && expr instanceof PathComponent) { return ((PathComponent)expr).getAnalysisBits(); } } } */ return WalkerFactory.BIT_FILTER; }
Example #10
Source File: Variable.java From hottub with GNU General Public License v2.0 | 6 votes |
/** * Get the analysis bits for this walker, as defined in the WalkerFactory. * @return One of WalkerFactory#BIT_DESCENDANT, etc. */ public int getAnalysisBits() { // J2SE does not support Xalan interpretive /* com.sun.org.apache.xalan.internal.templates.ElemVariable vvar = getElemVariable(); if(null != vvar) { XPath xpath = vvar.getSelect(); if(null != xpath) { Expression expr = xpath.getExpression(); if(null != expr && expr instanceof PathComponent) { return ((PathComponent)expr).getAnalysisBits(); } } } */ return WalkerFactory.BIT_FILTER; }
Example #11
Source File: Variable.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
/** * Get the analysis bits for this walker, as defined in the WalkerFactory. * @return One of WalkerFactory#BIT_DESCENDANT, etc. */ public int getAnalysisBits() { // J2SE does not support Xalan interpretive /* com.sun.org.apache.xalan.internal.templates.ElemVariable vvar = getElemVariable(); if(null != vvar) { XPath xpath = vvar.getSelect(); if(null != xpath) { Expression expr = xpath.getExpression(); if(null != expr && expr instanceof PathComponent) { return ((PathComponent)expr).getAnalysisBits(); } } } */ return WalkerFactory.BIT_FILTER; }
Example #12
Source File: Compiler.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Compile a location path. The LocPathIterator itself may create * {@link com.sun.org.apache.xpath.internal.axes.AxesWalker} children. * * @param opPos The current position in the m_opMap array. * * @return reference to {@link com.sun.org.apache.xpath.internal.axes.LocPathIterator} instance. * * @throws TransformerException if a error occurs creating the Expression. */ public Expression locationPath(int opPos) throws TransformerException { locPathDepth++; try { DTMIterator iter = WalkerFactory.newDTMIterator(this, opPos, (locPathDepth == 0)); return (Expression)iter; // cast OK, I guess. } finally { locPathDepth--; } }
Example #13
Source File: Compiler.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Compile a location path. The LocPathIterator itself may create * {@link com.sun.org.apache.xpath.internal.axes.AxesWalker} children. * * @param opPos The current position in the m_opMap array. * * @return reference to {@link com.sun.org.apache.xpath.internal.axes.LocPathIterator} instance. * * @throws TransformerException if a error occurs creating the Expression. */ public Expression locationPath(int opPos) throws TransformerException { locPathDepth++; try { DTMIterator iter = WalkerFactory.newDTMIterator(this, opPos, (locPathDepth == 0)); return (Expression)iter; // cast OK, I guess. } finally { locPathDepth--; } }
Example #14
Source File: Compiler.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Compile a location path. The LocPathIterator itself may create * {@link com.sun.org.apache.xpath.internal.axes.AxesWalker} children. * * @param opPos The current position in the m_opMap array. * * @return reference to {@link com.sun.org.apache.xpath.internal.axes.LocPathIterator} instance. * * @throws TransformerException if a error occurs creating the Expression. */ public Expression locationPath(int opPos) throws TransformerException { locPathDepth++; try { DTMIterator iter = WalkerFactory.newDTMIterator(this, opPos, (locPathDepth == 0)); return (Expression)iter; // cast OK, I guess. } finally { locPathDepth--; } }
Example #15
Source File: Compiler.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Compile a location path. The LocPathIterator itself may create * {@link com.sun.org.apache.xpath.internal.axes.AxesWalker} children. * * @param opPos The current position in the m_opMap array. * * @return reference to {@link com.sun.org.apache.xpath.internal.axes.LocPathIterator} instance. * * @throws TransformerException if a error occurs creating the Expression. */ public Expression locationPath(int opPos) throws TransformerException { locPathDepth++; try { DTMIterator iter = WalkerFactory.newDTMIterator(this, opPos, (locPathDepth == 0)); return (Expression)iter; // cast OK, I guess. } finally { locPathDepth--; } }
Example #16
Source File: Compiler.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Compile a location path. The LocPathIterator itself may create * {@link com.sun.org.apache.xpath.internal.axes.AxesWalker} children. * * @param opPos The current position in the m_opMap array. * * @return reference to {@link com.sun.org.apache.xpath.internal.axes.LocPathIterator} instance. * * @throws TransformerException if a error occurs creating the Expression. */ public Expression locationPath(int opPos) throws TransformerException { locPathDepth++; try { DTMIterator iter = WalkerFactory.newDTMIterator(this, opPos, (locPathDepth == 0)); return (Expression)iter; // cast OK, I guess. } finally { locPathDepth--; } }
Example #17
Source File: Compiler.java From Bytecoder with Apache License 2.0 | 5 votes |
/** * Compile a location path. The LocPathIterator itself may create * {@link com.sun.org.apache.xpath.internal.axes.AxesWalker} children. * * @param opPos The current position in the m_opMap array. * * @return reference to {@link com.sun.org.apache.xpath.internal.axes.LocPathIterator} instance. * * @throws TransformerException if a error occurs creating the Expression. */ public Expression locationPath(int opPos) throws TransformerException { locPathDepth++; try { DTMIterator iter = WalkerFactory.newDTMIterator(this, opPos, (locPathDepth == 0)); return (Expression)iter; // cast OK, I guess. } finally { locPathDepth--; } }
Example #18
Source File: Compiler.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Compile a location path. The LocPathIterator itself may create * {@link com.sun.org.apache.xpath.internal.axes.AxesWalker} children. * * @param opPos The current position in the m_opMap array. * * @return reference to {@link com.sun.org.apache.xpath.internal.axes.LocPathIterator} instance. * * @throws TransformerException if a error occurs creating the Expression. */ public Expression locationPath(int opPos) throws TransformerException { locPathDepth++; try { DTMIterator iter = WalkerFactory.newDTMIterator(this, opPos, (locPathDepth == 0)); return (Expression)iter; // cast OK, I guess. } finally { locPathDepth--; } }
Example #19
Source File: Compiler.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** * Compile a location path. The LocPathIterator itself may create * {@link com.sun.org.apache.xpath.internal.axes.AxesWalker} children. * * @param opPos The current position in the m_opMap array. * * @return reference to {@link com.sun.org.apache.xpath.internal.axes.LocPathIterator} instance. * * @throws TransformerException if a error occurs creating the Expression. */ public Expression locationPath(int opPos) throws TransformerException { locPathDepth++; try { DTMIterator iter = WalkerFactory.newDTMIterator(this, opPos, (locPathDepth == 0)); return (Expression)iter; // cast OK, I guess. } finally { locPathDepth--; } }
Example #20
Source File: Compiler.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Compile a location path. The LocPathIterator itself may create * {@link com.sun.org.apache.xpath.internal.axes.AxesWalker} children. * * @param opPos The current position in the m_opMap array. * * @return reference to {@link com.sun.org.apache.xpath.internal.axes.LocPathIterator} instance. * * @throws TransformerException if a error occurs creating the Expression. */ public Expression locationPath(int opPos) throws TransformerException { locPathDepth++; try { DTMIterator iter = WalkerFactory.newDTMIterator(this, opPos, (locPathDepth == 0)); return (Expression)iter; // cast OK, I guess. } finally { locPathDepth--; } }
Example #21
Source File: Compiler.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Compile a location path. The LocPathIterator itself may create * {@link com.sun.org.apache.xpath.internal.axes.AxesWalker} children. * * @param opPos The current position in the m_opMap array. * * @return reference to {@link com.sun.org.apache.xpath.internal.axes.LocPathIterator} instance. * * @throws TransformerException if a error occurs creating the Expression. */ public Expression locationPath(int opPos) throws TransformerException { locPathDepth++; try { DTMIterator iter = WalkerFactory.newDTMIterator(this, opPos, (locPathDepth == 0)); return (Expression)iter; // cast OK, I guess. } finally { locPathDepth--; } }
Example #22
Source File: Compiler.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
/** * Compile a location path. The LocPathIterator itself may create * {@link com.sun.org.apache.xpath.internal.axes.AxesWalker} children. * * @param opPos The current position in the m_opMap array. * * @return reference to {@link com.sun.org.apache.xpath.internal.axes.LocPathIterator} instance. * * @throws TransformerException if a error occurs creating the Expression. */ public Expression locationPath(int opPos) throws TransformerException { locPathDepth++; try { DTMIterator iter = WalkerFactory.newDTMIterator(this, opPos, (locPathDepth == 0)); return (Expression)iter; // cast OK, I guess. } finally { locPathDepth--; } }