Class PartialCode

    • Field Detail

      • extension

        protected final java.lang.String extension
      • dir

        protected final java.lang.String dir
      • recrusionLimit

        protected int recrusionLimit
      • isRecursive

        protected boolean isRecursive
    • Method Detail

      • execute

        public java.io.Writer execute​(java.io.Writer writer,
                                      java.util.List<java.lang.Object> scopes)
        Description copied from class: DefaultCode
        The default behavior is to run the codes and append the captured text.
        Specified by:
        execute in interface Code
        Overrides:
        execute in class DefaultCode
        Parameters:
        writer - The writer to write the output to
        scopes - The scopes to evaluate the embedded names against.
      • executePartial

        protected java.io.Writer executePartial​(java.io.Writer writer,
                                                java.util.List<java.lang.Object> scopes)
      • partialName

        protected java.lang.String partialName()
        Builds the file name to be included by this partial tag. Default implementation ppends the tag contents with the current file's extension.
        Returns:
        The filename to be included by this partial tag