|
||||||||||
| 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 java.lang.Long |
bitrate
|
protected java.lang.Long |
bitsPerSample
|
protected java.lang.Long |
colorDepth
|
protected java.lang.String |
duration
|
protected java.lang.String |
importUri
|
protected java.lang.Long |
nrAudioChannels
|
protected java.lang.String |
protection
|
protected java.lang.String |
protocolInfo
|
protected java.lang.String |
resolution
|
protected java.lang.Long |
sampleFrequency
|
protected java.math.BigInteger |
size
|
protected java.lang.String |
value
|
| Constructor Summary | |
|---|---|
Res()
|
|
| Method Summary | |
|---|---|
java.lang.Long |
getBitrate()
Gets the value of the bitrate property. |
java.lang.Long |
getBitsPerSample()
Gets the value of the bitsPerSample property. |
java.lang.Long |
getColorDepth()
Gets the value of the colorDepth property. |
java.lang.String |
getDuration()
Gets the value of the duration property. |
java.lang.String |
getImportUri()
Gets the value of the importUri property. |
java.lang.Long |
getNrAudioChannels()
Gets the value of the nrAudioChannels property. |
java.lang.String |
getProtection()
Gets the value of the protection property. |
java.lang.String |
getProtocolInfo()
Gets the value of the protocolInfo property. |
java.lang.String |
getResolution()
Gets the value of the resolution property. |
java.lang.Long |
getSampleFrequency()
Gets the value of the sampleFrequency property. |
java.math.BigInteger |
getSize()
Gets the value of the size property. |
java.lang.String |
getValue()
Gets the value of the value property. |
void |
setBitrate(java.lang.Long value)
Sets the value of the bitrate property. |
void |
setBitsPerSample(java.lang.Long value)
Sets the value of the bitsPerSample property. |
void |
setColorDepth(java.lang.Long value)
Sets the value of the colorDepth property. |
void |
setDuration(java.lang.String value)
Sets the value of the duration property. |
void |
setImportUri(java.lang.String value)
Sets the value of the importUri property. |
void |
setNrAudioChannels(java.lang.Long value)
Sets the value of the nrAudioChannels property. |
void |
setProtection(java.lang.String value)
Sets the value of the protection property. |
void |
setProtocolInfo(java.lang.String value)
Sets the value of the protocolInfo property. |
void |
setResolution(java.lang.String value)
Sets the value of the resolution property. |
void |
setSampleFrequency(java.lang.Long value)
Sets the value of the sampleFrequency property. |
void |
setSize(java.math.BigInteger value)
Sets the value of the size property. |
void |
setValue(java.lang.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 java.lang.String value
protected java.lang.String importUri
protected java.lang.String protocolInfo
protected java.math.BigInteger size
protected java.lang.String duration
protected java.lang.Long bitrate
protected java.lang.Long sampleFrequency
protected java.lang.Long bitsPerSample
protected java.lang.Long nrAudioChannels
protected java.lang.Long colorDepth
protected java.lang.String protection
protected java.lang.String resolution
| Constructor Detail |
|---|
public Res()
| Method Detail |
|---|
public java.lang.String getValue()
Stringpublic void setValue(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getImportUri()
Stringpublic void setImportUri(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getProtocolInfo()
Stringpublic void setProtocolInfo(java.lang.String value)
value - allowed object is
Stringpublic java.math.BigInteger getSize()
BigIntegerpublic void setSize(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic java.lang.String getDuration()
Stringpublic void setDuration(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Long getBitrate()
Longpublic void setBitrate(java.lang.Long value)
value - allowed object is
Longpublic java.lang.Long getSampleFrequency()
Longpublic void setSampleFrequency(java.lang.Long value)
value - allowed object is
Longpublic java.lang.Long getBitsPerSample()
Longpublic void setBitsPerSample(java.lang.Long value)
value - allowed object is
Longpublic java.lang.Long getNrAudioChannels()
Longpublic void setNrAudioChannels(java.lang.Long value)
value - allowed object is
Longpublic java.lang.Long getColorDepth()
Longpublic void setColorDepth(java.lang.Long value)
value - allowed object is
Longpublic java.lang.String getProtection()
Stringpublic void setProtection(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getResolution()
Stringpublic void setResolution(java.lang.String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||