Class Styles
- java.lang.Object
-
- org.xwiki.image.style.rest.model.jaxb.Styles
-
public class Styles extends Object
A collection of image styles.Java class for Styles complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Styles"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="imageStyle" type="{http://www.xwiki.org/imageStyle}Style" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Style>
imageStyles
-
Constructor Summary
Constructors Constructor Description Styles()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Style>
getImageStyles()
Gets the value of the imageStyles property.Styles
withImageStyles(Collection<Style> values)
Styles
withImageStyles(Style... values)
-
-
-
Method Detail
-
getImageStyles
public List<Style> getImageStyles()
Gets the value of the imageStyles property.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 imageStyles property.For example, to add a new item, do as follows:
getImageStyles().add(newItem);
Objects of the following type(s) are allowed in the list
Style
-
withImageStyles
public Styles withImageStyles(Collection<Style> values)
-
-