public class Media extends Object implements Serializable
Java class for media complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="media">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="audio" type="{}audioOrVideo" maxOccurs="unbounded" minOccurs="0"/>
<element name="image" type="{}image" maxOccurs="unbounded" minOccurs="0"/>
<element name="video" type="{}audioOrVideo" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<AudioOrVideo> |
audio |
protected List<Image> |
image |
protected List<AudioOrVideo> |
video |
| Constructor and Description |
|---|
Media() |
| Modifier and Type | Method and Description |
|---|---|
List<AudioOrVideo> |
getAudio()
Gets the value of the audio property.
|
List<Image> |
getImage()
Gets the value of the image property.
|
List<AudioOrVideo> |
getVideo()
Gets the value of the video property.
|
protected List<AudioOrVideo> audio
protected List<AudioOrVideo> video
public List<AudioOrVideo> getAudio()
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 audio property.
For example, to add a new item, do as follows:
getAudio().add(newItem);
Objects of the following type(s) are allowed in the list
AudioOrVideo
public List<Image> getImage()
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 image property.
For example, to add a new item, do as follows:
getImage().add(newItem);
Objects of the following type(s) are allowed in the list
Image
public List<AudioOrVideo> getVideo()
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 video property.
For example, to add a new item, do as follows:
getVideo().add(newItem);
Objects of the following type(s) are allowed in the list
AudioOrVideo
Copyright © 2018 The Apache Software Foundation. All rights reserved.