All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jamon.codegen.Unit Maven / Gradle / Ivy

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package org.jamon.codegen;

import java.util.Collection;
import java.util.List;

import org.jamon.compiler.ParserErrorImpl;

public interface Unit extends StatementBlock {
  String getName();
  List getFragmentArgs();
  List getSignatureRequiredArgs();
  Collection getSignatureOptionalArgs();
  void printRenderArgsDecl(CodeWriter writer);

  void generateRenderBody(CodeWriter writer, TemplateDescriber describer) throws ParserErrorImpl;

  /**
   * @return {@code true} if this unit does IO, or an extension of this unit could do IO.
   */
  boolean doesIO();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy