Class Fragment


  • public final class Fragment
    extends 

    Class that models the result of a FragmentExpression, i.e. the result of a fragment expression in the form of ~{template :: fragment? (parameters)?}

    Since:
    3.0.0
    Author:
    Daniel Fernández
    • Field Detail

      • EMPTY_FRAGMENT

        public static final Fragment EMPTY_FRAGMENT
    • Constructor Detail

      • Fragment

        public Fragment​(TemplateModel templateModel,
                        <,​> parameters,
                        boolean syntheticParameters)
    • Method Detail

      • getParameters

        public <,​> getParameters()
      • hasSyntheticParameters

        public boolean hasSyntheticParameters()
      • write

        public void write​( writer)
                   throws 
        Throws:
      • toString

        public  toString()
        Overrides:
         in class