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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xmlserializer.java

?? 一個不錯的WML瀏覽器
?? 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;    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品麻豆一区二区| 制服丝袜日韩国产| 中文字幕一区二区三区精华液 | 亚洲欧美日韩一区| 91视频一区二区| 亚洲成人激情社区| 日韩精品一区二区三区四区 | 色欧美片视频在线观看| 亚洲综合色丁香婷婷六月图片| 欧美日韩一区小说| 六月丁香综合在线视频| 国产视频在线观看一区二区三区| 成人精品鲁一区一区二区| 一区二区在线观看视频| 欧美老人xxxx18| 国产一区在线精品| 亚洲特黄一级片| 欧美精品 国产精品| 国产一区在线观看视频| 亚洲精品自拍动漫在线| 欧美日韩国产综合草草| 精品在线观看免费| 亚洲欧美日韩国产手机在线| 欧美日韩亚洲另类| 国产一二精品视频| 亚洲激情图片一区| 日韩精品综合一本久道在线视频| 成人免费高清在线观看| 午夜精品久久久久久久蜜桃app| 久久综合色综合88| 在线观看不卡视频| 国产乱理伦片在线观看夜一区| 亚洲免费毛片网站| 久久伊人蜜桃av一区二区| 色久综合一二码| 国产一区二区三区不卡在线观看 | 不卡的电影网站| 五月天久久比比资源色| 欧美激情一区二区在线| 在线成人av影院| 成人动漫av在线| 久久国产生活片100| 亚洲激情图片qvod| 久久久久免费观看| 欧美一区二区三区爱爱| 91福利在线导航| 国产精品一区一区| 蜜臀av一区二区| 亚洲激情中文1区| 国产欧美日韩视频在线观看| 在线播放国产精品二区一二区四区| 成人高清视频免费观看| 韩国女主播一区二区三区| 亚洲chinese男男1069| **欧美大码日韩| 国产亲近乱来精品视频| 欧美一区二区福利视频| 欧洲av一区二区嗯嗯嗯啊| voyeur盗摄精品| 国产成人免费av在线| 久久精品久久99精品久久| 亚洲第一二三四区| 亚洲精品久久久蜜桃| 亚洲欧洲一区二区在线播放| 久久综合九色综合欧美亚洲| 欧美一区二区三区日韩视频| 欧美日韩夫妻久久| 在线观看一区二区精品视频| 色吧成人激情小说| 色八戒一区二区三区| 91啪在线观看| 色嗨嗨av一区二区三区| 色一区在线观看| 色婷婷亚洲精品| 色婷婷精品大在线视频 | 在线国产电影不卡| 色欧美片视频在线观看在线视频| 99re热这里只有精品视频| 成人av网在线| 91丨九色丨国产丨porny| 91在线porny国产在线看| gogo大胆日本视频一区| 91蝌蚪porny成人天涯| 99re视频精品| 欧美综合一区二区三区| 欧美中文字幕一区二区三区| 欧美三级视频在线观看| 欧美丰满少妇xxxxx高潮对白 | 精品国产一区二区三区av性色| 日韩欧美在线影院| 欧美精品一区二区久久久| 久久久亚洲综合| 中文字幕不卡的av| 亚洲精品免费看| 三级久久三级久久久| 久久99这里只有精品| 国产一区亚洲一区| 91在线无精精品入口| 欧美亚洲图片小说| 日韩欧美激情在线| 国产日韩综合av| 一区二区三区在线观看国产| 亚洲va韩国va欧美va| 精品一区二区三区av| 国产成人福利片| 欧美影片第一页| 日韩女优电影在线观看| 久久久久久久av麻豆果冻| 18涩涩午夜精品.www| 亚洲一区二区三区三| 麻豆久久一区二区| aaa欧美大片| 欧美一区二区三区播放老司机| 久久久久久久久久久黄色| 亚洲精品网站在线观看| 日产国产欧美视频一区精品| 国产成人在线影院| 欧美性大战久久久久久久蜜臀 | 国产欧美日韩一区二区三区在线观看| 1024精品合集| 另类欧美日韩国产在线| www.爱久久.com| 日韩欧美自拍偷拍| 一区二区视频在线看| 美女视频黄久久| 日本丰满少妇一区二区三区| 日韩精品影音先锋| 一区二区不卡在线视频 午夜欧美不卡在| 免费在线一区观看| 色综合中文字幕国产 | 欧美一级欧美三级| 亚洲女同一区二区| 国产精品羞羞答答xxdd| 欧美日韩一区二区三区免费看| 久久午夜免费电影| 日本中文在线一区| 91福利国产成人精品照片| 久久精品亚洲一区二区三区浴池| 亚洲成人激情av| 色婷婷精品大视频在线蜜桃视频| 久久综合色播五月| 日韩国产欧美在线观看| 99re热视频精品| 国产精品视频免费| 风间由美中文字幕在线看视频国产欧美| 在线观看91av| 亚洲高清不卡在线| 欧洲视频一区二区| 亚洲久草在线视频| 99久久精品一区二区| 精品国免费一区二区三区| 一区二区三区蜜桃| 国产成人在线视频网址| 欧美午夜寂寞影院| 一区精品在线播放| 国产精品123区| 日韩一区二区影院| 日本欧美肥老太交大片| 色婷婷亚洲精品| 国产精品美女久久久久久久 | 成人激情免费网站| 久久综合五月天婷婷伊人| 午夜av一区二区三区| 成人高清视频在线| 国产日韩欧美电影| 亚洲成人777| 国模一区二区三区白浆| 91精品免费在线观看| 亚洲成精国产精品女| av在线一区二区| 国产精品视频在线看| 国产suv精品一区二区883| 337p粉嫩大胆噜噜噜噜噜91av| 亚洲国产成人av| 欧美视频在线不卡| 国产精品蜜臀av| 成人永久aaa| 日韩三级免费观看| 日本不卡的三区四区五区| 在线视频国内自拍亚洲视频| 一区二区三区在线视频播放| 国产一区二区久久| 久久综合久色欧美综合狠狠| 免费成人结看片| 91精品国产综合久久香蕉麻豆 | 国产精品毛片无遮挡高清| 国产精品一二三四| 欧美国产一区二区在线观看| 日日摸夜夜添夜夜添国产精品| 91精品国产入口| 久久99国产精品免费网站| 精品国产乱码久久久久久夜甘婷婷| 日韩av网站免费在线| 欧美成人精品高清在线播放| 天堂午夜影视日韩欧美一区二区| 制服丝袜在线91| 丝袜美腿成人在线| 日韩精品一区二区三区视频在线观看 | 婷婷综合在线观看| 久久老女人爱爱|