public class FragmentUnit extends AbstractInnerUnit
| Constructor and Description |
|---|
FragmentUnit(String name,
StatementBlock parent,
GenericParams genericParams,
ParserErrorsImpl errors,
org.jamon.api.Location location) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFragmentArg(FragmentArgument arg) |
void |
addOptionalArg(OptionalArgNode node) |
void |
addOptionalArg(OptionalArgument arg) |
void |
generateThrowsIOExceptionIfNecessary(CodeWriter writer) |
String |
getFragmentInterfaceName(boolean makeGeneric) |
FragmentUnit |
getFragmentUnitIntf(String path) |
void |
printInterface(CodeWriter writer,
String interfaceModifiers,
boolean isCopy) |
addRequiredArg, getDeclaredRequiredArgs, getFragmentArgs, getOptionalArgs, getOptionalArgsSet, getRenderArgs, getRequiredArgs, getSignatureOptionalArgs, getSignatureRequiredArgs, getVisibleArgs, hasOptionalArgs, hasRequiredArgsaddArgName, addFragment, addRequiredArg, compareTo, generateInterfaceSummary, generateRenderBody, getErrors, getName, getParentUnit, printArgs, printArgsDecl, printRenderArgs, printRenderArgsDecladdStatement, doesIO, getLocation, getParent, getStatements, printStatementsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStatement, getParentpublic FragmentUnit(String name, StatementBlock parent, GenericParams genericParams, ParserErrorsImpl errors, org.jamon.api.Location location)
public String getFragmentInterfaceName(boolean makeGeneric)
public void addOptionalArg(OptionalArgNode node)
addOptionalArg in interface StatementBlockaddOptionalArg in class AbstractUnitpublic void addOptionalArg(OptionalArgument arg)
addOptionalArg in class AbstractInnerUnitprotected void addFragmentArg(FragmentArgument arg)
addFragmentArg in class AbstractInnerUnitpublic FragmentUnit getFragmentUnitIntf(String path)
getFragmentUnitIntf in interface StatementBlockgetFragmentUnitIntf in class AbstractUnitpublic void printInterface(CodeWriter writer, String interfaceModifiers, boolean isCopy)
public void generateThrowsIOExceptionIfNecessary(CodeWriter writer)
Copyright © 2003–2015 Jamon developers. All rights reserved.