sax
n. (Sax)人名;(英、法、德、瑞典)萨克斯
n. 萨克斯管(等于saxophone);石板斧
2026-03-22 07:52 浏览次数 16
n. (Sax)人名;(英、法、德、瑞典)萨克斯
n. 萨克斯管(等于saxophone);石板斧
Sax Doctor撒克斯大夫
Doctor SaxDoctor Sax (Doctor Sax: Faust Part Three) is a novel by Jack Kerouac published in 1959. Kerouac wrote it in 1952 while living with William S.
En sax一个剪刀
Bass Sax低音萨克斯
Emil SaxEmil Sax (February 8, 1845 – March 25, 1927) was an Austrian economist from Javorník, Austrian Silesi
Sax Hostel萨克斯旅馆
Sax Ver只有你
saxophone萨克斯管
Jazz Sax爵士萨克斯管
YAKETY SAX"Yakety Sax" is a pop-jazz instrumental music composition composed by James Q. "Spider" Rich and Homer "Boots" Randolph III and popularized by saxophonist Randolph in his 1963 recording.
in general, you can best use sax in scenarios where memory is a concern, when an application has to process large documents, or create its own representation in memory (other than dom).
通常,如果内存不充裕,而应用程序必须处理较大的文档,或者要在内存中创建自己的表示,那么您最好使用sax(而不是dom)。
in this article, we explain which sax or dom operations and features may affect the performance of your application, and describe how to write your application for the best performance.
在本文中,我们将解释哪些sax或dom操作和特性会影响应用程序的性能,并描述如何编写性能最佳的应用程序。
as with the sax and dom factory classes, one exception handles requested -- but unsupported -- features, and another exception handles instantiation errors.
对于sax和dom工厂类,一个异常处理已请求的但不受支持的特性,另一个异常处理实例化错误。
furthermore, as already discussed, sax consumes fewer resources than dom, simply because it does not need to build the document tree.
而且,正如我们已讨论的,sax比dom消耗的资源要少,这只是因为它不需要构建文档树。
but it's also a handler, one that can deal with any standard sax event simply by switching hats, taking on its parser role, and passing the event on to the next handler.
但同时也是一个处理程序,在承担解析器角色的同时,也能通过开关帽子处理任何标準sax事件,并把事件传递给下一个处理程序。
the original document remains untouched, but sax provides the means for manipulating the data, which can then be directed to another process or document.
原始的文档仍然保持原样,但是sax提供了操作数据的手段,因此数据可以用于另一个进程或文档。
while i appreciate the power and flexibility of sax parsers, i have also found that they require lots of tedious coding to track where the parser is in the document.
在我欣赏sax解析器的功能和灵活性的同时,我也发现它们需要进行大量冗长乏味的编码以跟蹤解析器在文档中的位置。
in order to conform to the sax api, the parser must iterate over the set of attributes to remove any namespace declarations, even when no namespace declarations have been specified on the start tag.
为了与saxapi一致,解析器必须遍历所有的属性来删除名称空间声明,即使在起始标签中没有指定名称空间声明,它也会这样做。
now, if you follow the method in listing 3, your sax code can hum along without even having to be recompiled, using different parser implementations as needed.
现在,如果使用「清单3」中的方法,那么sax代码甚至不必进行重新编译就能运行,并根据需要使用不同的语法分析器实现。
sax 2.0 provides this information to the developer, dramatically simplifying the process of carrying out these programming tasks.
sax2.0为开发人员提供了这种信息,从而极大简化了执行这些编程任务的过程。
for this example, i chose the simpler and faster sax implementation.
对于此实例,我选择更加简单且更加快速的sax实现。
he had worked as a fisherman for many years, but once long ago he may, or may not, have played the tenor sax in a dance band in istanbul. it was hard to know exactly what he was trying to tell me.
纳希打了很多年的鱼,但是在很久以前,他也许在伊斯坦布尔的一个舞厅乐队里吹过高音萨克斯管,但我不能确定,因为很难听得懂他到底对我说了些什么。
sax defines many other events, but those are the main ones.
sax 还定义很多其它事件,但这三个是最主要的。
in particular, a significant portion of a sax event handler is devoted to tracking how far the parser has gone in the document.
尤其是sax事件处理程序特别重要的一部分是致力于跟蹤解析器已在文档中的执行程度。
while jdom has a well-known, standard way of handling various parsers, and dom has no facility for this at all prior to the dom level 3 version, sax remains a bit of a mystery to many developers.
虽然jdom拥有一种着名的处理各种语法分析器的标準方法,而且dom在版本3之前根本没有这种功能,但是对于许多开发人员来说,sax仍显得有点神秘。
simply put, a filter is a sax event handler that passes the events it receives to another event handler.
简单地说,过滤器是将接收到的事件传送给另一个事件处理程序的sax事件处理程序。
what if you do not want to use sax at all?
如果您完全不希望使用sax会怎样呢?
the sax tools you use might not do all the necessary well-formedness checking.
使用的sax工具不一定要进行所有必要的结构良好性检查。
but the focus of the example is the use of stored information to access subdocuments using our good friend the sax parser.
但是该示例的焦点在于存储信息的使用以用我们的好朋友sax语法分析器来访问子文档。
at any time during a parse, it is possible to register a new content handler, as stated in the sax specification.
正如sax规范中所说的那样,在解析过程中的任意时刻,都可以注册一个新的内容处理程序。
then we described how you can improve performance of sax and dom applications.
然后,我们描述了如何提高sax和dom应用程序的性能。