• ContentHandler declares the following events.

    ContentHandler声明下列事件。

    youdao

  • A serializer is a ContentHandler that writes its input in an XML document.

    序列化程序是ContentHandler,它将其输入写入XML文档。

    youdao

  • At this point, I've exhausted the most common applications of the ContentHandler interface.

    至此,我已经介绍了ContentHandler接口的最常见应用。

    youdao

  • As you know, SAX parsing requires you to write a ContentHandler that processes parser events.

    您知道,sax语法分析要求您编写处理语法分析器事件的ContentHandler。

    youdao

  • An instance of the parser is obtained, and an instance of ContentHandler is registered on it.

    得到了语法分析器的实例,并且在其上注册ContentHandler的实例。

    youdao

  • ContentHandler defines events related to the document itself (such as opening and closing tags).

    ContentHandler定义与文档本身关联的事件(例如,开始和结束标记)。

    youdao

  • This accounts for the many different ways a parser is allowed to pass text into a ContentHandler.

    这考虑到了解析器向ContentHandler传递文本的各种方式。

    youdao

  • ProcessingInstructionHandler is a SAX ContentHandler that extracts xml-stylesheet and xm-xsl-param.

    ProcessingInstructionHandler是一种SAXContentHandler ,它抽取xml-stylesheet和xm-xsl-param 。

    youdao

  • ContentHandler is the most commonly used SAX interface because it defines events for the XML document.

    ContentHandler是最常用的SAX接口,因为它定义XML文档的事件。

    youdao

  • All that's missing is to replace the System.out.println in Listing 7 with the appropriate calls to ContentHandler.

    这里遗留的工作是用适当的ContentHandler调用来替代清单7中的System. out . println 。

    youdao

  • XMLFilterImpl already implements most of the ContentHandler, blindly forwarding events to the next filter in the pipe.

    XMLFilterImpl已经实现了ContentHandler的绝大部分,它盲目地将事件转发给管道中的下一个过滤器。

    youdao

  • The ContentHandler introduced in Listing 1 simply counts the number of occurrences of the ulink element within simpara elements.

    清单1所介绍的ContentHandler只是计算simpara元素中ulink元素出现的次数。

    youdao

  • Still, it's easy to write a piece of glue code that picks up events from the provided StAX interface and drives a SAX ContentHandler.

    不过很容易编写一段胶水代码,从提供的StAX接口接收事件并驱动SAX ContentHandler。

    youdao

  • In Figure 2, instead of writing to a file, the application calls the processor's ContentHandler directly, effectively simulating the parser.

    在图2中,应用程序并没有写到文件中,而是直接调用处理器的ContentHandler,有效地模拟了语法分析器。

    youdao

  • If you're familiar with SAX parsing, you know that the ContentHandler creates the parsed data by reacting to the various events fired by the SAX parser.

    如果熟悉SAX解析,会知道ContentHandler通过响应SAX解析器触发的各种事件创建解析数据。

    youdao

  • HC automates the process by compiling a proxy ContentHandler that takes care of state management and calls into an application handler where the application logic fits.

    通过编译代理ContentHandler(由其来负责状态管理,并且在符合应用程序逻辑的地方调用应用处理程序),HC使跟踪状态这个过程自动化。

    youdao

  • Programmers still had to know the rudiments of SAX (like what a ContentHandler was and how to implement callback methods), but JAXP abstracted away many of these details.

    程序员仍然需要了解SAX的基本原理(如什么是ContentHandler以及如何实现回调方法),但是JAXP抽象出了很多这样的细节。

    youdao

  • However, I've received several requests and Suggestions for coverage of one last aspect of the ContentHandler interface, which of course I've been discussing for several tips now.

    不过,我收到了一些请求和建议,让我讨论在前几篇技巧文章中一直讨论的ContentHandler接口的最后一个方面。

    youdao

  • If you set your own org.xml.sax.ContentHandler on the validator handler, the validator handler ACTS as a filter that validates incoming sax events and forwards events to your ContentHandler.

    如果在验证器处理程序上设置自己的or g . xml .sax .ContentHandler,该验证器处理程序将充当过滤器,验证收到的sax事件,并把事件转发到ContentHandler。

    youdao

  • If you set your own org.xml.sax.ContentHandler on the validator handler, the validator handler ACTS as a filter that validates incoming sax events and forwards events to your ContentHandler.

    如果在验证器处理程序上设置自己的or g . xml .sax .ContentHandler,该验证器处理程序将充当过滤器,验证收到的sax事件,并把事件转发到ContentHandler。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定