sax
美 [sæks]
英 [sæks] 
- n.〈英〉同“six”;石板瓦工用的鑿刀
- 網絡簡單應用程序接口(Simple API for XML);薩克斯(Saxophone);薩克斯風
詞形變化
復數:saxes
英漢雙解
— see also
saxophone
英漢解釋
英英解釋
例句
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允許您在讀取文檔時處理它,從而不必等待整個文檔被存儲之后才采取操作。
Most parsers that implement the DOM provide at least a vendor-specific means of access to an underlying SAX parser.
很多實現DOM的解析器至少提供一個供應商專用的方法來訪問一個底層SAX解析器。
An alternate implementation of this program might be more efficient if it used the SAX parsing method, rather than DOM.
這個程序的另一個實現可嫩更有效,如果使用SAX解析方法而不是DOM。
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,但是如果它提供了,則必須在任何其它事件之前激活該事件。
It's also easy to register with SAX, so handling errors is just a few lines of code away.
它可以很容易地注冊SAX,處理錯誤時只需要幾行代碼。
Parsing of XML data is often done with a SAX-style parser.
XML數據解析通常是使用一個SAX風格的解析器完成的。
Holding a newspaper frees you to express yourself, sort of like holding a sax did for Coltrane.
拿著報紙你就有機會表達自己,就像庫特拉尼拿著薩克斯風那樣。
Because Jeffrey Sax, and you know Jeffrey Sax, highly- respected economist, said -- let me address that tax issue.
因為,JeffreySax是一位非常受人尊敬的經濟學家,他說——讓我來解決稅收問題。
As you know from A brief history lesson, when you work with SAX, your first step is to create a new SAXParserFactory.
通過簡要的歷史回顧您知道,使用SAX的第一步是創建新的SAXParserFactory。
As you know, SAX parsing requires you to write a ContentHandler that processes parser events.
您知道,SAX語法分析要求您編寫處理語法分析器事件的ContentHandler。
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.
一天早晨,大概有十點來鐘吧,我正披著件長袍在屋中坐著,我聽見院中有點腳步聲。
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解析器)。
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沒有經過官方標準機構的認可,但是它被廣泛使用并被視為事實上的標準。
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的系統。
But a combined Singaporean and Australian exchange -- call it SAX -- does create a new attraction that could make up for it.
但如果有一個“新加坡-澳大利亞交易所”誕生(姑且稱為“新澳所”),則會形成一種新的吸引力,從而有可能彌補這個劣勢。
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。
Sax: God, I turn out to be such a damsel in distress.
哦,天哪,我竟然成為了一個如此悲慘的女人。
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可以拋棄暫時不在范圍中的文檔部分,這使得它更高效。
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有關的錯誤處理了。
SAX -- like the parser modules it provides an API for -- is essentially a sequential processor of an XML document.
SAX--如同它提供的語法分析器模塊的API--基本上是一個XML文檔的順序處理器。
Soprano voice ; soprano sax; the boy still had a fine treble voice; the treble clef .
高音;高音薩克斯管;這個男孩仍舊有極好的高音;高音譜號。
SAX, as you may know, is an event-oriented programming API for parsing XML documents.
正如您可能知道的,SAX是一個用于解析XML文檔的面向事件的編程API。
Through SAX events, your application listens to the flow of the document and, supposedly, generates the appropriate response.
通過SAX事件,應用程序偵聽文檔流,并且按照需要生成相應的響應。
Instead , SAX is mostly just a way to save memory while extracting data from an XML document .
反而,主要將SAX作為從XML文檔抽取數據時節省內存的一種方法。
The next step is to implement the getter and setter methods for the various interfaces that SAX uses.
下一步就是為SAX使用的各種接口實現getter和setter方法。
Being able to reuse SAX handler is great, but it is a somewhat complicated piece of code.
能夠重用SAX處理程序是非常不錯的,但其代碼稍微有些復雜。
At any time during a parse, it is possible to register a new content handler, as stated in the SAX specification.
正如SAX規范中所說的那樣,在解析過程中的任意時刻,都可以注冊一個新的內容處理程序。
If you do this, you get a few special techniques that the SAX interface does not provide.
如果這樣做,您就能獲得SAX界面并不提供的一些特殊技巧。
Then the SAX parsing is handled manually with the returned handler as the means of dealing with content.
然后,使用返回的處理程序手動處理SAX解析,對內容進行處理。
Because SAX is event driven, you'll want to be notified of, and react to, any errors that occur during validation.
因為SAX是由事件驅動的,所以您需要在驗證期間發生任何錯誤的時候得到通知,并對它作出反應。
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社區來說將會是一個很大的欣喜。
En. The implementation of a SAX filter in most object-based SAX systems is as a specialized handler class.
大多數基于對象的SAX系統中的SAX過濾器實現都是作為專門的處理程序類。
When a SAX parsing process runs across this entity reference, it has to resolve the entity into another piece of content.
當SAX解析過程運行到該實體引用時,它必須將該實體解析成另一段內容。
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的概念,從而能采用本文中的一些建議。
SAX filters allow you to construct complex XML processing behaviors from simple, independent modules.
SAX過濾器允許您從簡單的獨立模塊構造復雜的XML處理。
At a more macroscopic level, an entire Saxon transformation can also be manipulated as a SAX filter.
從更宏觀的角度看,整個Saxon轉換還可以當作SAX過濾器來進行操作。
The SAX parser, the document handler, and the external classes for the other elements do not need any changes.
SAX解析器、文檔處理程序以及用于其他元素的外部類都不需要作任何修改。
Readers may be familiar with the XML equivalents based around the SAX-style libraries.
讀者可能對基于XML的SAX風格的程序庫比較熟悉。
The SAX programmer writes callback method implementations that are the snippets of code executed upon these various event occurrences.
SAX程序員編寫回調方法實現它們,是在發生這些各種事件時執行的代碼片段。
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解析。