单词 | sax |
释义 |
复数:saxes 例句释义: 石板瓦工用的凿刀,萨克斯风 1. SAX allows you to process a document as it's being read, which avoids the need to wait for all of it to be stored before taking action. SAX允许您在读取文档时处理它,从而不必等待整个文档被存储之后才采取操作。 www.ibm.com 2. Most parsers that implement the DOM provide at least a vendor-specific means of access to an underlying SAX parser. 很多实现DOM的解析器至少提供一个供应商专用的方法来访问一个底层SAX解析器。 www.ibm.com 3. An alternate implementation of this program might be more efficient if it used the SAX parsing method, rather than DOM. 这个程序的另一个实现可嫩更有效,如果使用SAX解析方法而不是DOM。 www.ibm.com 4. Note that the SAX parser is not required to supply a Locator, but if it does, it must fire this event before any other event. 请注意,不需要SAX语法分析器提供Locator,但是如果它提供了,则必须在任何其它事件之前激活该事件。 www.ibm.com 5. It's also easy to register with SAX, so handling errors is just a few lines of code away. 它可以很容易地注册SAX,处理错误时只需要几行代码。 www.ibm.com 6. Parsing of XML data is often done with a SAX-style parser. XML数据解析通常是使用一个SAX风格的解析器完成的。 www.ibm.com 7. Holding a newspaper frees you to express yourself, sort of like holding a sax did for Coltrane. 拿着报纸你就有机会表达自己,就像库特拉尼拿着萨克斯风那样。 dictsearch.appspot.com 8. Because Jeffrey Sax, and you know Jeffrey Sax, highly- respected economist, said -- let me address that tax issue. 因为,JeffreySax是一位非常受人尊敬的经济学家,他说——让我来解决税收问题。 bbs.koolearn.com 9. As you know from A brief history lesson, when you work with SAX, your first step is to create a new SAXParserFactory. 通过简要的历史回顾您知道,使用SAX的第一步是创建新的SAXParserFactory。 www.ibm.com 10. As you know, SAX parsing requires you to write a ContentHandler that processes parser events. 您知道,SAX语法分析要求您编写处理语法分析器事件的ContentHandler。 www.ibm.com 1. One morning as I sax draped in a long gown - it must have been about ten o' clock - I heard some footsteps out in the courtyard. 一天早晨,大概有十点来钟吧,我正披着件长袍在屋中坐着,我听见院中有点脚步声。 www.jukuu.com 2. JAXP initially had the goal to remove some of the vendor-specific details, related to which XML parser was used, from SAX and DOM code. 最初,JAXP的目标是从SAX和DOM代码中移除一些特定于供应商的信息(涉及到所使用的XML解析器)。 www.ibm.com 3. Unlike DOM, SAX is not endorsed by an official standardization body, but it is widely used and is considered a de facto standard. 与DOM不同,SAX没有经过官方标准机构的认可,但是它被广泛使用并被视为事实上的标准。 www.ibm.com 4. If it's dereferenced in an attribute value, this attack can even damage a SAX-based system by overflowing the limits of a string. 如果与属性值没有任何关联,那么这种攻击甚至可以通过溢出字符串限制来损害基于SAX的系统。 www.ibm.com 5. But a combined Singaporean and Australian exchange -- call it SAX -- does create a new attraction that could make up for it. 但如果有一个“新加坡-澳大利亚交易所”诞生(姑且称为“新澳所”),则会形成一种新的吸引力,从而有可能弥补这个劣势。 c.wsj.com 6. 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接口接收事件并驱动SAXContentHandler。 www.ibm.com 7. Sax: God, I turn out to be such a damsel in distress. 哦,天哪,我竟然成为了一个如此悲惨的女人。 club.163.com 8. This means that SAX can discard those parts of the document that are not in scope at the time, which makes it more efficient. 这意味着SAX可以抛弃暂时不在范围中的文档部分,这使得它更高效。 www-128.ibm.com 9. Just rewrite a few lines of code to use SAXParser instead of DOMBuilder and you're ready to add SAX-specific error handling. 只需要重写一些代码,使用SAXParser代替DOMBuilder即可,这样就可以开始添加与SAX有关的错误处理了。 www.ibm.com 10. SAX -- like the parser modules it provides an API for -- is essentially a sequential processor of an XML document. SAX--如同它提供的语法分析器模块的API--基本上是一个XML文档的顺序处理器。 www.ibm.com 1. Soprano voice ; soprano sax; the boy still had a fine treble voice; the treble clef . 高音;高音萨克斯管;这个男孩仍旧有极好的高音;高音谱号。 www.bing.com 2. SAX, as you may know, is an event-oriented programming API for parsing XML documents. 正如您可能知道的,SAX是一个用于解析XML文档的面向事件的编程API。 www.ibm.com 3. Through SAX events, your application listens to the flow of the document and, supposedly, generates the appropriate response. 通过SAX事件,应用程序侦听文档流,并且按照需要生成相应的响应。 www.ibm.com 4. Instead , SAX is mostly just a way to save memory while extracting data from an XML document . 反而,主要将SAX作为从XML文档抽取数据时节省内存的一种方法。 www.bing.com 5. The next step is to implement the getter and setter methods for the various interfaces that SAX uses. 下一步就是为SAX使用的各种接口实现getter和setter方法。 www-128.ibm.com 6. Being able to reuse SAX handler is great, but it is a somewhat complicated piece of code. 能够重用SAX处理程序是非常不错的,但其代码稍微有些复杂。 www.ibm.com 7. At any time during a parse, it is possible to register a new content handler, as stated in the SAX specification. 正如SAX规范中所说的那样,在解析过程中的任意时刻,都可以注册一个新的内容处理程序。 www.ibm.com 8. If you do this, you get a few special techniques that the SAX interface does not provide. 如果这样做,您就能获得SAX界面并不提供的一些特殊技巧。 www-128.ibm.com 9. Then the SAX parsing is handled manually with the returned handler as the means of dealing with content. 然后,使用返回的处理程序手动处理SAX解析,对内容进行处理。 www.ibm.com 10. Because SAX is event driven, you'll want to be notified of, and react to, any errors that occur during validation. 因为SAX是由事件驱动的,所以您需要在验证期间发生任何错误的时候得到通知,并对它作出反应。 www.ibm.com 1. JAXP would still have the benefit of making translation between SAX and DOM easy, but this would be a nice nod to the XML community. JAXP将仍然受益于在SAX和DOM之间轻易转换,不过对于XML社区来说将会是一个很大的欣喜。 www.ibm.com 2. En. The implementation of a SAX filter in most object-based SAX systems is as a specialized handler class. 大多数基于对象的SAX系统中的SAX过滤器实现都是作为专门的处理程序类。 www-128.ibm.com 3. When a SAX parsing process runs across this entity reference, it has to resolve the entity into another piece of content. 当SAX解析过程运行到该实体引用时,它必须将该实体解析成另一段内容。 www-128.ibm.com 4. Apart from XML basics, you'll need at least a conceptual understanding of SAX to make use of the suggestions in this article. 除了了解XML基础知识,您至少还需要理解SAX的概念,从而能采用本文中的一些建议。 www.ibm.com 5. SAX filters allow you to construct complex XML processing behaviors from simple, independent modules. SAX过滤器允许您从简单的独立模块构造复杂的XML处理。 www-128.ibm.com 6. At a more macroscopic level, an entire Saxon transformation can also be manipulated as a SAX filter. 从更宏观的角度看,整个Saxon转换还可以当作SAX过滤器来进行操作。 www.ibm.com 7. The SAX parser, the document handler, and the external classes for the other elements do not need any changes. SAX解析器、文档处理程序以及用于其他元素的外部类都不需要作任何修改。 www.ibm.com 8. Readers may be familiar with the XML equivalents based around the SAX-style libraries. 读者可能对基于XML的SAX风格的程序库比较熟悉。 www.infoq.com 9. The SAX programmer writes callback method implementations that are the snippets of code executed upon these various event occurrences. SAX程序员编写回调方法实现它们,是在发生这些各种事件时执行的代码片段。 www-128.ibm.com 10. As you learned in Part 1, JAXP is a layer over SAX and DOM that enables Java programmers to perform vendor-neutral XML parsing. 在第1部分中了解到,JAXP是位于SAX和DOM之上的层,它允许Java程序员执行开发商中立的XML解析。 www.ibm.com 1. But in those rare cases where you do need to know the input encoding, SAX and XNI offer fast and efficient means of figuring it out. 但是,有些情况下需要知道输入编码,SAX和XNI可以提供快速而有效的方法来解决这一问题。 www.ibm.com 2. The most common means of parsing XML using SAX is simply to instantiate the vendor-provided implementation class. 使用SAX分析XML的最常用方法就是实例化供应商提供的实现类。 www.ibm.com 3. All SAX handlers accept SAX events from an upstream source, which might be the XML parser directly. 所有SAX处理程序都从上行源接受SAX事件,而这个上行源可能直接就是XML解析器。 www-128.ibm.com 4. Once you realize that SAX underpins most XML processing, you know that SAX is then the key to good error handling. 只要意识到SAX是多数XML处理的基础,那么将会明白SAX是高质量错误处理的核心。 www.ibm.com 5. Notice that this class still uses a standard SAX handler, so you simply reused the RssHandler shown above in Listing 7. 注意,这个类仍然使用了一个标准的SAX处理程序,因此您仅仅重用了清单7中所示的RssHandler。 www.ibm.com 6. Before SAX, each parser had its own peculiar API for communicating XML structure to handler code, and SAX provided important unification. 在SAX之前,每种解析器都通过自己私有的API在XML结构与处理程序代码之间通信,SAX提供了重要的统一性。 www.ibm.com 7. UC Santa Barbara's Steven D. Gaines and fellow researcher Dov Sax decided to test that theory by studying the world's far-flung islands. 加州大学圣巴巴拉分校的研究学者StevenD.Gaines和DovSax决定通过研究世界上许多遥远的岛屿来验证一下这个理论。 www.bing.com 8. Bill Clinton won't be dead until he's laid out with his sax. 在克林顿萨克斯风吹到昏倒以前,他还死不了。 www.rrting.com 9. I won't stand idle though, and I will launch a new project -- a SAX handler compiler -- in the next column. 但我不想闲着,在下一篇专栏文章中,我将启动一个新的项目―SAX处理程序编译器。 www.ibm.com 10. SAX has the very nice feature in its ability to process XML documents as streams, acting upon each element and content as it is encountered. SAX在将XML文档作为流处理的能力上有非常好的特性,即根据遇到的每个元素和内容来进行处理。 www-128.ibm.com 1. It was my tenor-sax teacher , Bill Sheiner, who gave me a way out of this limbo . 后来,多亏我的高音萨克斯管教师比尔·希尼尔给了我一条脱离苦海的道路。 www.bing.com 2. Place a large sparkler in the music holder of your sax and light it as your partner steps on to the balcony. 在萨克斯管的谱夹上放一个大的发光物件,在对方走到阳台上时,将之亮起。 blog.163.com 3. In particular, a significant portion of a SAX event handler is devoted to tracking how far the parser has gone in the document. 尤其是SAX事件处理程序特别重要的一部分是致力于跟踪解析器已在文档中的执行程度。 www.ibm.com 4. I also wanted to demonstrate how the combination of XSLT and SAX event handling is greater than the sum of its parts. 我还想演示XSLT和SAX事件处理的组合为何比只使用某一技术本身要好。 www.ibm.com 5. This returns the list of Message objects that the handler collects as it receives events from the SAX parser. 它返回处理程序在从SAX解析器接收事件时所收集的Message对象列表。 www.ibm.com 6. SAX was developed by the members of the XML-DEV mailing list as a standard and simple API for event-based parsers. SAX是由XML-DEV邮件列表的成员开发的一种用于基于事件的语法分析器的标准和简单的API。 www.ibm.com 7. The events are then serialized into XML and stored into a file named appliction-instance. xml, which is part of the backup. CAI提供一个ContentHandler来接收SAX事件,该事件然后被序列化到XML并存储在一个名为appliction-instance.xml的文件中,这是备份的一部分。 www.ibm.com 8. Having all these methods for parsing may seem a bit confusing, but it's only tricky if you're working with both versions of SAX. 所有这些方法都用来进行语法分析可能有点令人困惑,但是,只有在使用SAX的两个版本时才会令人感到棘手。 www.ibm.com 9. SAX consists of an event-based set of callbacks, while DOM has an in-memory tree structure. SAX包含一个基于事件的回调函数集,而DOM有一个内存中的树状结构。 www.ibm.com 10. At this point, you might turn to DOM or SAX for the task. 基于这一点,您可能需要转向DOM或SAX来完成任务。 www-128.ibm.com 1. The young man explained, the bottle gourd silk is the United States of America Sax. 年轻人解释说,这个葫芦丝就是美国的萨克斯。 www.bing.com 2. Using SAX rather than DOM makes this transformation fairly time efficient, even though time was not a large consideration in developing it. 使用SAX而不是DOM使这一转换相当节省时间,即使时间不是开发它的主要考虑事项。 www.ibm.com 3. As things were looking bleak, Luke Tweedy (Sax, Flute and Vocals) joined and the band rehearsed a while as a 3-piece. 至于事情正在寻找暗淡,卢克特威迪(萨克斯,长笛和声乐)加入,乐队排练而作为3件。 dictsearch.appspot.com 4. But Professor Sax says the answers to questions about religion were particularly striking, and deserve a more detailed study. 对关于宗教问题的回答是非常让人吃惊的,值得进行进一步研究。 bbs.yuloo.com 5. Which type of API should you use and when should you use it -- SAX or DOM? Unfortunately, there is no clear-cut answer to this question. 应该使用哪一种类型的API,应该何时使用它-SAX还是DOM?不幸的是,这个问题没有明确的答案。 www.ibm.com 6. It streams data and events from the XML document, allowing it to be fast and efficient like SAX. 它将来自XML文档的数据和事件流线化,使其可以像SAX一样快速且高效。 www.ibm.com 7. Just as when you work with SAX, you can use this interface to customize how errors are handled. 和SAX一样,可以使用该接口自定义错误的处理。 www.ibm.com 8. When I call up that beautiful face and those elegant cocoa-brown fingers running along the sax's keys, I am always convinced of it. 当我回忆起他那英俊的脸,回忆起他那拨弄着萨克斯的优雅的棕色手指,都会确信这一点。 www.bing.com 9. Some programmers expect the parser to throw an exception if it cannot validate the document, but that is not how a SAX parser behaves. 有些程序员期望解析器在无法验证文档时抛出一个异常,但SAX解析器并不这么做。 www-128.ibm.com 10. It includes innovative exercises and solos that will help sax players learn melody, harmony, rhythm and improvisation techniques. 这一册所包含的创新练习和独奏片段可以帮助萨克斯演奏者学习旋律,和声,节奏与即兴演奏的技巧。 www.8601.com 1. SAX enables a programmer to accesses data in an XML document as a sequence of events. SAX使程序员能够访问在XML文档中作为事件序列的数据。 www.ibm.com 2. It might be possible to change this limitation (although doing so would by inelegant within a SAX framework). 更改这个限制是可能的(尽管这样做会在SAX框架内造成不雅效果)。 www.ibm.com 3. Simply put, a filter is a SAX event handler that passes the events it receives to another event handler. 简单地说,过滤器是将接收到的事件传送给另一个事件处理程序的SAX事件处理程序。 www.ibm.com 4. SAX was designed for the Java language, although bindings to other languages have been developed. SAX设计用于Java语言,但是到其他语言的绑定已经开发出来了。 www-128.ibm.com 5. One of the cornerstones of SAX-based programming is validation. 基于SAX的编程的基础之一就是验证。 www-128.ibm.com 6. Conventionally the other end of the pipe consumes SAX events and outputs a document. 通常管道的另一端使用SAX事件而输出文档。 www.ibm.com 7. As you use SAX more and more, you may find yourself with an impressive library of SAX filters for all sorts of processing tasks. 随着您越来越多地使用SAX,您可能会发现您有了一个给人留下深刻印象的SAX过滤器库,它可以用于各种处理任务。 www-128.ibm.com 8. The foundation for all SAX programming is an instance of a SAXParser implementation. 所有SAX编程的基础是SAXParser实现的实例。 www.ibm.com 9. This class provides default, no-op implementations for all of the methods that correspond to the events raised by the SAX parser. 该类为SAX解析器生成的事件所对应的所有方法都提供了一个默认的非操作实现。 www.ibm.com 10. Lily: I'll be glad to. It's full name is saxophone, and sax is the abbreviated form. 莉莉:乐意效劳。它的全名是萨克斯风,萨克斯是简称。 www.citygf.com 1. In this tip, Brett shows you how SAX handles elements and reports those elements, as well as how you can use code to extract element data. 在本技巧文章中,Brett为您展示了SAX是如何处理元素并报告这些元素的,以及如何用代码提取元素数据。 www-128.ibm.com 2. But if you're a hardcore SAX person, then this tip will help you write code that's a little more portable a little more efficiently. 但如果您是SAX的坚决拥护者,那么本提示有助于您更有效地编写可移植性更佳的代码。 www.ibm.com 3. It does you no good to build a great set of error-handling methods and then not tell your SAX parser about them. 创建大量的错误处理方法但又不告知SAX解析器,这样是没有益处的。 www.ibm.com 4. The rule of thumb is to use SAX when you need more control and DOM when you want increased convenience. 经验法则是在需要更多控制时使用SAX;要增加方便性时,则使用DOM。 www.ibm.com 5. The next year, at the Industrial Exhibition, Sax won the gold medal. 第二年,在工业博览会,萨克斯夺得了金牌。 hi.baidu.com 6. The handler receives events from the SAX parser as it rips through the XML document. 在分解XML文档时,处理程序从SAX解析器接收事件。 www.ibm.com 7. Although the syntax of pseudo-attributes is similar to XML attributes, the SAX parser does not decode them. 虽然伪属性的语法与XML属性相类似,但SAX解析器不对它们进行译码。 www.ibm.com 8. Simple API for XML is a standard programming interface for XML parser implementations; SAX uses an event-oriented programming model. SimpleAPIforXML是用于XML解析器实现的标准编程接口;SAX使用面向事件的编程模型。 www-128.ibm.com 9. DOM and SAX are the two best known systems for XML processing, but they are really compromises across programming languages. DOM和SAX是两种最有名的用于XML处理的系统,但它们是真正的跨编程语言的折中方法。 www-128.ibm.com 10. That's why I first set out to evaluate the available XML SAX parser libararies and then started creating node-expat myself. 这就是为什么我在评估可用的XMLSAX解析器库之后,自己创建了node-expat的原因。 www.infoq.com 1. Class, rather than letting a JAXP or SAX implementation handle this task for you. 类,而不是让JAXP或SAX为您处理这个任务。 www-128.ibm.com 2. SAX generally offers better performance on sizeable documents and DOM generally offers more straightforward code. SAX通常为大文档提供了好的性能,而DOM通常提供了更直接的代码。 www-128.ibm.com 3. from guangdong , to be adept in flute , sax and chinese cucurbit flute , like pc music. 来自广东,擅长长笛萨克斯和葫芦丝,爱好电脑音乐。 ichacha.net 4. In Resources I refer you to an online list of SAX-defined URIs. 请参阅参考资料中SAX定义的URI的联机列表。 www.ibm.com 5. In this sense, xml. parsers. expat is a bit "lower level" compared to SAX. 这样,xml.parsers.expat与SAX相比有些“低级”。 www.ibm.com 6. Right now, developers are generally caught between the inefficiencies of DOM and the unfamiliar feel of SAX. 现在,DOM的低效和对SAX的不熟悉感觉给开发人员带来了困难。 www.ibm.com 7. In the implementation of org. xml. sax. Attributes in Xerces2, attributes are stored in an array for fast access to attributes by index. 在Xerces2的org.xml.sax.Attributes实现中,属性是保存在数组中的,以便能够按照索引快速对其进行访问。 www.ibm.com 8. Unlike SAX, the DOM API permits editing and saving an XML document back to a file or stream. 与SAX不同,DOMAPI允许对XML文档进行编辑并保存为一个文件或者流。 www.ibm.com 9. This tip has demonstrated a simple way to alter the processing of a SAX application using an XML filter. 本技巧文章演示了一种使用XML过滤器来改变SAX应用程序处理的简单方法。 www-128.ibm.com 10. In general, parsers provide SAX drivers that translate low-level parser events into SAX standard events, allowing for portable code. 通常提供SAX驱动程序的解析器都把底层的解析器事件转化成SAX标准事件,以支持代码的移植。 www.ibm.com 1. Does not write an XML document to the disk, instead it fires SAX events that describe the document. 不将XML文档写到磁盘,而是启动描述文档的SAX事件。 www-128.ibm.com 2. This makes it more efficient, but requires developers to master many sophisticated techniques for state management. 这使SAX更有效,但这要求开发人员掌握许多复杂的状态管理技术。 www.ibm.com 3. Find out how to stop a SAX parser midway through a document without losing the data already collected, in. 中,了解如何在文档中间停止SAX解析器而不丢失已经采集的数据。 www-128.ibm.com 4. To understand SAX, you must remember that an XML document is a hierarchy of elements. 要想理解SAX,必须记住XML文档是一种元素的层次结构。 www.ibm.com 5. This tip uses Xerces-Java 2, but the concepts are applicable to any SAX-compliant parser. 本篇技巧使用的是Xerces-Java2,但这些概念适用于任何SAX兼容的解析器。 www-128.ibm.com 6. XML: : Simple provides an intuitive, pure-Perl parser for simple XML files, and the SAX API is supported by most of the parsing modules. Simple为简单的XML文件提供了一个直观的纯Perl语法分析器,而且大多数分析模块都支持SAXAPI。 www.ibm.com 7. SAX is less memory intensive compared to DOM. However SAX requires that developers write callback methods for event handlers. 与DOM相比,SAX对内存要求不高,但是SAX要求开发人员为事件处理程序编写回调方法,而XMLBeans则不需要。 www.ibm.com 8. In its early incarnations, JAXP was little more than a thin veneer over SAX and DOM -- and over outdated versions of those APIs, at that. 在早期版本中,JAXP不过是位于SAX和DOM以及那些API过时版本之上的小薄层。 www.ibm.com 9. To access some information in SAX, you need to cast an object to a different interface; this carries a performance cost. 要访问SAX中的一些信息,必须将对象强制转化成不同的接口,这样就带来了性能上的开销。 www.ibm.com 10. The template compiler uses SAX to read template files and converts the content into Java source code. 模板编译器使用SAX读取模板文件并将内容转换为Java源代码。 www.ibm.com 1. The only way to access these events is to work directly with the SAX XMLReader interface. 访问这些事件的惟一方式是直接操作SAXXMLReader接口。 www.ibm.com 2. This brief summary of the DOM serves as context for understanding how SAX fits into the whole picture. 这个关于DOM的简要概述只为您提供背景知识,以便您更好地全面理解SAX。 www.ibm.com 3. This means the way that SAX parsers deliver text might not match the needs of your application. 这意味着SAX解析器传递文本的方法可能无法满足应用程序的需求。 www-128.ibm.com 4. I joined him on sax for Summertime, the first time wed played together since 1964. 我用我的萨克斯和他共同演奏了《夏日时光》,这是我们自1964年以来首次合作。 www.bing.com 5. The module xml. sax contains a facility for automatically selecting the "best" parser. sax模块包含一个自动选择“最佳”语法分析器的设施。 www.ibm.com 6. XPathHandler acts as a proxy to translate SAX events (start element, end element, and the like) in calls to the application handler. XPathHandler充当代理,以将调用中的SAX事件(起始元素、结束元素等事件)转换成应用处理程序。 www.ibm.com 7. There have been two traditional approaches to the challenge of XML parsing: DOM and SAX. 克服XML解析挑战的传统方法有两种:DOM和SAX。 www.ibm.com 8. The serializer accepts SAX events and writes the corresponding XML document in a file. 序列化程序接受SAX事件,并将相应的XML文档写到一个文件中。 www.ibm.com 9. A Hamlet is a Java servlet extension that uses the Simple API for XML (SAX) to read template files. Hamlet是一个Javaservlet扩展,它使用SimpleAPIforXML(SAX)读取模板文件。 www.ibm.com 10. This is ideal for situations in which a SAX is already in use, and callbacks are set up and need to be triggered prior to transformations. 对于已经开始使用SAX,并设置了回调,而且需要在变换之前触发回调的情况,这是理想的方法。 www.ibm.com 1. I'll cover these, as well as the update in standards support for SAX and DOM, now. 现在,我将讲述这些,以及SAX和DOM标准支持中的更新。 www.ibm.com 2. SAX conceives of a document as a series of events, and requires that you tell it how to respond to each. SAX把文档看作一系列事件,要求您告诉它如何响应每种事件。 www.ibm.com 3. The SAX developer needs only extend this class, then implement methods that require insertion of specific logic. SAX开发人员只需扩展这个类,然后实现需要插入特定逻辑的方法。 www.ibm.com 4. SAX notifies you when certain events happen as it parses your document. SAX在分析文档时如果发现特定事件发生,会通知您。 msdn2.microsoft.com 5. If you're already a SAX veteran, then you don't have to do anything to get going with SAX; you're already using the API. 如果您已经是一个SAX老手,那么就不用再从头熟悉SAX,您已经使用过这个API了。 www.ibm.com 6. Typically, using streams is most efficient as compared with sources like DOM or SAX that incur object and API call overhead. 与会引发对象和API调用开销的DOM或SAX等源相比,使用流(stream)是最高效的。 www.ibm.com 7. SAX treats an XML document as a series of parsing events, and basically allows a procedural programming style. SAX将XML文档视为一系列解析事件,而且它基本上允许过程性编程风格。 www-128.ibm.com 8. SAX 2. 0 and above reports all this namespace data, so you can accurately determine an element's localName and namespace. SAX2.0及更高版本都可以输出所有的命名空间数据,因此您可以准确地判定元素的localName与命名空间。 www.ibm.com 9. SAX does fewer things than DOM, but it gives you more control over the parsing. SAX比DOM做的事要少,但提供了对语法分析器的更多控制。 www.ibm.com 10. Actually the generator can be anything that generates SAX events. 事实上,生成器可以是任何生成SAX事件的程序。 www.ibm.com 1. If you're new to XML parsing, you might want to read up on SAX and DOM first through online sources or skim through my book (see Resources). 如果您完全不懂XML解析,那么可能需要首先阅读在线参考资料中有关SAX和DOM的信息,或者浏览我的书(参阅参考资料)。 www.ibm.com 2. The goal of HC is to compile a proxy content handler that matches XPaths to specific methods (the application handler) in SAX parsing. HC的目标是编译一个代理内容处理程序,该代理内容处理程序使XPath与SAX解析中的特定方法(应用处理程序―applicationhandler)相匹配。 www.ibm.com 3. The cause of each is the same as it is with SAX. 每一个的原因与SAX中的相同。 www.ibm.com 4. The example also clearly illustrates that SAX is more efficient than DOM but that it requires more work from the programmer. 示例也清晰地说明了SAX比DOM更高效,但是它需要程序员完成更多工作。 www.ibm.com 5. Programming a visitor is a lot like programming a SAX, expat, REXML, or other event-oriented XML parser. 编写访问器与编写SAX、expat、REXML或其它面向事件的XML解析器非常相象。 www.ibm.com 6. Think of this as a summary of Xalan's output SAX stream. 把该消息看作Xalan的输出SAX流的摘要。 www.ibm.com 7. If you are comfortable with standard SAX parsing code in the Java environment, then you can stick to that. 如果您习惯Java环境中的标准SAX解析代码,那么您可以坚持使用它。 www.ibm.com 8. Later, I learned to skip the intermediate parsing and generate SAX events directly from my converter. 稍后,我学会了跳过中间解析过程并直接从转换器生成SAX事件。 www.ibm.com 9. "Now Damien feels encouraged, " Sax explained to me when I first met him last spring in San Francisco. “现在,戴安明感觉到很鼓舞”,当我上一个春天在旧金山碰到萨克斯时他这么向我解释说到。 www.bing.com 10. In SAX processing, the parser passes to the application a stream of events that represents the XML content. 在SAX处理中,解析器向应用程序传递一个代表XML内容的事件流。 www-128.ibm.com 1. The books I borrowed from the New York Public Library weren' t necessarily what you'd expect to find a young sax player reading . 出乎大家所料,我从纽约公共图书馆里借来的那些书,并非年轻萨克斯管乐手的必读书目。 www.bing.com 2. In theory, the last option should make it easier to interact with other JAXP technologies, such as SAX and DOM. 从理论上说,后一种办法很容易和其他JAXP技术交互,比如SAX和DOM。 www.ibm.com 3. Moreover, neither SAX nor DOM have particularly elegant or maintainable models for output. 而且,对于输出,无论是SAX还是DOM都没有特别灵巧或可维护的模型。 www-128.ibm.com 4. from huaihua , to be good at flute and sax , like pc and music making. 来自怀化,擅长长笛和萨克斯演奏,爱好电脑和音乐制作。 www.ichacha.net 5. With SAX, there's never a data structure to work on (unless the developer creates one manually). 换句话说,在SAX中,从不需要操作数据结构(除非开发人员手工创建)。 www.ibm.com 6. Why is SAX used in a particular situation and not DOM (or vice versa)? 为什么在某种特定情形下使用SAX而不是DOM(或者相反)? www.ibm.com 7. The first step is to get from whatever processing API that you use to SAX. 第一步是从您使用的处理API转向使用SAX。 www.ibm.com 8. A SAX filter sits between a parser and a content handler. SAX过滤器位于解析器和内容处理程序之间。 www-128.ibm.com 9. JAXP was initially intended merely to provide convenience and vendor-neutrality to SAX and DOM. 最初,JAXP的目的仅仅是向SAX和DOM提供便利性和供应商中立性。 www.ibm.com 10. Furthermore, my ultimate goal with XI is to keep it compatible with XMLReader as it is defined by SAX. 而且,我使用XI的最终目标是使它与XMLReader保持兼容,因为它是由SAX定义的。 www.ibm.com 1. SAX defines an event stream: the parser generates a series of events, passing each to a handler. SAX定义了一个事件流:解析器生成一系列事件,将每个事件传递给一个处理程序。 www.ibm.com 2. SAX 2. 0. 1 and previous versions of SAX did not report all document information. SAX2.0.1以及以前的SAX版本没有报告全部的文档信息。 www.ibm.com 3. As I'll demonstrate in this article, DOM is an excellent choice for XML handling when stream-based models (such as SAX) are not sufficient. 正如我将在本文所演示的,当基于流的模型(例如SAX)不能满足XML处理要求时,DOM是一个极佳的选择。 www.ibm.com 4. Indeed SAX does not explicitly build the document tree in memory. 实际上,SAX并不在内存中显式地构建文档树。 www.ibm.com 5. One way, of course, is to register a SAX EntityResolver on the parser (see Resources). 当然,一种办法是在解析器上注册一个SAXEntityResolver(请参阅参考资料)。 www.ibm.com 6. The syntax for the schema checking can vary slightly among different SAX parsers. 模式检查的语法可能随着不同的SAX解析器略有不同。 www-128.ibm.com 7. Experiment results show that, the efficiency is distinctly improved compared with using the method of SAX event driven. 实验结果显示,本算法的效率比使用SAX事件驱动的方法有明显的提高。 dictsearch.appspot.com 8. If you've never used SAX, it's easy enough to start now. 如果从未用过SAX,从现在开始也足够了。 www.ibm.com 9. Now Sax never made such a claim. 现在,萨克斯从来没有提出这样的要求。 hi.baidu.com 10. Then SAX automatically detects the correct character encoding from the stream. 中;然后SAX自动从流中检测正确的字符编码。 www-128.ibm.com 1. The SAX parser is essentially a giant state machine of events fired back at the developer via a series of callback methods. SAX解析器实际是由程序员对事件调用一系列回调方法的大型状态机。 www.ibm.com 2. Furthermore, the SAX filters help to modularize the conversion component, which makes it more readable and easier to maintain. 而且,SAX过滤器还帮助使转换组件模块化,这就使组件更易读和更易维护。 www.ibm.com 3. Instead it gives a series of events as it rips through the XML document. 相反,SAX解析器将在遍历XML文档时给出一系列事件。 www.ibm.com 4. And my fellow sax player, Lenny Garment, became President Nixon's lawyer. 我的萨克斯管搭裆莱尼·伽蒙特成了尼克松总统的律师。 www.bing.com 5. The traditional way to avoid these inefficiencies was to use SAX. 避免这些效率低下之处的传统方法是使用SAX。 www.ibm.com 6. The Python standard library includes support for DOM and SAX processing of XML documents. Python标准库包含对XML文档的DOM和SAX处理的支持。 www-128.ibm.com 7. In the previous paper, we gave you some general performance tips for writing SAX applications. 在上一篇文章中,我们提供了编写SAX应用程序方面的一些一般性的性能技巧。 www.ibm.com 8. While the DOM API is readable and verbose, SAX can be terse and difficult to follow, even for experienced developers. DOMAPI具有可读性但冗长,而SAX可以很简要但难于遵循,即使是对于有经验的开发人员。 www.ibm.com 9. SAX is likely familiar to those who worked with XML in PHP4, and the SAX extension in PHP5 is compatible with the version they're used to. SAX对于那些曾经在PHP4中处理过XML的人来说可能比较熟悉,PHP5中的SAX扩展与过去的版本兼容。 www.ibm.com 10. That precision will assure that any whitespace in your documents is ignored when working with APIs like SAX, DOM, and JDOM. 这种精确性可以确保在与类似SAX、DOM和JDOM这样的API一起使用时可以忽略文档中的任何空格。 www.ibm.com 1. from luoyang , to be good at flute , sax and drum group. 来自洛阳,擅长长笛萨克斯和架子鼓。 www.ichacha.net 2. The proxy can then use a simple SAX parser to retrieve this information. 代理然后可以使用一个简单SAX解析器检索信息。 www.ibm.com 3. Designing handlers using Kip Hampton's XML: : SAX: : Base involves two simple steps. 使用KipHampton的XML::SAX::Base设计处理程序只需要两个简单步骤。 www.ibm.com 4. SAX is a pain to code in; callbacks aren't very OO, and it takes a long time to get good at it. SAX编码很令人痛苦,回调不是很符合面向对象的思路,熟练掌握它又需要花很长的时间。 www.ibm.com 5. From Zhengzhou, studying flute and to be good at sax and piano. 来自郑州,正在学习长笛演奏,擅长钢琴和萨克斯。 flutefriends.com 6. SAX walks the document tree bit by bit and sends out events corresponding to the current node. SAX逐位遍历文档树并发送出与当前节点相应的事件。 www-128.ibm.com 7. And JAXP's goal was simple: to make using SAX and the DOM easier, in particular in the area of vendor neutrality. JAXP的目标非常简单:使SAX和DOM的使用更加简单,尤其是在供应商中立领域。 www.ibm.com 8. All of this often leads developers to either put JAXB down, or learn a lot more about XML, SAX, and DOM. 所有这些常常会导致开发人员将JAXB放在一旁,或者大量学习XML、SAX和DOM方面的知识。 www.ibm.com 9. Studying flute, and to be good at piano, sax and accordion. 擅长长笛,钢琴,萨克司,手风琴演奏。 www.flutefriends.com 10. SAX is an event-driven methodology for processing XML. SAX是事件驱动的XML处理方法。 www.ibm.com 1. For this example, I chose the simpler and faster SAX implementation. 对于此实例,我选择更加简单且更加快速的SAX实现。 www.ibm.com 2. Make sure that all of your tools are either SAX or SAX2: don't try to mix and match. 要保证所有的工具要么是SAX要么是SAX2,但不要混合使用。 www.ibm.com 3. SAX is a de facto standard first developed by David Megginson and now maintained by the XML-dev mailing list. SAX是由DavidMegginson最早开发的事实上的标准,现在由XML-dev邮件列表维护。 www-128.ibm.com 4. It has methods to copy an XMLObject instance to or from a standard DOM tree or SAX stream. 有一个从标准DOM树或者SAX流复制XMLObject实例的方法。 www.ibm.com 5. XMLReader, as a stream parser, is well-suited to parsing large XML documents; it is a lot easier to code than SAX and usually faster. XMLReader作为一种流解析器,非常适合解析大型XML文档,编码比SAX更简单,而且通常速度也快。 www.ibm.com 6. Instead, JAXP makes it easier to use DOM and SAX to deal with some difficult tasks. 它只是使通过DOM和SAX处理一些困难任务更容易。 www.ibm.com 7. Nonetheless, I did become a much better sax player from those sessions, which testifies to Sheiner's shrewdness as a teacher. 话虽如此,经过这样的合练,我的萨克斯管演奏水平真的好多了,这也证实希尼尔的确是当教师的料。 www.bing.com 8. To simplify work, SAX provides a default implementation for these interfaces in the DefaultHandler class. 为简化工作,SAX在DefaultHandler类中提供了这些接口的缺省实现。 www.ibm.com 9. While not a W3C project, SAX has taken its place as the de facto standard event API model. SAX虽然不是W3C项目,但它已经占有了事实上的标准事件API模型的地位。 www.ibm.com 10. The parser uses SAX interface to parse XML document and uses push mode to generate the runtime key data structure of federation execution. 该解析器采用SAX接口解析XML文档,使用推方式生成联盟运行时关键数据结构。 www.fabiao.net 1. The following examples assume that you have use of a SAX parser and are familiar with the basic mechanisms of a SAX application. 下列示例假设您已经使用了SAX语法分析器,并且十分熟悉SAX应用程序的基本机制。 www.ibm.com 2. The key to good XML-based error handling is largely tied to the SAX API, the Simple API for XML. 优秀的基于XML的错误处理的关键问题在很大程度上与SAX有关。 www.ibm.com 3. One approach to safe XML generation is sending SAX events, as Henri suggests in, "Use a tree or a stack (or an XML parser). " 正像Herni所提到的,安全创建XML的一种方法是发送SAX事件,“使用树或栈(或者XML解析器)”。 www.ibm.com 4. Different SAX parsers handle text differently. 不同的SAX解析器处理文本的方法也不同。 www-128.ibm.com 5. Describes the differences between the XmlReader class and the SAX reader. 描述XmlReader类与SAX读取器之间的差异。 msdn2.microsoft.com 6. This class wraps an underlying SAX parser (an instance of the SAX class org. xml. sax. XMLReader). 该类包装底层的SAX解析器(SAX类org.xml.sax.XMLReader的实例)。 www.ibm.com 7. This XML parser should be familiar to anyone who knows SAX parsing. 了解SAX解析的人应该都熟悉这个XML解析器。 www.ibm.com 8. The pipe flows SAX events, but you don't want events; you want a file! 管道传送SAX事件,但您不想要事件;您想要的是文件! www.ibm.com 9. When I recorded Paul playing his soprano sax it took the song to a new place. 我在录制的时候,Paul正在演奏高音萨克斯,这样,我们就将本首曲子推向一个新境地。 www.flamesky.com 10. As with any SAX implementation, most of the details are in the SAX handler. 与任何SAX实现相同,大多数细节都在SAX处理程序中。 www.ibm.com 1. from tianjin songs and dance group , professional jazz sax player. 来自天津歌舞剧院,从事专业爵士乐萨克斯。 www.ichacha.net 2. from dalian , to be good at sax and group drums. 来自大连,擅长萨克斯和架子鼓。 www.ichacha.net 3. Events in SAX are defined as methods attached to specific Java interfaces. 将SAX中的事件定义为连接到特定Java接口的方法。 www.ibm.com 4. Defines a very simple model for controlling a SAX event flow. 定义了一个十分简单的模型,用来控制SAX事件流。 www-128.ibm.com 5. From Guangzhou, to be good at flute and sax. 来自广州,擅长长笛和萨克斯。 flutefriends.com 6. Historically, push has been more popular because it was the model adopted by SAX. 从历史上看,推式方法更加流行,因为这正是SAX采用的模型。 www.ibm.com 7. A SAX parser on A flushes its data each time a block worth of source XML has been encountered. 机器A上的SAX解析器每次遇到一块XML源文件就刷新其数据。 www.ibm.com 8. Caldwell was motivated to begin doubling on tenor sax during this period. 考德威尔的动机开始就高音萨克斯在此期间增加一倍。 word.hcbus.com 9. Then we described how you can improve performance of SAX and DOM applications. 然后,我们描述了如何提高SAX和DOM应用程序的性能。 www-128.ibm.com 10. They had a bass, a sax and percussion instruments. 译他们有低音乐器、萨克斯管和打击乐器。 news.koolearn.com 1. The target parser method is familiar to developers who are comfortable with SAX event-driven code. 目标解析器方法对于熟悉SAX事件驱动代码的开发人员来说应该不陌生。 www.ibm.com 2. This will cause SAX to stop the parsing process. 这样将导致SAX终止解析过程。 www-128.ibm.com 3. In addition to the basic job of creating instances of SAX parsers, the factory lets you set configuration options. 除了创建SAX解析器实例的基本工作之外,工厂还允许设置配置选项。 www.ibm.com 4. And since SAX is strictly unidirectional, it works great on streams. 而且,由于SAX是严格单向的,因此它在流上工作得特别好。 www-128.ibm.com 5. However, the Android SDK does add some convenience features on top of SAX. 但是,AndroidSDK确实在SAX上添加了一些便捷的特性。 www.ibm.com 6. Like DOM, SAX parsers control the complete parsing process. 和DOM类似,SAX解析器也控制了整个解析过程。 www.ibm.com 7. of his monthly article to Sax. 他每月的文章萨克斯。 hi.baidu.com 8. A SAX application consists of two parts. SAX应用程序由两部分组成。 www-128.ibm.com 9. As with SAX, REXML gives the application programmer no default data structures from the XML document. 正如使用SAX一样,REXML没有向应用程序程序员提供来自XML文档的缺省数据结构。 www.ibm.com 10. Xerces-C is a very robust XML parser that offers validation, plus SAX and DOM APIs. Xerces-C 是一个非常健壮的XML解析器,它提供了验证,以及SAX和DOMAPI。 www.ibm.com 1. Listing 3 shows the code to read the books XML file and display the contents using SAX. 清单3显示了使用SAX读取图书XML文件并显示内容的代码。 www.ibm.com 2. Understanding SAX gives you a headstart on everything else you do in XML and the Java language. 对于用XML和Java语言所做的每一件事情,理解SAX会给予您一个良好的开端。 www-128.ibm.com 3. A SAX parser doesn't give back a nice document object like a DOM parser. SAX解析器并不像DOM解析器一样返回一个精密的document对象。 www.ibm.com 4. At a glance, this resembles the parsing process in SAX. 乍一看,这与SAX中的解析过程相似。 www.ibm.com 5. One option I'm considering is a DOM-to-JAXM (or SAX-to-JAXM) conversion library. 我正在考虑的一种办法是DOM-to-JAXM(或SAX-to-JAXM)转换库。 www.ibm.com 6. In fact, many developers (maybe even you) use SAX, DOM, or JDOM without even touching JAXP. 实际上,许多开发人员(可能甚至包括您)使用的都是SAX、DOM和JDOM,他们甚至还没有接触过JAXP。 www.ibm.com 7. Defines an interface to pass SAX events to an application. 定义了一个接口,可以将SAX事件传递给应用程序。 www-128.ibm.com 8. to be adepted at flute , sax and piano playing , like gym. 擅长长笛钢琴萨克斯演奏,喜欢体育。 www.ichacha.net 9. The prototype uses a SAX parser mechanism 1 coupled with the builder pattern to perform this task. 原型使用SAX解析器机制1和构造器模式来执行该任务。 www.ibm.com 10. Each event is encoded using a bytecode representation called ESAX (encoded SAX). 每个事件都通过称为ESAX(编码的SAX)的字节码表示法进行编码。 www.ibm.com 1. But the focus of the example is the use of stored information to access subdocuments using our good friend the SAX parser. 但是该示例的焦点在于存储信息的使用以用我们的好朋友SAX语法分析器来访问子文档。 www.ibm.com 2. The W3C Web site: For another view of XML supported by SAX, take a look at DOM. W3C网站:关于SAX支持XML的其他观点,看看DOM。 www.ibm.com 3. What if you do not want to use SAX at all? 如果您完全不希望使用SAX会怎样呢? www.ibm.com 4. SAX (Simple API for XML) is a common parser interface for XML parsers. SAX(XML的简单API)是XML语法分析器的公用语法分析器接口。 www.ibm.com 5. SAX is the sensible choice for non-XML-centric applications. 对于不以XML为中心的应用程序,SAX是明智的选择。 www.ibm.com 6. The basics are a lot like a SAX class. 基本部分非常类似于一个SAX类。 www.ibm.com 7. Listing 6 is a segment of an example of SAX processing of the Google Calendar events feed. 清单6是SAX处理GoogleCalendar事件摘要的示例片段。 www.ibm.com 8. SAX does very little preprocessing, so the programmer has to manage many low-level aspects. SAX几乎不做预处理,因而,程序员不得不管理很多低级别问题。 www.ibm.com 9. Without SAX, DOM, or another XML parsing API, you cannot parse XML. 没有SAX、DOM或另一个XML解析API,则无法解析XML。 www.ibm.com 10. Most methods defined by the SAX standard can throw SAXException. SAX定义的大多数方法都可以抛出SAXException。 www.ibm.com 1. The SAX flux of events properly describes the XML document. SAX事件流能正确地描述了XML文档。 www-128.ibm.com 2. I like the night, like the kind of lonely breathtaking black. I often late at night drinking beer, listening to Kenny's sax daze. 我喜欢黑夜,喜欢那种孤独的让人窒息的黑。我常常在深夜喝着啤酒听着肯尼吉的萨克斯发呆。 qzblog.zxmxd.com 3. First, extending SAXException ties your custom exception to SAX. 首先,扩展SAXException就将自定义异常绑定到SAX。 www.ibm.com 4. to be adepted at sax and drum , like flute and guitar. 擅长萨克斯和架子鼓,爱好长笛和吉他。 www.ichacha.net 5. The InputSource class is part of the SAX specification, and it can adapt any of several forms of input for use by a SAX parser. InputSource类是SAX规范的一部分,它能适应供SAX分析器使用的几种输入形式的任何之一。 www.ibm.com 6. Note that you'll need to use the -deprecation option as the generated files uses SAX 1. 0 APIs. 注意,当生成的文件使用SAX1.0API时,您将需要使用-deprecation选项。 www.ibm.com 7. SAX is already fast, and SAX filters add some flexibility. SAX的速度已经很快了,而SAX过滤器又增加了一些灵活性。 www-128.ibm.com 8. Listing 1 is convenient for a SAX parser because the information is stored as attributes of price elements. 清单1对于SAX语法分析器是很方便的,因为它将信息存储为价格元素的属性。 www.ibm.com 9. NamespaceSupport is a SAX-defined class to process namespaces. NamespaceSupport是一个由SAX定义的、处理名称空间的类。 www.ibm.com 10. The following section gives you more information on the main SAX interfaces. 下面一节为您提供关于主要SAX接口的更多信息。 www.ibm.com |
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。