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

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

?? pipeadvertisement.java

?? jxta平臺的開發包
?? JAVA
字號:
/* * $Id: PipeAdvertisement.java,v 1.30 2006/06/08 18:59:11 hamada Exp $ * * 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. */package net.jxta.protocol;import net.jxta.document.ExtendableAdvertisement;import net.jxta.document.Element;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;/** *  Describes a JXTA Pipe. A pipe is described by a pipe id and by a pipe type. *  A pipe can also optionally have a name and/or a description. * *  @see net.jxta.pipe.PipeService *  @see <a href="http://spec.jxta.org/nonav/v1.0/docbook/JXTAProtocols.html#proto-pbp" target="_blank">JXTA Protocols Specification : Pipe Binding Protocol</a> */public abstract class PipeAdvertisement extends ExtendableAdvertisement implements Cloneable {    /**     * XML tag to store the PipeID     */    public static final String IdTag = "Id";    /**     * XML tag to store the Pipe Type     */    public static final String TypeTag = "Type";    /**     * XML tag to store the name of the Pipe     */    public static final String NameTag = "Name";    /**     * XML tag to store the name of the Pipe     */    public static final String descTag = "Desc";    private transient ID pipeId = ID.nullID;    private String type = null;    private String name = null;    /**     * Descriptive meta-data about this pipe.     */    private Element description = null;    /**     *  Returns the identifying type of this Advertisement.     *     *  @return String the type of advertisement     */    public static String getAdvertisementType() {        return "jxta:PipeAdvertisement";    }    /**     *  {@inheritDoc}     */    public Object clone() {        try {            PipeAdvertisement likeMe = (PipeAdvertisement) super.clone();            likeMe.setPipeID(getPipeID());            likeMe.setType(getType());            likeMe.setName(getName());            likeMe.setDesc(getDesc());            return likeMe;        } catch (CloneNotSupportedException impossible) {            return null;        }    }    /**     *  {@inheritDoc}     */    public boolean equals(Object obj) {        if (this == obj) {            return true;        }        if (obj instanceof PipeAdvertisement) {            PipeAdvertisement likeMe = (PipeAdvertisement) obj;            if (!getPipeID().equals(likeMe.getPipeID())) {                return false;            }            if (!getType().equals(likeMe.getType())) {                return false;            }            String pipeName = getName();            if (pipeName == null ? likeMe.getName() != null : pipeName != likeMe.getName()) {                return false;            }            String pipeDescription = getDescription();            if (pipeDescription == null ? likeMe.getDescription() != null : pipeDescription.equals(likeMe.getDescription())) {                return false;            }            return true;        }        return false;    }    /**     *  {@inheritDoc}     */    public int hashCode() {        int result = 17;        result = 37 * result + getPipeID().hashCode();        result = 37 * result + getType().hashCode();        String pipeName = getName();        if (pipeName != null) {            result = 37 * result + pipeName.hashCode();        }        String pipeDescription = getDescription();        if (pipeDescription != null) {            result = 37 * result + pipeDescription.hashCode();        }        return result;    }    /**     * {@inheritDoc}     */    public final String getBaseAdvType() {        return getAdvertisementType();    }    /**     *  {@inheritDoc}     *     *  <p/>The PipeID uniquely identifies this ADV.     */    public ID getID() {        ID result = getPipeID();        if (null == result) {            result = ID.nullID;        }        return result;    }    /**     *  Return the pipe ID for the pipe described by this advertisement.     *     *  @return The pipe ID for the pipe described by this advertisement.     */    public ID getPipeID() {        return pipeId;    }    /**     *  Set the pipe ID for the pipe described by this advertisement.     *     *  @param pipeId The pipe ID for the pipe described by this advertisement.     */    public void setPipeID(ID pipeId) {        this.pipeId = pipeId;    }    /**     *  Return the pipe type for the pipe described by this advertisement.     *     *  @return The pipe type for the pipe described by this advertisement.     */    public String getType() {        return type;    }    /**     * Set the pipe type for the pipe described by this advertisement.     *     *  @param type The pipe type for the pipe described by this advertisement.     */    public void setType(String type) {        this.type = type;    }    /**     * Return the symbolic name for the pipe described by this advertisement.     *     * @return String The symbolic name for the pipe described by this advertisement.     */    public String getName() {        return name;    }    /**     *  Set the symbolic name for the pipe described by this advertisement.     *     *  @param name The symbolic name for the pipe described by this advertisement.     */    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();        }        return null;    }    /**     * Set the description meta-data for the pipe described by this advertisement.     *     * @param description The description meta-data for the pipe described by this advertisement.     */    public void setDescription(String description) {        if (null != description) {            StructuredDocument newdoc = StructuredDocumentFactory.newStructuredDocument(MimeMediaType.XMLUTF8, "Desc", description);            setDesc(newdoc);        } else {            this.description = null;        }    }    /**     *  Return the description meta-data for the pipe described by this advertisement.     *     *  @return The description meta-data for the pipe described by this advertisement.     */    public StructuredDocument getDesc() {        if (null != description) {            StructuredDocument newDoc = StructuredDocumentUtils.copyAsDocument(description);            return newDoc;        }        return null;    }    /**     *  Set the description meta-data for the pipe described by this advertisement.     *     *  @param desc The description meta-data for the pipe described by this advertisement.     */    public void setDesc(Element desc) {        if (null != desc) {            this.description = StructuredDocumentUtils.copyAsDocument(desc);        } else {            this.description = null;        }    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区成人在线| 精品亚洲国产成人av制服丝袜| 日日夜夜精品视频天天综合网| 成人免费视频一区二区| 91精品国产黑色紧身裤美女| 亚洲精品国产品国语在线app| 国产精品一二三四五| 欧美成人a∨高清免费观看| 五月天中文字幕一区二区| 欧美日韩一级视频| 亚洲国产日日夜夜| 欧美日韩中文字幕精品| 亚洲丶国产丶欧美一区二区三区| 色呦呦国产精品| 1024成人网色www| 91久久精品一区二区三| 亚洲动漫第一页| 欧美一区二区成人| 国产一区二区视频在线播放| 国产清纯白嫩初高生在线观看91 | 精品一区二区三区免费视频| 日韩午夜精品电影| 成人av网在线| 日本亚洲电影天堂| 久久精品这里都是精品| 95精品视频在线| 日本va欧美va欧美va精品| 久久精品视频免费观看| 精品视频一区二区不卡| 精品一区二区三区久久久| 综合久久给合久久狠狠狠97色 | 国产毛片精品视频| 最新日韩在线视频| 精品久久一区二区三区| 99精品视频一区二区三区| 男男gaygay亚洲| 一区二区三区产品免费精品久久75| 欧美肥大bbwbbw高潮| gogo大胆日本视频一区| 久久精品国产在热久久| 亚洲精品精品亚洲| 久久久99久久| 久久久久久久网| 91精品欧美久久久久久动漫| 9久草视频在线视频精品| 激情小说欧美图片| 秋霞午夜鲁丝一区二区老狼| 国产成人av一区二区三区在线| 日韩一区二区中文字幕| 欧美午夜精品免费| 97久久超碰国产精品| 丁香婷婷深情五月亚洲| 国产伦精品一区二区三区视频青涩| 日韩国产精品久久久久久亚洲| 亚洲激情第一区| 中文字幕在线不卡| 国产精品久久久久精k8| 中文在线一区二区| 国产农村妇女毛片精品久久麻豆| 精品国产麻豆免费人成网站| 日韩美女视频一区二区在线观看| 在线成人免费观看| 91精品国产色综合久久| 欧美成人性战久久| 国产亚洲一区二区在线观看| 国产欧美一区二区精品久导航 | 国产精品久久久久久亚洲伦| 久久精品在线观看| 伊人一区二区三区| 免费观看久久久4p| 国产成人av一区二区| 91免费国产视频网站| 欧美日韩一区二区三区在线| 91精品国产乱码久久蜜臀| 久久九九全国免费| 亚洲不卡一区二区三区| 国产精品自拍毛片| 一本一道久久a久久精品综合蜜臀| 91啪亚洲精品| 26uuu亚洲| 亚洲午夜在线视频| 国产成人激情av| 91麻豆精品久久久久蜜臀| 国产目拍亚洲精品99久久精品| 亚洲香肠在线观看| 成人av中文字幕| 久久夜色精品国产噜噜av| 日韩美女精品在线| 国产福利一区在线| 欧美一区二区播放| 亚洲一区二区三区四区五区黄 | 亚洲影视在线播放| 99久久精品免费观看| 日本一区二区三区国色天香| 欧美aa在线视频| 91精品啪在线观看国产60岁| 亚洲精品视频在线观看免费| 成人精品在线视频观看| 精品粉嫩aⅴ一区二区三区四区| 一区二区三区毛片| 欧美中文字幕一区二区三区亚洲| 中文字幕在线不卡一区| 成人激情免费电影网址| 精品国产乱码久久久久久久| 日产国产高清一区二区三区| 欧美久久久一区| 日本v片在线高清不卡在线观看| 欧美日韩中文另类| 日日欢夜夜爽一区| 在线视频中文字幕一区二区| 国产女人水真多18毛片18精品视频| 国产一区二区三区视频在线播放| 日韩一级免费一区| 国产精品色哟哟网站| 综合久久久久久久| 国内外精品视频| 欧美色综合天天久久综合精品| 亚洲男同1069视频| 欧美亚洲国产一区在线观看网站| 国产精品日韩精品欧美在线| 成人中文字幕电影| 亚洲欧洲韩国日本视频| 欧日韩精品视频| 精油按摩中文字幕久久| 欧美激情一区三区| 日本精品一区二区三区四区的功能| 亚洲欧美日韩人成在线播放| 91黄色免费观看| 激情综合色播五月| 亚洲精品视频免费观看| 欧美电影一区二区| 狠狠色丁香久久婷婷综合丁香| 久久伊99综合婷婷久久伊| 欧美巨大另类极品videosbest| 日本成人超碰在线观看| 国产精品亲子乱子伦xxxx裸| 一本一本久久a久久精品综合麻豆| 午夜不卡av免费| 亚洲卡通动漫在线| 日韩精品一区二区三区在线播放| 国产成人一级电影| 日韩电影在线看| 国产欧美日韩激情| 精品国产sm最大网站| 色诱亚洲精品久久久久久| 国产呦萝稀缺另类资源| 亚洲综合色在线| 亚洲免费在线电影| 久久人人爽爽爽人久久久| 欧美视频在线播放| caoporn国产一区二区| 国产精品资源网| 高清不卡一区二区| 国产乱淫av一区二区三区| 日韩国产一二三区| 午夜激情一区二区三区| 一区精品在线播放| 日本一区二区三区国色天香| 欧美一区二区三区啪啪| 欧美精品黑人性xxxx| 欧美三级日本三级少妇99| 欧美午夜电影一区| 国产专区欧美精品| 国产激情一区二区三区四区 | 日本亚洲免费观看| 日韩精品五月天| 国产成人午夜视频| 国产69精品一区二区亚洲孕妇| 裸体一区二区三区| 免费观看在线综合| 国产精品一区三区| 一本一本大道香蕉久在线精品 | 狠狠久久亚洲欧美| 国产在线一区观看| 成人av网站在线观看免费| 精品一区二区三区免费| fc2成人免费人成在线观看播放| 91日韩在线专区| 欧美日韩不卡一区| 国产偷国产偷亚洲高清人白洁| 国产清纯在线一区二区www| 国产日韩欧美麻豆| 亚洲成人免费视频| 国产大陆亚洲精品国产| 国产精品亚洲视频| 制服丝袜亚洲播放| 久久理论电影网| 日韩经典中文字幕一区| 国产一区二区精品久久91| 欧美日韩免费一区二区三区 | 日韩一区二区在线观看视频| 日韩免费电影网站| 亚洲美女屁股眼交3| 香蕉成人伊视频在线观看| 波多野结衣在线aⅴ中文字幕不卡| 欧美日韩视频第一区| 国产精品久久久久影院老司| 精品一区二区精品| 欧美日韩亚洲另类| 一区二区三区日韩精品|