Class 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 Detail

      • imageStyles

        protected List<Style> imageStyles
    • Constructor Detail

      • Styles

        public Styles()
    • 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​(Style... values)