|
||||||||||
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.Res
public class Res
A 'res' element indentifies a resource. A resource is typically some type of a binary asset, such as photo, song, video, etc. A 'res' element contains a uri that identifies the resource.
Attributes: 'importUri' type: anyURI use: optionalJava class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="importUri" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="protocolInfo" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> <attribute name="duration" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="bitrate" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" /> <attribute name="sampleFrequency" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" /> <attribute name="bitsPerSample" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" /> <attribute name="nrAudioChannels" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" /> <attribute name="colorDepth" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" /> <attribute name="protection" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="resolution"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <pattern value="[0-9]+x[0-9]+"/> </restriction> </simpleType> </attribute> </extension> </simpleContent> </complexType>
Field Summary | |
---|---|
protected Long |
bitrate
|
protected Long |
bitsPerSample
|
protected Long |
colorDepth
|
protected String |
duration
|
protected String |
importUri
|
protected Long |
nrAudioChannels
|
protected String |
protection
|
protected String |
protocolInfo
|
protected String |
resolution
|
protected Long |
sampleFrequency
|
protected BigInteger |
size
|
protected String |
value
|
Constructor Summary | |
---|---|
Res()
|
Method Summary | |
---|---|
Long |
getBitrate()
Gets the value of the bitrate property. |
Long |
getBitsPerSample()
Gets the value of the bitsPerSample property. |
Long |
getColorDepth()
Gets the value of the colorDepth property. |
String |
getDuration()
Gets the value of the duration property. |
String |
getImportUri()
Gets the value of the importUri property. |
Long |
getNrAudioChannels()
Gets the value of the nrAudioChannels property. |
String |
getProtection()
Gets the value of the protection property. |
String |
getProtocolInfo()
Gets the value of the protocolInfo property. |
String |
getResolution()
Gets the value of the resolution property. |
Long |
getSampleFrequency()
Gets the value of the sampleFrequency property. |
BigInteger |
getSize()
Gets the value of the size property. |
String |
getValue()
Gets the value of the value property. |
void |
setBitrate(Long value)
Sets the value of the bitrate property. |
void |
setBitsPerSample(Long value)
Sets the value of the bitsPerSample property. |
void |
setColorDepth(Long value)
Sets the value of the colorDepth property. |
void |
setDuration(String value)
Sets the value of the duration property. |
void |
setImportUri(String value)
Sets the value of the importUri property. |
void |
setNrAudioChannels(Long value)
Sets the value of the nrAudioChannels property. |
void |
setProtection(String value)
Sets the value of the protection property. |
void |
setProtocolInfo(String value)
Sets the value of the protocolInfo property. |
void |
setResolution(String value)
Sets the value of the resolution property. |
void |
setSampleFrequency(Long value)
Sets the value of the sampleFrequency property. |
void |
setSize(BigInteger value)
Sets the value of the size property. |
void |
setValue(String value)
Sets the value of the value property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String value
protected String importUri
protected String protocolInfo
protected BigInteger size
protected String duration
protected Long bitrate
protected Long sampleFrequency
protected Long bitsPerSample
protected Long nrAudioChannels
protected Long colorDepth
protected String protection
protected String resolution
Constructor Detail |
---|
public Res()
Method Detail |
---|
public String getValue()
String
public void setValue(String value)
value
- allowed object is
String
public String getImportUri()
String
public void setImportUri(String value)
value
- allowed object is
String
public String getProtocolInfo()
String
public void setProtocolInfo(String value)
value
- allowed object is
String
public BigInteger getSize()
BigInteger
public void setSize(BigInteger value)
value
- allowed object is
BigInteger
public String getDuration()
String
public void setDuration(String value)
value
- allowed object is
String
public Long getBitrate()
Long
public void setBitrate(Long value)
value
- allowed object is
Long
public Long getSampleFrequency()
Long
public void setSampleFrequency(Long value)
value
- allowed object is
Long
public Long getBitsPerSample()
Long
public void setBitsPerSample(Long value)
value
- allowed object is
Long
public Long getNrAudioChannels()
Long
public void setNrAudioChannels(Long value)
value
- allowed object is
Long
public Long getColorDepth()
Long
public void setColorDepth(Long value)
value
- allowed object is
Long
public String getProtection()
String
public void setProtection(String value)
value
- allowed object is
String
public String getResolution()
String
public void setResolution(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |