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

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

?? modulespecadvertisement.java

?? jxta平臺的開發包
?? JAVA
字號:
/* * Copyright (c) 2001 Sun Microsystems, Inc.  All rights * reserved. * * 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 the *       Sun Microsystems, Inc. for Project JXTA." *    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. * ==================================================================== * * 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. * * $Id: ModuleSpecAdvertisement.java,v 1.18 2005/11/04 19:11:34 bondolo Exp $ */package net.jxta.protocol;import net.jxta.document.Element;import net.jxta.document.ExtendableAdvertisement;import net.jxta.document.MimeMediaType;import net.jxta.document.StructuredDocument;import net.jxta.document.StructuredDocumentFactory;import net.jxta.document.StructuredDocumentUtils;import net.jxta.id.ID;import net.jxta.platform.ModuleSpecID;/** * A ModuleSpecAdvertisement describes a module specification. * Its main purpose is to provide references to the documentation * needed in order to create conforming implementations of that * specification. A secondary use is, optionally, to make running instances * usable remotely, by publishing any or all of the following:<br> * <ul> *  <li> PipeAdvertisement *  <li> ModuleSpecID of a proxy module *  <li> ModuleSpecID of an authenticator module * </ul> * * <p/>Not all modules are usable remotely, it is up to the specification * creator to make that choice. However, if the specification dictates it, all * implementations can be expected to support it. * * <p/>Note that the Standard PeerGroup implementation of the java reference * implementation does <em>not</em> support replacing a group service with * a pipe to a remote instance. However, nothing prevents a particular * implementation of a group from using a proxy module in place of the fully * version; provided that the API (and therefore the ClassIDs) of the proxy * and local versions are identical. * * <p/>Note also that in the case of the local+proxy style, it is up to the * implementation of both sides to figure-out which pipe to listen to or * connect to. The safest method is probably for the full version to seek its * own ModuleSpecAdvertisement, and for the proxy version to accept the * full version's ModuleSpecAdvertisement as a parameter. * Alternatively if the proxy version is completely dedicated to the * specification that it proxies, both sides may have the PipeID and type * hard-coded. *  * @see net.jxta.platform.ModuleSpecID * @see net.jxta.protocol.PipeAdvertisement * @see net.jxta.protocol.ModuleImplAdvertisement * @see net.jxta.document.Advertisement */public abstract class ModuleSpecAdvertisement extends ExtendableAdvertisement implements Cloneable {    private ModuleSpecID id = null;    private String name = null;    private Element description = null;    private String creator = null;    private String uri = null;    private String version = null;    private PipeAdvertisement pipeAdv = null;    private ModuleSpecID proxySpecID = null;    private ModuleSpecID authSpecID = null;    // The module interprets this. It is not necessarily final and immutable    // so it may need cloning for making a fully correct clone adv.    private StructuredDocument param = null;    /**     *  Returns the identifying type of this Advertisement.     *     * @return String the type of advertisement     **/    public static String getAdvertisementType() {        return "jxta:MSA";    }        /**     * {@inheritDoc}     **/    public final String getBaseAdvType() {        return getAdvertisementType();    }        /**     * {@inheritDoc}     **/    public Object clone() {        try {            ModuleSpecAdvertisement clone = (ModuleSpecAdvertisement) super.clone();            clone.setModuleSpecID(getModuleSpecID());            clone.setName(getName());            clone.setDesc(getDesc());            clone.setCreator(getCreator());            clone.setSpecURI(getSpecURI());            clone.setVersion(getVersion());            clone.setPipeAdvertisement(getPipeAdvertisement());            clone.setProxySpecID(getProxySpecID());            clone.setAuthSpecID(getAuthSpecID());            clone.setParam(getParam());            return clone;        } catch (CloneNotSupportedException impossible) {            return null;        }    }    /**     * returns a unique id for that adv for the purpose of indexing.     * The spec id uniquely identifies this advertisement.     *     * @return ID the spec id as a basic ID.     *     */        public ID getID() {        return id;    }        /**     * returns the id of the spec     *     * @return ModuleSpecID the spec id     **/    public ModuleSpecID getModuleSpecID() {        return id;    }    /**     * sets the id of the spec     *     * @param id The id of the spec     **/    public void setModuleSpecID(ModuleSpecID id) {        this.id = id;    }    /**     * returns the name of the module spec     *     * @return String name of the module spec     **/    public String getName() {        return name;    }    /**     * sets the name of the module spec     *     * @param name name of the module spec to be set     **/    public void setName(String name) {        this.name = name;    }    /**     * returns the description     *     * @return String the description     **/    public String getDescription() {        if (null != description) {            return (String) description.getValue();        } else {            return null;        }    }        /**     * sets the description     *     * @param description the description     **/    public void setDescription(String description) {                if (null != description) {            StructuredDocument newdoc = StructuredDocumentFactory.newStructuredDocument(MimeMediaType.XMLUTF8, "Desc", description);                        setDesc(newdoc);        } else {            this.description = null;        }    }        /**     * returns the description     *     * @return the description     **/    public StructuredDocument getDesc() {        if (null != description) {            StructuredDocument newDoc = StructuredDocumentUtils.copyAsDocument(description);                        return newDoc;        } else {            return null;        }    }        /**     * sets the description     *     * @param desc the description     **/    public void setDesc(Element desc) {                if (null != desc) {            this.description = StructuredDocumentUtils.copyAsDocument(desc);        } else {            this.description = null;        }    }    /**     * Returns the creator of the module spec, in case someone cares.     *     * @return String the creator.     **/    public String getCreator() {        return creator;    }    /**     * Sets the creator of this module spec.     * Note: the usefulness of this is unclear.     *     * @param creator name of the creator of the module     **/    public void setCreator(String creator) {        this.creator = creator;    }    /**     * returns the uri. This uri normally points at the actual specification     * that this advertises.     *     * @return String uri     **/    public String getSpecURI() {        return uri;    }     /**     * sets the uri     *     * @param uri string uri     **/    public void setSpecURI(String uri) {        this.uri = uri;    }    /**     * returns the specification version number     *     * @return String version number     **/    public String getVersion() {        return version;    }      /**     * sets the version of the module     *     * @param version  version number     **/    public void setVersion(String version) {        this.version = version;    }    /**     * returns the param element.     *     * @return Element parameters as an Element of unspecified content.     **/    public StructuredDocument getParam() {        return (param == null ? null : StructuredDocumentUtils.copyAsDocument(param));    }        /**     * Privileged version of {@link #getParam()} that does not clone the elements.     *     * @return StructuredDocument A stand-alone structured document of     * unspecified content.     **/    protected StructuredDocument getParamPriv() {        return param;    }    /**     * sets the param element.     *     * @param param Element of an unspecified content.     **/    public void setParam(Element param) {        this.param = (param == null ? null : StructuredDocumentUtils.copyAsDocument(param));    }    /**     * returns the embedded pipe advertisement if any.     *     * @return PipeAdvertisement the Pipe Advertisement. null if none exists.     **/    public PipeAdvertisement getPipeAdvertisement() {        return (pipeAdv == null ? null : (PipeAdvertisement) pipeAdv.clone());    }    /**     * sets an embedded pipe advertisement.     *     * @param pipeAdv the Pipe Advertisement. null is authorized.     **/    public void setPipeAdvertisement(PipeAdvertisement pipeAdv) {        this.pipeAdv = (pipeAdv == null ? null : (PipeAdvertisement) pipeAdv.clone());    }    /**     * returns the specID of a proxy module.     *     * @return ModuleSpecID the spec id     **/    public ModuleSpecID getProxySpecID() {        return proxySpecID;    }    /**     * sets a proxy module specID     *     * @param proxySpecID The spec id     **/    public void setProxySpecID(ModuleSpecID proxySpecID) {        this.proxySpecID = proxySpecID;    }    /**     * returns the specID of an authenticator module.     *     * @return ModuleSpecID the spec id     **/    public ModuleSpecID getAuthSpecID() {        return authSpecID;    }    /**     * sets an authenticator module specID     *     * @param authSpecID The spec id     **/    public void setAuthSpecID(ModuleSpecID authSpecID) {        this.authSpecID = authSpecID;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
自拍av一区二区三区| 激情综合五月婷婷| 国产精品99久久久久久宅男| 欧美三片在线视频观看 | 91成人免费网站| 中文字幕不卡一区| 久久国产麻豆精品| 欧美精品一二三四| 亚洲色图视频网站| 成人爽a毛片一区二区免费| 日韩欧美123| 免费高清不卡av| 精品盗摄一区二区三区| 久久国产精品99久久人人澡| 欧美一区二区黄| 国产在线不卡视频| 亚洲人成网站精品片在线观看| 欧美日韩另类一区| 国模娜娜一区二区三区| 亚洲黄色录像片| 欧美精品一区二区三区高清aⅴ| 国产精品资源在线看| 亚洲欧美日韩国产成人精品影院| 欧美色老头old∨ideo| 国产成人在线视频网址| 亚洲成人一区二区| 亚洲人成网站色在线观看| 欧美日韩一级二级| eeuss鲁片一区二区三区 | 不卡高清视频专区| 亚洲欧美一区二区在线观看| 日韩三级伦理片妻子的秘密按摩| 成人激情视频网站| 激情久久五月天| 天天影视色香欲综合网老头| 国产欧美日韩精品在线| 日韩免费视频一区| 欧美视频精品在线观看| 91女人视频在线观看| 国产成人午夜片在线观看高清观看| 午夜欧美大尺度福利影院在线看| 国产精品久久久久久久久晋中 | 肉色丝袜一区二区| 一区二区三区中文在线| 亚洲激情av在线| 亚洲一区二区三区四区在线| 亚洲一区视频在线| 亚洲人成网站精品片在线观看| 国产精品免费视频观看| 国产精品久久午夜夜伦鲁鲁| 国产精品久久久久久久久免费相片| 亚洲永久精品国产| 国产91精品欧美| 3d动漫精品啪啪1区2区免费| 国产精品看片你懂得| 美腿丝袜在线亚洲一区| 在线亚洲一区二区| 九九精品一区二区| 亚洲综合视频在线观看| 蜜桃视频第一区免费观看| 99re成人在线| 国产偷国产偷亚洲高清人白洁 | 波多野结衣在线一区| 亚洲综合色区另类av| 精品国产乱码久久久久久老虎| 欧美一区二区三区免费视频| 中文字幕亚洲在| 国产一区二区主播在线| 欧美日韩大陆一区二区| 一区二区三区四区五区视频在线观看| 久久国产免费看| 欧美tickling网站挠脚心| 亚洲成av人**亚洲成av**| 色综合久久中文综合久久97| 国产欧美日韩综合精品一区二区 | eeuss影院一区二区三区| 欧美大片一区二区三区| 午夜视频在线观看一区| 欧美日韩中文字幕精品| 亚洲午夜在线电影| 欧美在线观看18| 日本中文字幕一区二区有限公司| 中文字幕一区日韩精品欧美| 国产视频一区二区在线观看| 一二三区精品福利视频| 亚洲国产一区二区a毛片| 国产成人亚洲精品青草天美| 在线日韩一区二区| 欧美色图天堂网| 在线一区二区三区做爰视频网站| 91精品欧美久久久久久动漫 | 久久精品亚洲精品国产欧美 | 99久久精品国产导航| 99久久婷婷国产综合精品电影| 欧美精品v国产精品v日韩精品| 欧美美女网站色| 六月丁香婷婷久久| 成人h版在线观看| 91精品国产综合久久小美女| 91在线无精精品入口| 欧美女孩性生活视频| 欧美精品aⅴ在线视频| 精品国产百合女同互慰| 久久亚洲一级片| 日韩美女视频一区二区| 国产v日产∨综合v精品视频| 国产亚洲一区二区三区四区| 欧美偷拍一区二区| 国产另类ts人妖一区二区| 亚洲午夜私人影院| 亚洲国产高清在线观看视频| 日韩一级片在线播放| 91视频一区二区| 高清国产午夜精品久久久久久| 午夜不卡在线视频| 一区在线中文字幕| 欧美一区二区视频在线观看| 成人动漫av在线| 国产一区二区三区观看| 水蜜桃久久夜色精品一区的特点| 亚洲视频在线观看一区| 国产欧美日韩久久| 久久美女艺术照精彩视频福利播放 | 久久久99精品免费观看不卡| 国产一区二区三区观看| 国产乱国产乱300精品| 国产精品美女久久久久aⅴ国产馆| 94-欧美-setu| 久久不见久久见中文字幕免费| 国产蜜臀97一区二区三区| 欧美日韩在线播放三区| 成人一道本在线| 首页亚洲欧美制服丝腿| 亚洲日韩欧美一区二区在线| 精品日韩99亚洲| 在线观看视频91| 亚洲综合在线五月| 欧美日本一道本在线视频| 亚洲大片在线观看| 91精品国产麻豆国产自产在线 | 一区二区三区免费网站| 欧美视频在线播放| 精品一区二区三区免费毛片爱| 一区二区三区欧美久久| 中文字幕一区二区三区在线观看| 日韩精品中文字幕一区二区三区| 91传媒视频在线播放| 成人网男人的天堂| 成人中文字幕在线| 国产精品亚洲а∨天堂免在线| 美女视频免费一区| 国产在线精品一区二区夜色 | 91无套直看片红桃| 91黄色免费版| 欧美三区免费完整视频在线观看| 成熟亚洲日本毛茸茸凸凹| 精品一区在线看| 欧美精品一区二区三区四区| 在线日韩一区二区| 日本韩国欧美三级| 在线观看一区日韩| 色网综合在线观看| 欧美一区二区视频观看视频| 欧美日韩在线三级| 欧美久久一区二区| 国产精品素人一区二区| 久久久精品欧美丰满| 久久九九久久九九| 色女孩综合影院| 99久久99久久精品国产片果冻| 国内精品在线播放| 精品一区二区在线播放| 国产一区二区三区黄视频 | 国产日韩综合av| 欧美体内she精视频| 99re在线精品| 国产福利91精品一区| 亚洲国产日韩精品| 亚洲成a人片综合在线| 美国三级日本三级久久99| 韩国av一区二区| 成人免费毛片嘿嘿连载视频| 国产精品亚洲人在线观看| 一本一道波多野结衣一区二区| 日韩欧美一区二区三区在线| 亚洲欧洲日韩av| 精品一区免费av| 日韩手机在线导航| 亚洲国产综合色| 99国产欧美另类久久久精品| 欧美不卡一区二区三区| 亚洲亚洲人成综合网络| 91亚洲资源网| 亚洲男女毛片无遮挡| 成年人午夜久久久| 国产欧美精品一区二区色综合朱莉| 婷婷六月综合网| 欧美日韩高清一区二区不卡 | 欧美国产精品一区二区三区| 男人的天堂久久精品|