sax

sax

美 [sæks]  英 [sæks]

  • n.〈英〉同“six”;石板瓦工用的鑿刀
  • 網絡簡單應用程序接口(Simple API for XML);薩克斯(Saxophone);薩克斯風

詞形變化

復數:saxes  

英漢雙解

— see also saxophone

英漢解釋

n.
1.
〈英〉同“six”
2.
〈俚〉同“saxophone”
3.
石板瓦工用的鑿刀

英英解釋

n.

例句

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目標SAXDOM代碼移除一些特定供應商信息涉及到使用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使用各種接口實現gettersetter方法

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仍然受益SAXDOM之間輕易轉換不過對于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.

讀者可能基于XMLSAX風格程序比較熟悉

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位于SAXDOM之上允許Java程序員執行開發商中立XML解析

熱門查詢