Class ImageBuilder

  • All Implemented Interfaces:
    net.anotheria.asg.data.Builder<Image>

    public class ImageBuilder
    extends java.lang.Object
    implements net.anotheria.asg.data.Builder<Image>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String alias  
      protected java.lang.String alt  
      protected java.lang.String image  
      protected java.lang.String name  
      protected java.lang.String pixels  
      protected java.lang.String size  
      protected java.lang.String title  
    • Constructor Summary

      Constructors 
      Constructor Description
      ImageBuilder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ImageBuilder alias​(java.lang.String aValue)
      Sets the value of the alias attribute.
      ImageBuilder alt​(java.lang.String aValue)
      Sets the value of the alt attribute.
      Image build()  
      ImageBuilder image​(java.lang.String aValue)
      Sets the value of the image attribute.
      ImageBuilder name​(java.lang.String aValue)
      Sets the value of the name attribute.
      ImageBuilder pixels​(java.lang.String aValue)
      Sets the value of the pixels attribute.
      ImageBuilder size​(java.lang.String aValue)
      Sets the value of the size attribute.
      ImageBuilder title​(java.lang.String aValue)
      Sets the value of the title attribute.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
      • title

        protected java.lang.String title
      • alias

        protected java.lang.String alias
      • alt

        protected java.lang.String alt
      • image

        protected java.lang.String image
      • size

        protected java.lang.String size
      • pixels

        protected java.lang.String pixels
    • Constructor Detail

      • ImageBuilder

        public ImageBuilder()
    • Method Detail

      • name

        public ImageBuilder name​(java.lang.String aValue)
        Sets the value of the name attribute.
      • title

        public ImageBuilder title​(java.lang.String aValue)
        Sets the value of the title attribute.
      • alias

        public ImageBuilder alias​(java.lang.String aValue)
        Sets the value of the alias attribute.
      • alt

        public ImageBuilder alt​(java.lang.String aValue)
        Sets the value of the alt attribute.
      • image

        public ImageBuilder image​(java.lang.String aValue)
        Sets the value of the image attribute.
      • size

        public ImageBuilder size​(java.lang.String aValue)
        Sets the value of the size attribute.
      • pixels

        public ImageBuilder pixels​(java.lang.String aValue)
        Sets the value of the pixels attribute.
      • build

        public Image build()
        Specified by:
        build in interface net.anotheria.asg.data.Builder<Image>