Class BandElementFactory


  • public class BandElementFactory
    extends TextElementFactory
    A element factory that can be used to configure bands. Unlike with the other factories, this factory does not generate new bands on each call to 'createElement'.
    Author:
    Thomas Morgner
    • Constructor Detail

      • BandElementFactory

        public BandElementFactory()
        Default Constructor that constructs generic bands.
      • BandElementFactory

        public BandElementFactory​(Band band)
        Default Constructor that configures the given band implementation.
        Parameters:
        band - the band that is being configured. Cannot be null.
    • Method Detail

      • createElement

        public Element createElement()
        Returns the created band or the band that has been specified for configuration.
        Specified by:
        createElement in class ElementFactory
        Returns:
        the band.