亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? xmlserializer.java

?? < JavaME核心技術(shù)最佳實踐>>的全部源代碼
?? JAVA
字號:
package org.xmlpull.v1;import java.io.IOException;import java.io.OutputStream;import java.io.Writer;/** * Define an interface to serialziation of XML Infoset. * This interface abstracts away if serialized XML is XML 1.0 comaptible text or * other formats of XML 1.0 serializations (such as binary XML for example with WBXML). * * <p><b>PLEASE NOTE:</b> This interface will be part of XmlPull 1.2 API. * It is included as basis for discussion. It may change in any way. * * <p>Exceptions that may be thrown are: IOException or runtime exception * (more runtime exceptions can be thrown but are not declared and as such * have no semantics defined for this interface): * <ul> * <li><em>IllegalArgumentException</em> - for almost all methods to signal that *     argument is illegal * <li><em>IllegalStateException</em> - to signal that call has good arguments but *     is not expected here (violation of contract) and for features/properties *    when requesting setting unimplemented feature/property *    (UnsupportedOperationException would be better but it is not in MIDP) *  </ul> * * <p><b>NOTE:</b> writing  CDSECT, ENTITY_REF, IGNORABLE_WHITESPACE, *  PROCESSING_INSTRUCTION, COMMENT, and DOCDECL in some implementations * may not be supported (for example when serializing to WBXML). * In such case IllegalStateException will be thrown and it is recommened * to use an optional feature to signal that implementation is not * supporting this kind of output. */public interface XmlSerializer {        /**     * Set feature identified by name (recommended to be URI for uniqueness).     * Some well known optional features are defined in     * <a href="http://www.xmlpull.org/v1/doc/features.html">     * http://www.xmlpull.org/v1/doc/features.html</a>.     *     * If feature is not recocgnized or can not be set     * then IllegalStateException MUST be thrown.     *     * @exception IllegalStateException If the feature is not supported or can not be set     */    void setFeature(String name,                           boolean state)        throws IllegalArgumentException, IllegalStateException;            /**     * Return the current value of the feature with given name.     * <p><strong>NOTE:</strong> unknown properties are <strong>always</strong> returned as null     *     * @param name The name of feature to be retrieved.     * @return The value of named feature.     * @exception IllegalArgumentException if feature string is null     */    boolean getFeature(String name);            /**     * Set the value of a property.     * (the property name is recommened to be URI for uniqueness).     * Some well known optional properties are defined in     * <a href="http://www.xmlpull.org/v1/doc/properties.html">     * http://www.xmlpull.org/v1/doc/properties.html</a>.     *     * If property is not recocgnized or can not be set     * then IllegalStateException MUST be thrown.     *     * @exception IllegalStateException if the property is not supported or can not be set     */    void setProperty(String name,                            Object value)        throws IllegalArgumentException, IllegalStateException;        /**     * Look up the value of a property.     *     * The property name is any fully-qualified URI. I     * <p><strong>NOTE:</strong> unknown properties are <string>always</strong> returned as null     *     * @param name The name of property to be retrieved.     * @return The value of named property.     */    Object getProperty(String name);        /**     * Set to use binary output stream with given encoding.     */    void setOutput (OutputStream os, String encoding)        throws IOException, IllegalArgumentException, IllegalStateException;        /**     * Set the output to the given writer.     * <p><b>WARNING</b> no information about encoding is available!     */    void setOutput (Writer writer)        throws IOException, IllegalArgumentException, IllegalStateException;        /**     * Write &lt;&#63;xml declaration with encoding (if encoding not null)     * and standalone flag (if standalone not null)     * This method can only be called just after setOutput.     */    void startDocument (String encoding, Boolean standalone)        throws IOException, IllegalArgumentException, IllegalStateException;        /**     * Finish writing. All unclosed start tags will be closed and output     * will be flushed. After calling this method no more output can be     * serialized until next call to setOutput()     */    void endDocument ()        throws IOException, IllegalArgumentException, IllegalStateException;        /**     * Binds the given prefix to the given namespace.     * This call is valid for the next element including child elements.     * The prefix and namespace MUST be always declared even if prefix     * is not used in element (startTag() or attribute()) - for XML 1.0     * it must result in declaring <code>xmlns:prefix='namespace'</code>     * (or <code>xmlns:prefix="namespace"</code> depending what character is used     * to quote attribute value).     *     * <p><b>NOTE:</b> this method MUST be called directly before startTag()     *   and if anything but startTag() or setPrefix() is called next there will be exception.     * <p><b>NOTE:</b> prefixes "xml" and "xmlns" are already bound     *   and can not be redefined see:     * <a href="http://www.w3.org/XML/xml-names-19990114-errata#NE05">Namespaces in XML Errata</a>.     * <p><b>NOTE:</b> to set default namespace use as prefix empty string.     *     * @param prefix must be not null (or IllegalArgumentException is thrown)     * @param namespace must be not null     */    void setPrefix (String prefix, String namespace)        throws IOException, IllegalArgumentException, IllegalStateException;        /**     * Return namespace that corresponds to given prefix     * If there is no prefix bound to this namespace return null     * but if generatePrefix is false then return generated prefix.     *     * <p><b>NOTE:</b> if the prefix is empty string "" and defualt namespace is bound     * to this prefix then empty string ("") is returned.     *     * <p><b>NOTE:</b> prefixes "xml" and "xmlns" are already bound     *   will have values as defined     * <a href="http://www.w3.org/TR/REC-xml-names/">Namespaces in XML specification</a>     */    String getPrefix (String namespace, boolean generatePrefix)        throws IllegalArgumentException;        /**     * Returns the current depth of the element.     * Outside the root element, the depth is 0. The     * depth is incremented by 1 when startTag() is called.     * The depth is decremented after the call to endTag()     * event was observed.     *     * <pre>     * &lt;!-- outside --&gt;     0     * &lt;root&gt;               1     *   sometext                 1     *     &lt;foobar&gt;         2     *     &lt;/foobar&gt;        2     * &lt;/root&gt;              1     * &lt;!-- outside --&gt;     0     * </pre>     */    int getDepth();        /**     * Returns the namespace URI of the current element as set by startTag().     *     * <p><b>NOTE:</b> that measn in particaulr that: <ul>     * <li>if there was startTag("", ...) then getNamespace() returns ""     * <li>if there was startTag(null, ...) then getNamespace() returns null     * </ul>     *     * @return namespace set by startTag() that is currently in scope     */    String getNamespace ();        /**     * Returns the name of the current element as set by startTag().     * It can only be null before first call to startTag()     * or when last endTag() is called to close first startTag().     *     * @return namespace set by startTag() that is currently in scope     */    String getName();        /**     * Writes a start tag with the given namespace and name.     * If there is no prefix defined for the given namespace,     * a prefix will be defined automatically.     * The explicit prefixes for namespaces can be established by calling setPrefix()     * immediately before this method.     * If namespace is null no namespace prefix is printed but just name.     * If namespace is empty string then serialzier will make sure that     * default empty namespace is declared (in XML 1.0 xmlns='')     * or throw IllegalStateException if default namespace is already bound     * to non-empty string.     */    XmlSerializer startTag (String namespace, String name)        throws IOException, IllegalArgumentException, IllegalStateException;        /**     * Write an attribute. Calls to attribute() MUST follow a call to     * startTag() immediately. If there is no prefix defined for the     * given namespace, a prefix will be defined automatically.     * If namespace is null or empty string     * no namespace prefix is printed but just name.     */    XmlSerializer attribute (String namespace, String name, String value)        throws IOException, IllegalArgumentException, IllegalStateException;        /**     * Write end tag. Repetition of namespace and name is just for avoiding errors.     * <p><b>Background:</b> in kXML endTag had no arguments, and non matching tags were     *  very difficult to find...     * If namespace is null no namespace prefix is printed but just name.     * If namespace is empty string then serialzier will make sure that     * default empty namespace is declared (in XML 1.0 xmlns='').     */    XmlSerializer endTag (String namespace, String name)        throws IOException, IllegalArgumentException, IllegalStateException;            //    /**    //     * Writes a start tag with the given namespace and name.    //     * <br />If there is no prefix defined (prefix == null) for the given namespace,    //     * a prefix will be defined automatically.    //     * <br />If explicit prefixes is passed (prefix != null) then it will be used    //      *and namespace declared if not already declared or    //     * throw IllegalStateException the same prefix was already set on this    //     * element (setPrefix()) and was bound to different namespace.    //     * <br />If namespace is null then prefix must be null too or IllegalStateException is thrown.    //     * <br />If namespace is null then no namespace prefix is printed but just name.    //     * <br />If namespace is empty string then serializer will make sure that    //     * default empty namespace is declared (in XML 1.0 xmlns='')    //     * or throw IllegalStateException if default namespace is already bound    //     * to non-empty string.    //     */    //    XmlSerializer startTag (String prefix, String namespace, String name)    //        throws IOException, IllegalArgumentException, IllegalStateException;    //    //    /**    //     * Write an attribute. Calls to attribute() MUST follow a call to    //     * startTag() immediately.    //     * <br />If there is no prefix defined (prefix == null) for the given namespace,    //     * a prefix will be defined automatically.    //     * <br />If explicit prefixes is passed (prefix != null) then it will be used    //     * and namespace declared if not already declared or    //     * throw IllegalStateException the same prefix was already set on this    //     * element (setPrefix()) and was bound to different namespace.    //     * <br />If namespace is null then prefix must be null too or IllegalStateException is thrown.    //     * <br />If namespace is null then no namespace prefix is printed but just name.    //     * <br />If namespace is empty string then serializer will make sure that    //     * default empty namespace is declared (in XML 1.0 xmlns='')    //     * or throw IllegalStateException if default namespace is already bound    //     * to non-empty string.    //     */    //    XmlSerializer attribute (String prefix, String namespace, String name, String value)    //        throws IOException, IllegalArgumentException, IllegalStateException;    //    //    /**    //     * Write end tag. Repetition of namespace, prefix, and name is just for avoiding errors.    //     * <br />If namespace or name arguments are different from corresponding startTag call    //     * then IllegalArgumentException is thrown, if prefix argument is not null and is different    //     * from corresponding starTag then IllegalArgumentException is thrown.    //     * <br />If namespace is null then prefix must be null too or IllegalStateException is thrown.    //     * <br />If namespace is null then no namespace prefix is printed but just name.    //     * <br />If namespace is empty string then serializer will make sure that    //     * default empty namespace is declared (in XML 1.0 xmlns='').    //     * <p><b>Background:</b> in kXML endTag had no arguments, and non matching tags were    //     *  very difficult to find...</p>    //     */    // ALEK: This is really optional as prefix in end tag MUST correspond to start tag but good for error checking    //    XmlSerializer endTag (String prefix, String namespace, String name)    //        throws IOException, IllegalArgumentException, IllegalStateException;        /**     * Writes text, where special XML chars are escaped automatically     */    XmlSerializer text (String text)        throws IOException, IllegalArgumentException, IllegalStateException;        /**     * Writes text, where special XML chars are escaped automatically     */    XmlSerializer text (char [] buf, int start, int len)        throws IOException, IllegalArgumentException, IllegalStateException;        void cdsect (String text)        throws IOException, IllegalArgumentException, IllegalStateException;    void entityRef (String text)  throws IOException,        IllegalArgumentException, IllegalStateException;    void processingInstruction (String text)        throws IOException, IllegalArgumentException, IllegalStateException;    void comment (String text)        throws IOException, IllegalArgumentException, IllegalStateException;    void docdecl (String text)        throws IOException, IllegalArgumentException, IllegalStateException;    void ignorableWhitespace (String text)        throws IOException, IllegalArgumentException, IllegalStateException;        /**     * Write all pending output to the stream.     * If method startTag() or attribute() was called then start tag is closed (final &gt;)     * before flush() is called on underlying output stream.     *     * <p><b>NOTE:</b> if there is need to close start tag     * (so no more attribute() calls are allowed) but without flushinging output     * call method text() with empty string (text("")).     *     */    void flush ()        throws IOException;    }

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久综合狠狠综合久久综合88| 亚洲人成在线观看一区二区| 国产午夜精品一区二区三区嫩草| 久久欧美中文字幕| 国产精品美女www爽爽爽| 亚洲美女视频在线观看| 秋霞电影一区二区| 国产精品资源网站| 91国偷自产一区二区开放时间| 欧美人xxxx| 中文字幕中文字幕一区二区| 亚洲综合自拍偷拍| 国产风韵犹存在线视精品| 一本色道综合亚洲| 久久久高清一区二区三区| 亚洲精品乱码久久久久久日本蜜臀| 亚洲电影激情视频网站| 国产大陆精品国产| 欧美一区二区精品在线| 中文字幕免费不卡| 老司机免费视频一区二区三区| 99在线视频精品| 2021中文字幕一区亚洲| 亚洲一区免费在线观看| 高清成人免费视频| 欧美岛国在线观看| 亚洲高清免费一级二级三级| 国产 欧美在线| 久久久久久久精| 老司机午夜精品99久久| 欧美精品乱码久久久久久按摩| 国产精品美女www爽爽爽| 国产一区二区三区四区在线观看 | 26uuu精品一区二区三区四区在线| 国产精品久久看| 成人免费视频视频| 久久久久久97三级| 国产在线精品免费| 精品入口麻豆88视频| 蜜桃视频在线一区| 日韩视频一区二区| 久久99最新地址| www一区二区| 国产成人av影院| 中文字幕欧美三区| hitomi一区二区三区精品| **网站欧美大片在线观看| 丁香桃色午夜亚洲一区二区三区| 日韩免费性生活视频播放| 激情综合色播五月| 久久色.com| 99re热这里只有精品视频| 中文字幕人成不卡一区| 欧美日韩一区二区三区在线看| 亚洲国产精品自拍| 精品国产免费人成电影在线观看四季| 国产在线视频一区二区三区| 国产女人aaa级久久久级| 91在线视频播放地址| 偷拍一区二区三区| 久久久亚洲精华液精华液精华液 | 懂色av中文一区二区三区| 亚洲欧美精品午睡沙发| 日韩欧美国产不卡| gogo大胆日本视频一区| 亚洲国产一区二区三区| 欧美一区二区福利视频| 国v精品久久久网| 欧美aⅴ一区二区三区视频| 日韩欧美国产wwwww| 99re亚洲国产精品| 男女男精品网站| 国产精品日日摸夜夜摸av| 欧美在线观看视频一区二区 | 日韩欧美一二三四区| 国产不卡一区视频| 性欧美疯狂xxxxbbbb| 2020国产精品久久精品美国| 成人午夜视频福利| 日韩中文字幕区一区有砖一区| 久久综合色播五月| 91官网在线观看| 国产精品1区2区3区| 亚洲丶国产丶欧美一区二区三区| 国产精品免费aⅴ片在线观看| 7777女厕盗摄久久久| 色综合咪咪久久| 国产福利一区二区三区在线视频| 亚洲国产成人porn| 成人欧美一区二区三区在线播放| 在线视频国产一区| 麻豆成人久久精品二区三区红| 三级成人在线视频| 亚洲制服丝袜在线| 亚洲免费av在线| 亚洲丝袜美腿综合| **欧美大码日韩| 中文字幕欧美国产| 日韩女优av电影在线观看| 欧美日韩一区高清| 欧洲在线/亚洲| 97se狠狠狠综合亚洲狠狠| 国产精品综合av一区二区国产馆| 日韩有码一区二区三区| 午夜电影一区二区三区| 亚洲成a人在线观看| 亚洲国产成人91porn| 亚洲午夜激情av| 亚洲成年人影院| 亚洲成人av资源| 秋霞av亚洲一区二区三| 美女网站一区二区| 国产福利一区二区| 色偷偷久久一区二区三区| 色悠悠久久综合| 欧美二区三区91| 精品国产免费一区二区三区香蕉| 久久―日本道色综合久久| 国产精品视频看| 一区二区三区中文免费| 久久99精品国产91久久来源| 免费观看91视频大全| 成人午夜伦理影院| 欧美日韩午夜影院| 精品国产1区二区| 中文字幕在线不卡一区二区三区| 亚洲另类中文字| 久久99久国产精品黄毛片色诱| 成人高清av在线| 91精品国产品国语在线不卡| 久久精品免视看| 首页综合国产亚洲丝袜| 国产成人鲁色资源国产91色综| 91无套直看片红桃| 久久久久一区二区三区四区| 一区二区三区在线视频播放| 亚洲一区二区视频在线| 国产精品一区一区| 在线电影一区二区三区| 中文字幕 久热精品 视频在线| 日产欧产美韩系列久久99| 色噜噜夜夜夜综合网| 2021国产精品久久精品| 日韩精品每日更新| 99国产精品视频免费观看| 久久免费偷拍视频| 婷婷国产在线综合| 一本一本久久a久久精品综合麻豆| 欧美一级在线免费| 亚洲一区二区三区四区不卡| 国产白丝精品91爽爽久久| 日韩一区二区在线播放| 午夜精品成人在线| 在线亚洲一区二区| 亚洲欧美一区二区三区极速播放| 久久99精品久久久久久动态图| 7777女厕盗摄久久久| 午夜精品视频一区| 日韩视频一区二区三区在线播放| 亚洲成人第一页| 在线观看91精品国产麻豆| 视频一区在线播放| 精品国产一二三| 麻豆国产一区二区| 久久一留热品黄| 国产精品一区二区无线| 中文字幕电影一区| av中文字幕一区| 中文字幕不卡一区| 欧美中文一区二区三区| 亚洲高清不卡在线观看| 欧美一区二区播放| 国产尤物一区二区在线| 国产三级欧美三级日产三级99 | 国产精品欧美极品| 95精品视频在线| 亚洲综合网站在线观看| 日韩欧美在线网站| 成人黄动漫网站免费app| 一区二区三区四区蜜桃| 欧美一级爆毛片| 91丨九色丨黑人外教| 久久精品国产亚洲一区二区三区 | 欧美亚洲综合久久| 精品一区二区三区免费| 久久影院午夜片一区| 欧美日韩高清影院| 国产成人午夜视频| 亚洲午夜日本在线观看| 2024国产精品| 欧美日韩三级一区| 色呦呦国产精品| 国产精品综合网| 另类调教123区| 国产精品无遮挡| 精品国产人成亚洲区| 欧美日韩免费一区二区三区 | 欧美三区在线观看| 国产999精品久久久久久| 夜夜揉揉日日人人青青一国产精品 |