|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teleal.cling.support.contentdirectory.descriptor.didl.Item
public class Item
An 'item' element contains any number of
1. Dublin Core,Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://purl.org/dc/elements/1.1/}title"/> <choice maxOccurs="unbounded" minOccurs="0"> <any namespace='urn:schemas-upnp-org:metadata-1-0/upnp/'/> <any namespace='http://purl.org/dc/elements/1.1/'/> <element ref="{urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/}desc"/> <element ref="{urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/}res"/> </choice> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="refID" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="parentID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="restricted" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected List<Object> |
children
|
protected String |
id
|
protected String |
parentID
|
protected String |
refID
|
protected boolean |
restricted
|
protected Title |
title
|
Constructor Summary | |
---|---|
Item()
|
Method Summary | |
---|---|
List<Object> |
getChildren()
Gets the value of the children property. |
String |
getId()
Gets the value of the id property. |
String |
getParentID()
Gets the value of the parentID property. |
String |
getRefID()
Gets the value of the refID property. |
Title |
getTitle()
Gets the value of the title property. |
boolean |
isRestricted()
Gets the value of the restricted property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setParentID(String value)
Sets the value of the parentID property. |
void |
setRefID(String value)
Sets the value of the refID property. |
void |
setRestricted(boolean value)
Sets the value of the restricted property. |
void |
setTitle(Title value)
Sets the value of the title property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Title title
protected List<Object> children
protected String id
protected String refID
protected String parentID
protected boolean restricted
Constructor Detail |
---|
public Item()
Method Detail |
---|
public Title getTitle()
Title
public void setTitle(Title value)
value
- allowed object is
Title
public List<Object> getChildren()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the children property.
For example, to add a new item, do as follows:
getChildren().add(newItem);
Objects of the following type(s) are allowed in the list
Res
Object
Desc
public String getId()
String
public void setId(String value)
value
- allowed object is
String
public String getRefID()
String
public void setRefID(String value)
value
- allowed object is
String
public String getParentID()
String
public void setParentID(String value)
value
- allowed object is
String
public boolean isRestricted()
public void setRestricted(boolean value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |