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

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

?? extendableadvertisement.java

?? JXTA&#8482 is a set of open, generalized peer-to-peer (P2P) protocols that allow any networked devi
?? JAVA
字號:
/* * Copyright (c) 2001-2007 Sun Microsystems, Inc.  All rights reserved. *   *  The Sun Project JXTA(TM) Software License *   *  Redistribution and use in source and binary forms, with or without  *  modification, are permitted provided that the following conditions are met: *   *  1. Redistributions of source code must retain the above copyright notice, *     this list of conditions and the following disclaimer. *   *  2. Redistributions in binary form must reproduce the above copyright notice,  *     this list of conditions and the following disclaimer in the documentation  *     and/or other materials provided with the distribution. *   *  3. The end-user documentation included with the redistribution, if any, must  *     include the following acknowledgment: "This product includes software  *     developed by Sun Microsystems, Inc. for JXTA(TM) technology."  *     Alternately, this acknowledgment may appear in the software itself, if  *     and wherever such third-party acknowledgments normally appear. *   *  4. The names "Sun", "Sun Microsystems, Inc.", "JXTA" and "Project JXTA" must  *     not be used to endorse or promote products derived from this software  *     without prior written permission. For written permission, please contact  *     Project JXTA at http://www.jxta.org. *   *  5. Products derived from this software may not be called "JXTA", nor may  *     "JXTA" appear in their name, without prior written permission of Sun. *   *  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, *  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND  *  FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SUN  *  MICROSYSTEMS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,  *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT  *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,  *  OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF  *  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING  *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,  *  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *   *  JXTA is a registered trademark of Sun Microsystems, Inc. in the United  *  States and other countries. *   *  Please see the license information page at : *  <http://www.jxta.org/project/www/license.html> for instructions on use of  *  the license in source files. *   *  ==================================================================== *   *  This software consists of voluntary contributions made by many individuals  *  on behalf of Project JXTA. For more information on Project JXTA, please see  *  http://www.jxta.org. *   *  This license is based on the BSD license adopted by the Apache Foundation.  */package net.jxta.document;/** * Extendable advertisements provide features for allowing inheritance of * advertisement types. The core and standard JXTA advertisements all allow * extension by extending this class. * * @see net.jxta.document.Advertisement * @see net.jxta.document.AdvertisementFactory * @see net.jxta.document.Document * @see net.jxta.document.MimeMediaType */public abstract class ExtendableAdvertisement extends Advertisement {    /**     *  If {@code true} then the advertisement will be pretty print formatted     *  when it is output as XML. Currently this must be specified at      *  construction time as it is normally a preference per advertisement type.     */    private transient boolean formatted;        /**     *  Default constructor. The advertisement will *not* be pretty-printed when     *  it is output as XML.     */    protected ExtendableAdvertisement() {        this(false);    }        /**     *  @param formatted If {@code true} then the advertisement will be pretty      *  print formatted when it is output as XML.     */    protected ExtendableAdvertisement(boolean formatted) {        this.formatted = formatted;    }        /**     * Returns the base type of this advertisement hierarchy. Typically, only     * the most basic advertisement of a type will implement this method and     * declare it as <code>final</code>.     *     * @return String the base type of advertisements in this hierarchy.     */    public abstract String getBaseAdvType();    /**     * Process an individual element from the document during parse. Normally,     * implementations will allow the base advertisements a chance to handle     * the element before attempting to handle the element themselves. ie.     * <p/>     * <pre><code>     *  protected boolean handleElement(Element elem) {     *     *      if (super.handleElement()) {     *           // it's been handled.     *           return true;     *           }     *      <i>... handle elements here ...</i>     *     *      // we don't know how to handle the element     *      return false;     *      }     *  </code></pre>     *     * @param elem The element to be processed.     * @return {@code true} if the element was recognized, otherwise false.     */    protected boolean handleElement(Element elem) {        // we don't handle any elements.        return false;    }    /**     * Process an individual attribute from the document root node. Normally,     * implementations will allow the base advertisements a chance to handle     * the attribute before attempting to handle the element themselves. ie.     * <p/>     * <p/><pre><code>     *  protected boolean handleAttribute( Attribute elem ) {     * <p/>     *      if (super.handleAttribute()) {     *           // it's been handled.     *           return true;     *           }     *     *      <i>... handle attributes here ...</i>     *     *      // we don't know how to handle the attribute     *      return false;     *      }     *  </code></pre>     *     * @param attrib The attribute to be processed.     * @return {@code true} if the attribute was recognized, otherwise false.     */    protected boolean handleAttribute(Attribute attrib) {        // "handle" the attributes that we choose to ignore.        if ("xmlns:jxta".equals(attrib.getName())) {            return true;        } else if ("xml:space".equals(attrib.getName())) {            return true;        } else if ("type".equals(attrib.getName())) {            return true;        }        return false;    }    /**     * {@inheritDoc}     * <p/>     * We don't have any content to add, just build the document instance and      * return it to implementations that actually do something with it.     */    @Override    public Document getDocument(MimeMediaType encodeAs) {        Document adv = StructuredDocumentFactory.newStructuredDocument(encodeAs, getBaseAdvType());        if (!(adv instanceof Attributable)) {            throw new IllegalArgumentException("Advertisements require document type with attribute support.");        }        if (adv instanceof XMLDocument) {            XMLDocument xmlAdv = (XMLDocument) adv;            xmlAdv.addAttribute("xmlns:jxta", "http://jxta.org");            if (!formatted) {                xmlAdv.addAttribute("xml:space", "preserve");            }        }        if (!getBaseAdvType().equals(getAdvType())) {            ((Attributable) adv).addAttribute("type", getAdvType());        }                return adv;    }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
免费看欧美女人艹b| 久久精品亚洲精品国产欧美| 1000精品久久久久久久久| 欧美老肥妇做.爰bbww视频| 一区二区久久久| 欧美日韩亚洲国产综合| 日韩精品三区四区| 日韩美女视频一区二区在线观看| 国产一区二区美女诱惑| 国产精品视频一二三| 日本韩国一区二区三区视频| 婷婷国产在线综合| 26uuu色噜噜精品一区二区| 国产福利精品一区二区| 亚洲丝袜精品丝袜在线| 欧美日韩一区小说| 激情文学综合丁香| 亚洲特级片在线| 欧美日韩一区二区三区在线看| 日本不卡一二三| 久久久亚洲综合| 色综合久久久久久久久久久| 日韩av在线发布| 国产欧美一区二区精品性色| 在线一区二区三区做爰视频网站| 欧美a级一区二区| 国产精品乱码一区二区三区软件| 91久久一区二区| 久久99久久久久| 亚洲三级电影全部在线观看高清| 日韩一区二区麻豆国产| 成人97人人超碰人人99| 亚洲第一电影网| 欧美激情一区二区三区在线| 欧美中文字幕不卡| 国产精品一区久久久久| 亚洲一区二区偷拍精品| 久久久99精品免费观看不卡| 在线一区二区视频| 国产精品99久久久久久有的能看| 亚洲自拍偷拍网站| 国产日韩欧美激情| 4438x成人网最大色成网站| 成人99免费视频| 狠狠久久亚洲欧美| 亚洲高清免费观看高清完整版在线观看| 精品免费日韩av| 欧美性大战久久久久久久蜜臀| 国产精品一二三在| 日韩中文欧美在线| 一区免费观看视频| 国产亚洲综合色| 欧美一三区三区四区免费在线看| 91欧美一区二区| 国产精品69毛片高清亚洲| 日韩精品色哟哟| 一区二区高清在线| 亚洲区小说区图片区qvod| 五月天精品一区二区三区| 欧美精彩视频一区二区三区| 欧美一级片在线| 欧美日韩免费视频| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 精品少妇一区二区三区| 欧美性感一区二区三区| 色系网站成人免费| av欧美精品.com| 国产白丝精品91爽爽久久 | 麻豆精品在线看| 亚洲va欧美va人人爽午夜| 一区二区三区免费| 日韩一区欧美一区| 中文字幕av一区二区三区| 久久久精品蜜桃| 久久人人爽爽爽人久久久| 精品va天堂亚洲国产| 精品免费一区二区三区| 精品国产污污免费网站入口| 日韩三级在线观看| 精品国产免费视频| 亚洲精品在线免费观看视频| 欧美成人一区二区三区| 日韩欧美久久久| 欧美大片一区二区| 日韩精品一区二区三区swag| 日韩视频一区二区在线观看| 日韩女优毛片在线| 26uuu另类欧美| 亚洲123区在线观看| 五月激情综合网| 日韩成人av影视| 极品美女销魂一区二区三区免费| 久久国产精品色婷婷| 麻豆精品在线播放| 国产999精品久久| 99精品视频一区二区| 色综合天天综合给合国产| 欧美性猛片aaaaaaa做受| 91精品欧美久久久久久动漫| 日韩精品中文字幕在线一区| 欧美精品一区二区三区蜜桃| 国产精品天美传媒| 一区二区三区精品| 青青草91视频| 福利一区福利二区| 欧美亚洲图片小说| 欧美成人性战久久| 最新日韩av在线| 五月天婷婷综合| 国产传媒久久文化传媒| 色综合久久66| 9191久久久久久久久久久| 国产亚洲一区二区三区| 亚洲免费观看高清完整版在线| 无码av免费一区二区三区试看| 精品一区二区三区视频在线观看| 成人国产精品免费观看动漫 | 精品视频一区二区三区免费| 日韩一级完整毛片| 亚洲欧洲日产国码二区| 日韩电影在线一区二区三区| 国产91富婆露脸刺激对白| 欧美在线高清视频| 久久九九久久九九| 亚洲第一主播视频| 国产成人午夜99999| 欧美高清一级片在线| 欧美国产成人在线| 日韩成人伦理电影在线观看| 波多野洁衣一区| 日韩美女天天操| 亚洲成人在线免费| 大美女一区二区三区| 欧美一区二区福利视频| 亚洲欧美国产三级| 国产精品香蕉一区二区三区| 欧美日韩午夜在线视频| 中文字幕精品一区| 国内精品自线一区二区三区视频| 在线观看av不卡| 中文字幕日韩精品一区| 国产乱淫av一区二区三区| 欧美人成免费网站| 一区二区三区色| 成人爱爱电影网址| 久久午夜电影网| 青草国产精品久久久久久| 欧美日本在线一区| 一区二区三区在线播| 成人免费三级在线| 久久欧美中文字幕| 日韩在线一区二区三区| 欧美亚洲日本一区| 日韩一区在线看| 成人aa视频在线观看| 国产欧美精品日韩区二区麻豆天美 | 欧美性猛交xxxx黑人交| 中文字幕中文字幕在线一区 | 国产精品欧美经典| 国产精品99久久久久久似苏梦涵| 欧美成va人片在线观看| 午夜久久久久久久久久一区二区| 99视频精品在线| 国产精品国产三级国产普通话蜜臀| 国产麻豆精品一区二区| 久久无码av三级| 国产一区二区伦理| 久久综合九色欧美综合狠狠| 久久99蜜桃精品| 精品美女被调教视频大全网站| 免费观看在线综合| 日韩精品综合一本久道在线视频| 日韩国产精品久久久| 911精品国产一区二区在线| 亚洲一区二区三区四区中文字幕| 日本韩国欧美一区| 亚洲一区二区三区中文字幕在线| 欧美三片在线视频观看| 午夜精品一区二区三区三上悠亚| 欧美丝袜丝交足nylons图片| 一区二区在线观看免费视频播放| 色94色欧美sute亚洲13| 亚洲成人高清在线| 日韩一区二区视频| 极品少妇xxxx精品少妇偷拍 | 一区视频在线播放| 色域天天综合网| 视频一区中文字幕| 欧美mv和日韩mv的网站| 国产精品夜夜爽| 亚洲视频每日更新| 欧美年轻男男videosbes| 美女视频黄免费的久久| 久久一二三国产| 色乱码一区二区三区88| 一区二区日韩av| 日韩午夜中文字幕| 成人av午夜电影| 亚洲va韩国va欧美va精品| 精品久久久久久久一区二区蜜臀|