Class OptTrain

  • All Implemented Interfaces:
    Function<com.jcabi.xml.XML,​com.jcabi.xml.XML>, Optimization

    public final class OptTrain
    extends Object
    implements Optimization
    Optimisation train of XLS`s.
    Since:
    0.28.12
    • Constructor Detail

      • OptTrain

        public OptTrain()
        The default constructor with the default preset of xsl optimizations.
      • OptTrain

        public OptTrain​(Optimization delegate,
                        String xls)
        Constructor for single StClasspath optimization.
        Parameters:
        delegate - Optimizations that have to be done before.
        xls - File from classpath.
      • OptTrain

        public OptTrain​(Optimization delegate,
                        com.yegor256.xsline.Train<com.yegor256.xsline.Shift> shifts)
        The default constructor.
        Parameters:
        delegate - Optimizations that have to be done before.
        shifts - To apply
    • Method Detail

      • apply

        public com.jcabi.xml.XML apply​(com.jcabi.xml.XML xml)
        Specified by:
        apply in interface Function<com.jcabi.xml.XML,​com.jcabi.xml.XML>