YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.upnp.model.YaaccItem Class Reference

Lightweight Item wrapper that avoids Cling Property overhead. More...

Inheritance diagram for de.yaacc.upnp.model.YaaccItem:
Inheritance graph
Collaboration diagram for de.yaacc.upnp.model.YaaccItem:
Collaboration graph

Public Member Functions

 YaaccItem (String id, String parentId, String title, String creator, boolean restricted, String clazz)
 
String getId ()
 
String getParentId ()
 
String getTitle ()
 
String getCreator ()
 
boolean isRestricted ()
 
String getClazz ()
 
List< YaaccRes > getResources ()
 
void addResource (YaaccRes res)
 
Item toClingItem ()
 Convert to Cling Item for UPnP serialization.
 

Static Public Member Functions

static YaaccItem fromClingItem (Item item)
 Create from Cling Item.
 

Protected Attributes

List< YaaccRes > resources = new ArrayList<>()
 

Detailed Description

Lightweight Item wrapper that avoids Cling Property overhead.

Converts to Cling Item only when needed for serialization.

Member Function Documentation

◆ toClingItem()

Item de.yaacc.upnp.model.YaaccItem.toClingItem ( )

Convert to Cling Item for UPnP serialization.

Reimplemented in de.yaacc.upnp.model.YaaccMusicTrack, and de.yaacc.upnp.model.YaaccPhoto.

Referenced by de.yaacc.upnp.server.contentdirectory.ContentBrowser.createItem().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: