Java Code Examples for com.sun.org.apache.xpath.internal.objects.XObject#dispatchCharactersEvents()
The following examples show how to use
com.sun.org.apache.xpath.internal.objects.XObject#dispatchCharactersEvents() .
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: FuncNormalizeSpace.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. */ public void executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { if(Arg0IsNodesetExpr()) { int node = getArg0AsNode(xctxt); if(DTM.NULL != node) { DTM dtm = xctxt.getDTM(node); dtm.dispatchCharactersEvents(node, handler, true); } } else { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); } }
Example 2
Source File: FuncNormalizeSpace.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. */ public void executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { if(Arg0IsNodesetExpr()) { int node = getArg0AsNode(xctxt); if(DTM.NULL != node) { DTM dtm = xctxt.getDTM(node); dtm.dispatchCharactersEvents(node, handler, true); } } else { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); } }
Example 3
Source File: FuncNormalizeSpace.java From hottub with GNU General Public License v2.0 | 6 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. */ public void executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { if(Arg0IsNodesetExpr()) { int node = getArg0AsNode(xctxt); if(DTM.NULL != node) { DTM dtm = xctxt.getDTM(node); dtm.dispatchCharactersEvents(node, handler, true); } } else { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); } }
Example 4
Source File: FuncNormalizeSpace.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. */ public void executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { if(Arg0IsNodesetExpr()) { int node = getArg0AsNode(xctxt); if(DTM.NULL != node) { DTM dtm = xctxt.getDTM(node); dtm.dispatchCharactersEvents(node, handler, true); } } else { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); } }
Example 5
Source File: FuncNormalizeSpace.java From Bytecoder with Apache License 2.0 | 6 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. */ public void executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { if(Arg0IsNodesetExpr()) { int node = getArg0AsNode(xctxt); if(DTM.NULL != node) { DTM dtm = xctxt.getDTM(node); dtm.dispatchCharactersEvents(node, handler, true); } } else { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); } }
Example 6
Source File: FuncNormalizeSpace.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. */ public void executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { if(Arg0IsNodesetExpr()) { int node = getArg0AsNode(xctxt); if(DTM.NULL != node) { DTM dtm = xctxt.getDTM(node); dtm.dispatchCharactersEvents(node, handler, true); } } else { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); } }
Example 7
Source File: FuncNormalizeSpace.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. */ public void executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { if(Arg0IsNodesetExpr()) { int node = getArg0AsNode(xctxt); if(DTM.NULL != node) { DTM dtm = xctxt.getDTM(node); dtm.dispatchCharactersEvents(node, handler, true); } } else { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); } }
Example 8
Source File: FuncNormalizeSpace.java From JDKSourceCode1.8 with MIT License | 6 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. */ public void executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { if(Arg0IsNodesetExpr()) { int node = getArg0AsNode(xctxt); if(DTM.NULL != node) { DTM dtm = xctxt.getDTM(node); dtm.dispatchCharactersEvents(node, handler, true); } } else { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); } }
Example 9
Source File: FuncNormalizeSpace.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. */ public void executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { if(Arg0IsNodesetExpr()) { int node = getArg0AsNode(xctxt); if(DTM.NULL != node) { DTM dtm = xctxt.getDTM(node); dtm.dispatchCharactersEvents(node, handler, true); } } else { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); } }
Example 10
Source File: FuncNormalizeSpace.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. */ public void executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { if(Arg0IsNodesetExpr()) { int node = getArg0AsNode(xctxt); if(DTM.NULL != node) { DTM dtm = xctxt.getDTM(node); dtm.dispatchCharactersEvents(node, handler, true); } } else { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); } }
Example 11
Source File: Expression.java From openjdk-jdk8u with GNU General Public License v2.0 | 3 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * NEEDSDOC @param handler * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. * @throws org.xml.sax.SAXException */ public void executeCharsToContentHandler( XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); obj.detach(); }
Example 12
Source File: Expression.java From JDKSourceCode1.8 with MIT License | 3 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * NEEDSDOC @param handler * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. * @throws org.xml.sax.SAXException */ public void executeCharsToContentHandler( XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); obj.detach(); }
Example 13
Source File: Expression.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 3 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * NEEDSDOC @param handler * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. * @throws org.xml.sax.SAXException */ public void executeCharsToContentHandler( XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); obj.detach(); }
Example 14
Source File: Expression.java From Bytecoder with Apache License 2.0 | 3 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * NEEDSDOC @param handler * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. * @throws org.xml.sax.SAXException */ public void executeCharsToContentHandler( XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); obj.detach(); }
Example 15
Source File: Expression.java From jdk8u60 with GNU General Public License v2.0 | 3 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * NEEDSDOC @param handler * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. * @throws org.xml.sax.SAXException */ public void executeCharsToContentHandler( XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); obj.detach(); }
Example 16
Source File: Expression.java From openjdk-jdk9 with GNU General Public License v2.0 | 3 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * NEEDSDOC @param handler * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. * @throws org.xml.sax.SAXException */ public void executeCharsToContentHandler( XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); obj.detach(); }
Example 17
Source File: Expression.java From hottub with GNU General Public License v2.0 | 3 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * NEEDSDOC @param handler * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. * @throws org.xml.sax.SAXException */ public void executeCharsToContentHandler( XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); obj.detach(); }
Example 18
Source File: Expression.java From openjdk-8 with GNU General Public License v2.0 | 3 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * NEEDSDOC @param handler * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. * @throws org.xml.sax.SAXException */ public void executeCharsToContentHandler( XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); obj.detach(); }
Example 19
Source File: Expression.java From openjdk-8-source with GNU General Public License v2.0 | 3 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * NEEDSDOC @param handler * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. * @throws org.xml.sax.SAXException */ public void executeCharsToContentHandler( XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); obj.detach(); }
Example 20
Source File: Expression.java From jdk1.8-source-analysis with Apache License 2.0 | 3 votes |
/** * Execute an expression in the XPath runtime context, and return the * result of the expression. * * * @param xctxt The XPath runtime context. * NEEDSDOC @param handler * * @return The result of the expression in the form of a <code>XObject</code>. * * @throws javax.xml.transform.TransformerException if a runtime exception * occurs. * @throws org.xml.sax.SAXException */ public void executeCharsToContentHandler( XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException { XObject obj = execute(xctxt); obj.dispatchCharactersEvents(handler); obj.detach(); }