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

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

?? didlobject.java

?? android_UPNP_DLNA_控制點
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* * Copyright (C) 2011 Teleal GmbH, Switzerland * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program.  If not, see <http://www.gnu.org/licenses/>. */package org.teleal.cling.support.model;import org.w3c.dom.Element;import java.net.URI;import java.util.ArrayList;import java.util.Iterator;import java.util.List;/** * @author Christian Bauer * @author Mario Franco */public abstract class DIDLObject {    static public abstract class Property<V> {        public interface NAMESPACE {        }        private V value;        final private String descriptorName;        final private List<Property<DIDLAttribute>> attributes = new ArrayList<Property<DIDLAttribute>>();        protected Property() {            this(null, null);        }        protected Property(String descriptorName) {            this(null, descriptorName);        }        protected Property(V value, String descriptorName) {            this.value = value;            this.descriptorName = descriptorName == null ? getClass().getSimpleName().toLowerCase() : descriptorName;        }        protected Property(V value, String descriptorName, List<Property<DIDLAttribute>> attributes) {            this.value = value;            this.descriptorName = descriptorName == null ? getClass().getSimpleName().toLowerCase() : descriptorName;            this.attributes.addAll(attributes);        }        public V getValue() {            return value;        }        public void setValue(V value) {            this.value = value;        }        public String getDescriptorName() {            return descriptorName;        }        public void setOnElement(Element element) {            element.setTextContent(toString());            for (Property<DIDLAttribute> attr : attributes) {                element.setAttributeNS(                        attr.getValue().getNamespaceURI(),                        attr.getValue().getPrefix() + ':' + attr.getDescriptorName(),                        attr.getValue().getValue());            }        }        public void addAttribute(Property<DIDLAttribute> attr) {            this.attributes.add(attr);        }        public void removeAttribute(Property<DIDLAttribute> attr) {            this.attributes.remove(attr);        }        public void removeAttribute(String descriptorName) {            for (Property<DIDLAttribute> attr : attributes) {                if (attr.getDescriptorName().equals(descriptorName)) {                    this.removeAttribute(attr);                    break;                }            }        }        public Property<DIDLAttribute> getAttribute(String descriptorName) {            for (Property<DIDLAttribute> attr : attributes) {                if (attr.getDescriptorName().equals(descriptorName)) {                    return attr;                }            }            return null;        }        @Override        public String toString() {            return getValue() != null ? getValue().toString() : "";        }        static public class PropertyPersonWithRole extends Property<PersonWithRole> {            public PropertyPersonWithRole() {            }            public PropertyPersonWithRole(String descriptorName) {                super(descriptorName);            }            public PropertyPersonWithRole(PersonWithRole value, String descriptorName) {                super(value, descriptorName);            }            @Override            public void setOnElement(Element element) {                if (getValue() != null)                    getValue().setOnElement(element);            }        }        static public class DC {            public interface NAMESPACE extends Property.NAMESPACE {                public static final String URI = "http://purl.org/dc/elements/1.1/";            }            static public class DESCRIPTION extends Property<String> implements NAMESPACE {                public DESCRIPTION() {                }                public DESCRIPTION(String value) {                    super(value, null);                }            }            static public class PUBLISHER extends Property<Person> implements NAMESPACE {                public PUBLISHER() {                }                public PUBLISHER(Person value) {                    super(value, null);                }            }            static public class CONTRIBUTOR extends Property<Person> implements NAMESPACE {                public CONTRIBUTOR() {                }                public CONTRIBUTOR(Person value) {                    super(value, null);                }            }            static public class DATE extends Property<String> implements NAMESPACE {                public DATE() {                }                public DATE(String value) {                    super(value, null);                }            }            static public class LANGUAGE extends Property<String> implements NAMESPACE {                public LANGUAGE() {                }                public LANGUAGE(String value) {                    super(value, null);                }            }            static public class RELATION extends Property<URI> implements NAMESPACE {                public RELATION() {                }                public RELATION(URI value) {                    super(value, null);                }            }            static public class RIGHTS extends Property<String> implements NAMESPACE {                public RIGHTS() {                }                public RIGHTS(String value) {                    super(value, null);                }            }        }        static public abstract class UPNP {            public interface NAMESPACE extends Property.NAMESPACE {                public static final String URI = "urn:schemas-upnp-org:metadata-1-0/upnp/";            }            static public class ARTIST extends PropertyPersonWithRole implements NAMESPACE {                public ARTIST() {                }                public ARTIST(PersonWithRole value) {                    super(value, null);                }            }            static public class ACTOR extends PropertyPersonWithRole implements NAMESPACE {                public ACTOR() {                }                public ACTOR(PersonWithRole value) {                    super(value, null);                }            }            static public class AUTHOR extends PropertyPersonWithRole implements NAMESPACE {                public AUTHOR() {                }                public AUTHOR(PersonWithRole value) {                    super(value, null);                }            }            static public class PRODUCER extends Property<Person> implements NAMESPACE {                public PRODUCER() {                }                public PRODUCER(Person value) {                    super(value, null);                }            }            static public class DIRECTOR extends Property<Person> implements NAMESPACE {                public DIRECTOR() {                }                public DIRECTOR(Person value) {                    super(value, null);                }            }            static public class GENRE extends Property<String> implements NAMESPACE {                public GENRE() {                }                public GENRE(String value) {                    super(value, null);                }            }            static public class ALBUM extends Property<String> implements NAMESPACE {                public ALBUM() {                }                public ALBUM(String value) {                    super(value, null);                }            }            static public class PLAYLIST extends Property<String> implements NAMESPACE {                public PLAYLIST() {                }                public PLAYLIST(String value) {                    super(value, null);                }            }            static public class REGION extends Property<String> implements NAMESPACE {                public REGION() {                }                public REGION(String value) {                    super(value, null);                }            }            static public class RATING extends Property<String> implements NAMESPACE {                public RATING() {                }                public RATING(String value) {                    super(value, null);                }            }            static public class TOC extends Property<String> implements NAMESPACE {                public TOC() {                }                public TOC(String value) {                    super(value, null);                }            }            static public class ALBUM_ART_URI extends Property<URI> implements NAMESPACE {                public ALBUM_ART_URI() {                    this(null);                }                public ALBUM_ART_URI(URI value) {                    super(value, "albumArtURI");                }                public ALBUM_ART_URI(URI value, List<Property<DIDLAttribute>> attributes) {                    super(value, "albumArtURI", attributes);                }            }            static public class ARTIST_DISCO_URI extends Property<URI> implements NAMESPACE {                public ARTIST_DISCO_URI() {                    this(null);                }                public ARTIST_DISCO_URI(URI value) {                    super(value, "artistDiscographyURI");                }            }            static public class LYRICS_URI extends Property<URI> implements NAMESPACE {                public LYRICS_URI() {                    this(null);                }                public LYRICS_URI(URI value) {                    super(value, "lyricsURI");                }            }            static public class STORAGE_TOTAL extends Property<Long> implements NAMESPACE {                public STORAGE_TOTAL() {                    this(null);                }                public STORAGE_TOTAL(Long value) {                    super(value, "storageTotal");                }            }            static public class STORAGE_USED extends Property<Long> implements NAMESPACE {                public STORAGE_USED() {                    this(null);                }                public STORAGE_USED(Long value) {                    super(value, "storageUsed");                }            }            static public class STORAGE_FREE extends Property<Long> implements NAMESPACE {                public STORAGE_FREE() {                    this(null);                }                public STORAGE_FREE(Long value) {                    super(value, "storageFree");                }            }            static public class STORAGE_MAX_PARTITION extends Property<Long> implements NAMESPACE {                public STORAGE_MAX_PARTITION() {                    this(null);                }                public STORAGE_MAX_PARTITION(Long value) {                    super(value, "storageMaxPartition");                }            }            static public class STORAGE_MEDIUM extends Property<StorageMedium> implements NAMESPACE {                public STORAGE_MEDIUM() {                    this(null);                }                public STORAGE_MEDIUM(StorageMedium value) {                    super(value, "storageMedium");                }            }            static public class LONG_DESCRIPTION extends Property<String> implements NAMESPACE {                public LONG_DESCRIPTION() {                    this(null);                }                public LONG_DESCRIPTION(String value) {                    super(value, "longDescription");                }            }            static public class ICON extends Property<URI> implements NAMESPACE {                public ICON() {                }                public ICON(URI value) {                    super(value, null);                }            }            static public class RADIO_CALL_SIGN extends Property<String> implements NAMESPACE {                public RADIO_CALL_SIGN() {                    this(null);                }                public RADIO_CALL_SIGN(String value) {                    super(value, "radioCallSign");                }            }            static public class RADIO_STATION_ID extends Property<String> implements NAMESPACE {                public RADIO_STATION_ID() {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩黄视频| 亚洲午夜三级在线| 亚洲成人激情自拍| 国产伦精品一区二区三区视频青涩| 成人av高清在线| 69堂亚洲精品首页| 亚洲视频电影在线| 国产麻豆一精品一av一免费| 欧洲精品在线观看| 国产精品麻豆一区二区| 精品伊人久久久久7777人| 在线观看国产日韩| 亚洲图片另类小说| 国产91丝袜在线18| 久久久久久久免费视频了| 日本欧美在线观看| 欧美日韩午夜在线视频| 日韩一区在线看| 不卡高清视频专区| 精品第一国产综合精品aⅴ| 夜夜亚洲天天久久| 色综合久久中文综合久久牛| 欧美国产日本韩| 国产精品1024| 久久免费看少妇高潮| 精品一区二区在线免费观看| 777xxx欧美| 青青草精品视频| 欧美日韩国产另类不卡| 亚洲综合在线五月| 欧美日韩国产综合一区二区| 亚洲综合丁香婷婷六月香| 在线一区二区视频| 亚洲最大色网站| 欧美日韩视频第一区| 亚洲成a人片综合在线| 欧美福利视频一区| 秋霞成人午夜伦在线观看| 日韩欧美一二区| 久久99深爱久久99精品| 久久久天堂av| 粉嫩一区二区三区在线看| 国产日韩欧美不卡在线| proumb性欧美在线观看| 一区二区三区鲁丝不卡| 欧美日韩精品三区| 精品一二线国产| 国产亚洲精品精华液| 99re6这里只有精品视频在线观看| 18涩涩午夜精品.www| 在线欧美日韩国产| 石原莉奈一区二区三区在线观看| 欧美精三区欧美精三区| 久久99精品国产91久久来源| 国产丝袜欧美中文另类| 色婷婷综合五月| 人人精品人人爱| 中文字幕第一区综合| 欧美三级日韩三级国产三级| 奇米888四色在线精品| 国产亚洲1区2区3区| 91免费观看视频在线| 肉色丝袜一区二区| 国产午夜精品久久久久久久 | 国产精品网站一区| 欧美一级片在线看| 国产精品亚洲午夜一区二区三区| 18欧美亚洲精品| 欧美成人a在线| 9i在线看片成人免费| 五月天欧美精品| 国产精品免费视频网站| 91麻豆精品国产综合久久久久久| 国产成人在线观看| 偷窥少妇高潮呻吟av久久免费| 精品国产乱码久久| 欧美三级电影网| www.66久久| 国产乱子伦一区二区三区国色天香| 亚洲人成人一区二区在线观看| 日韩欧美电影一二三| 在线一区二区三区做爰视频网站| 韩国av一区二区| 日韩国产在线一| ㊣最新国产の精品bt伙计久久| 欧美岛国在线观看| 欧洲生活片亚洲生活在线观看| 国产精品1区2区| 老司机免费视频一区二区三区| 一区二区三区日韩在线观看| 中文天堂在线一区| 亚洲精品一区二区在线观看| 欧美日韩激情在线| 日本乱码高清不卡字幕| 国产999精品久久久久久| 久久精品国产澳门| 三级久久三级久久久| 亚洲综合一区二区三区| 国产精品免费观看视频| 国产日韩精品视频一区| 欧美不卡一区二区| 日韩欧美第一区| 欧美一级日韩一级| 欧美一级片在线看| 91精品国产入口| 欧美久久久久中文字幕| 欧美视频日韩视频| 欧美午夜影院一区| 91黄视频在线| 欧美综合久久久| 欧美主播一区二区三区| 91福利视频网站| 日本高清成人免费播放| 色94色欧美sute亚洲线路二| 91在线视频免费观看| 9久草视频在线视频精品| 成人国产精品免费观看| 不卡在线视频中文字幕| 99久久国产综合精品女不卡| 91丝袜高跟美女视频| 日本高清成人免费播放| 欧美老女人在线| 日韩丝袜情趣美女图片| www国产精品av| 国产精品系列在线| 亚洲精品免费看| 香蕉加勒比综合久久| 日本伊人午夜精品| 国模一区二区三区白浆| 成人av影视在线观看| 99re这里都是精品| 欧美日韩亚洲丝袜制服| 精品久久久久99| 欧美国产一区在线| 夜夜夜精品看看| 麻豆国产精品一区二区三区 | 92精品国产成人观看免费| 99vv1com这只有精品| 欧美日韩精品专区| 久久亚洲一级片| 夜夜精品浪潮av一区二区三区| 午夜精品福利视频网站| 激情五月婷婷综合网| 99re在线精品| 日韩一区二区三区电影在线观看| 国产区在线观看成人精品| 一区二区三区欧美在线观看| 美女视频黄 久久| 91香蕉视频污在线| 日韩一区二区免费高清| 日韩美女视频一区二区| 男人操女人的视频在线观看欧美| 成人一区二区三区在线观看| 欧美在线视频日韩| 国产喷白浆一区二区三区| 亚洲一区二区三区四区在线| 激情国产一区二区| 欧美性xxxxx极品少妇| 久久精品亚洲乱码伦伦中文 | 亚洲天堂中文字幕| 麻豆视频一区二区| 91美女福利视频| 久久久久久久精| 日本在线不卡视频一二三区| 91免费版pro下载短视频| 精品国产1区二区| 日韩精品高清不卡| 色婷婷亚洲精品| 国产女主播一区| 老司机精品视频在线| 精品污污网站免费看| 中文成人综合网| 国产毛片精品视频| 日韩欧美一级精品久久| 亚洲一区在线观看视频| 成人18精品视频| 欧美国产精品中文字幕| 男女激情视频一区| 欧美美女一区二区三区| 亚洲女与黑人做爰| 成人性生交大片免费看中文网站 | 色一情一伦一子一伦一区| 久久网站最新地址| 精品一区二区免费视频| 欧美女孩性生活视频| 亚洲一区av在线| 色一情一伦一子一伦一区| 国产精品高潮呻吟| 国产mv日韩mv欧美| 久久精品一二三| 国产麻豆视频一区| 久久综合九色综合97_久久久| 日韩不卡手机在线v区| 欧美日韩一区高清| 亚洲成人精品在线观看| 欧美色倩网站大全免费| 亚洲国产一区二区视频| 色婷婷久久久综合中文字幕| 日韩理论片一区二区| 日本高清不卡视频|