|
||||||||||
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 java.util.List<java.lang.Object> |
children
|
protected java.lang.String |
id
|
protected java.lang.String |
parentID
|
protected java.lang.String |
refID
|
protected boolean |
restricted
|
protected Title |
title
|
Constructor Summary | |
---|---|
Item()
|
Method Summary | |
---|---|
java.util.List<java.lang.Object> |
getChildren()
Gets the value of the children property. |
java.lang.String |
getId()
Gets the value of the id property. |
java.lang.String |
getParentID()
Gets the value of the parentID property. |
java.lang.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(java.lang.String value)
Sets the value of the id property. |
void |
setParentID(java.lang.String value)
Sets the value of the parentID property. |
void |
setRefID(java.lang.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 java.util.List<java.lang.Object> children
protected java.lang.String id
protected java.lang.String refID
protected java.lang.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 java.util.List<java.lang.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
Desc
Object
Res
public java.lang.String getId()
String
public void setId(java.lang.String value)
value
- allowed object is
String
public java.lang.String getRefID()
String
public void setRefID(java.lang.String value)
value
- allowed object is
String
public java.lang.String getParentID()
String
public void setParentID(java.lang.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 |