Klasse Container
- Bekannte direkte Unterklassen:
Album,GenreContainer,PersonContainer,PlaylistContainer,StorageFolder,StorageSystem,StorageVolume
Note that although this container can have sub-containers, the
DIDLParser
will never read nor write this collection to and from XML.
Its only purpose is convenience when creating and manipulating a
recursive structure, that is, modelling the content tree as you
see fit. You can then pick a list of containers and/or a list of
items and hand them to the DIDL parser, which will render them
flat in XML. The only nested structure that can optionally be
rendered into and read from XML are the items of containers,
never their sub-containers.
Also see ContentDirectory 1.0 specification, section 2.8.3: "Incremental navigation i.e. the full hierarchy is never returned in one call since this is likely to flood the resources available to the control point (memory, network bandwidth, etc.)."
- Autor:
- Christian Bauer - Initial Contribution, Amit Kumar Mondal - Code Refactoring
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.jupnp.support.model.DIDLObject
DIDLObject.Class, DIDLObject.Property<V> -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected Integerprotected List<DIDLObject.Class> protected booleanprotected List<DIDLObject.Class> Von Klasse geerbte Felder org.jupnp.support.model.DIDLObject
clazz, creator, descMetadata, id, parentID, properties, resources, restricted, title, writeStatus -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungContainer(String id, String parentID, String title, String creator, boolean restricted, WriteStatus writeStatus, DIDLObject.Class clazz, List<Res> resources, List<DIDLObject.Property<?>> properties, List<DescMeta<?>> descMetadata) Container(String id, String parentID, String title, String creator, boolean restricted, WriteStatus writeStatus, DIDLObject.Class clazz, List<Res> resources, List<DIDLObject.Property<?>> properties, List<DescMeta<?>> descMetadata, Integer childCount, boolean searchable, List<DIDLObject.Class> createClasses, List<DIDLObject.Class> searchClasses, List<Item> items) Container(String id, String parentID, String title, String creator, DIDLObject.Class clazz, Integer childCount) Container(String id, String parentID, String title, String creator, DIDLObject.Class clazz, Integer childCount, boolean searchable, List<DIDLObject.Class> createClasses, List<DIDLObject.Class> searchClasses, List<Item> items) Container(String id, Container parent, String title, String creator, DIDLObject.Class clazz, Integer childCount) Container(String id, Container parent, String title, String creator, DIDLObject.Class clazz, Integer childCount, boolean searchable, List<DIDLObject.Class> createClasses, List<DIDLObject.Class> searchClasses, List<Item> items) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaddContainer(Container container) getItems()booleanvoidsetChildCount(Integer childCount) voidsetContainers(List<Container> containers) voidsetCreateClasses(List<DIDLObject.Class> createClasses) voidvoidsetSearchable(boolean searchable) voidsetSearchClasses(List<DIDLObject.Class> searchClasses) Von Klasse geerbte Methoden org.jupnp.support.model.DIDLObject
addDescMetadata, addProperties, addProperty, addResource, equals, getClazz, getCreator, getDescMetadata, getFirstProperty, getFirstPropertyValue, getFirstResource, getId, getLastProperty, getParentID, getProperties, getProperties, getPropertiesByNamespace, getPropertyValues, getResources, getTitle, getWriteStatus, hashCode, hasProperty, isRestricted, removeProperties, replaceFirstProperty, replaceProperties, setClazz, setCreator, setDescMetadata, setId, setParentID, setProperties, setResources, setRestricted, setTitle, setWriteStatus
-
Felddetails
-
childCount
-
searchable
protected boolean searchable -
createClasses
-
searchClasses
-
containers
-
items
-
-
Konstruktordetails
-
Container
public Container() -
Container
-
Container
public Container(String id, String parentID, String title, String creator, boolean restricted, WriteStatus writeStatus, DIDLObject.Class clazz, List<Res> resources, List<DIDLObject.Property<?>> properties, List<DescMeta<?>> descMetadata) -
Container
public Container(String id, String parentID, String title, String creator, boolean restricted, WriteStatus writeStatus, DIDLObject.Class clazz, List<Res> resources, List<DIDLObject.Property<?>> properties, List<DescMeta<?>> descMetadata, Integer childCount, boolean searchable, List<DIDLObject.Class> createClasses, List<DIDLObject.Class> searchClasses, List<Item> items) -
Container
-
Container
-
Container
public Container(String id, Container parent, String title, String creator, DIDLObject.Class clazz, Integer childCount, boolean searchable, List<DIDLObject.Class> createClasses, List<DIDLObject.Class> searchClasses, List<Item> items) -
Container
public Container(String id, String parentID, String title, String creator, DIDLObject.Class clazz, Integer childCount, boolean searchable, List<DIDLObject.Class> createClasses, List<DIDLObject.Class> searchClasses, List<Item> items)
-
-
Methodendetails
-
getChildCount
-
setChildCount
-
isSearchable
public boolean isSearchable() -
setSearchable
public void setSearchable(boolean searchable) -
getCreateClasses
-
setCreateClasses
-
getSearchClasses
-
setSearchClasses
-
getFirstContainer
-
addContainer
-
getContainers
-
setContainers
-
getItems
-
setItems
-
addItem
-