public class Media extends Object
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="{urn:xmpp:media-element}uri" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Integer |
height |
protected List<Uri> |
uri |
protected Integer |
width |
Constructor and Description |
---|
Media() |
Modifier and Type | Method and Description |
---|---|
Integer |
getHeight()
Gets the value of the height property.
|
List<Uri> |
getUri()
Gets the value of the uri property.
|
Integer |
getWidth()
Gets the value of the width property.
|
void |
setHeight(Integer value)
Sets the value of the height property.
|
void |
setWidth(Integer value)
Sets the value of the width property.
|
public List<Uri> getUri()
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 uri property.
For example, to add a new item, do as follows:
getUri().add(newItem);
Objects of the following type(s) are allowed in the list
Uri
public Integer getHeight()
Integer
public void setHeight(Integer value)
value
- allowed object is
Integer
public Integer getWidth()
Integer
Copyright © 2020. All rights reserved.