Class AbstractLinkBuilder

  • All Implemented Interfaces:
    ILinkBuilder
    Direct Known Subclasses:
    StandardLinkBuilder

    public abstract class AbstractLinkBuilder
    extends 
    implements ILinkBuilder

    Base abstract implementation for link builders implementing the ILinkBuilder interface.

    Since:
    3.0.0
    Author:
    Daniel Fernández
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractLinkBuilder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      getName()
      Returns the name of the link builder.
      getOrder()
      Return the order in which this link builder will be executed in the chain when several link builders are set for the same Template Engine.
      void  name)
      Sets a name for this link builder.
      void  order)
      Sets a new order for the link builder.
      • Methods inherited from class java.lang.

        , , , , , , , , , ,
    • Constructor Detail

      • AbstractLinkBuilder

        protected AbstractLinkBuilder()
    • Method Detail

      • getName

        public final  getName()
        Description copied from interface: ILinkBuilder

        Returns the name of the link builder.

        Specified by:
        getName in interface ILinkBuilder
        Returns:
        the name of the link builder
      • setName

        public void setName​( name)

        Sets a name for this link builder.

        Parameters:
        name - the new name
      • getOrder

        public final  getOrder()
        Description copied from interface: ILinkBuilder

        Return the order in which this link builder will be executed in the chain when several link builders are set for the same Template Engine.

        Specified by:
        getOrder in interface ILinkBuilder
        Returns:
        the order of this builder in the chain.
      • setOrder

        public void setOrder​( order)

        Sets a new order for the link builder.

        Parameters:
        order - the new order