本文整理了Java中com.sun.org.apache.xpath.internal.objects.XObject.dispatchCharactersEvents()
方法的一些代码示例,展示了XObject.dispatchCharactersEvents()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XObject.dispatchCharactersEvents()
方法的具体详情如下:
包路径:com.sun.org.apache.xpath.internal.objects.XObject
类名称:XObject
方法名:dispatchCharactersEvents
[英]Directly call the characters method on the passed ContentHandler for the string-value. Multiple calls to the ContentHandler's characters methods may well occur for a single call to this method.
[中]直接调用传递的ContentHandler上的characters方法获取字符串值。对ContentHandler的characters方法的多次调用很可能会发生在对该方法的一次调用中。
代码示例来源:origin: com.sun.xml.parsers/jaxp-ri
/**
* 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();
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri
/**
* 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();
}
代码示例来源:origin: com.sun.xml.parsers/jaxp-ri
obj.dispatchCharactersEvents(handler);
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxp-ri
obj.dispatchCharactersEvents(handler);
内容来源于网络,如有侵权,请联系作者删除!