org.jamon.codegen
Class DeclaredMethodUnit
java.lang.Object
org.jamon.codegen.AbstractStatementBlock
org.jamon.codegen.AbstractUnit
org.jamon.codegen.AbstractInnerUnit
org.jamon.codegen.DeclaredMethodUnit
- All Implemented Interfaces:
- MethodUnit, StatementBlock, Unit
public class DeclaredMethodUnit
- extends AbstractInnerUnit
- implements MethodUnit
| Methods inherited from class org.jamon.codegen.AbstractInnerUnit |
addFragmentArg, addOptionalArg, addRequiredArg, getDeclaredRequiredArgs, getFragmentArgs, getOptionalArgs, getOptionalArgsSet, getRenderArgs, getRequiredArgs, getSignatureOptionalArgs, getSignatureRequiredArgs, getVisibleArgs, hasOptionalArgs, hasRequiredArgs |
| Methods inherited from class org.jamon.codegen.AbstractUnit |
addArgName, addFragment, addOptionalArg, addRequiredArg, generateInterfaceSummary, generateRenderBody, getErrors, getFragmentUnitIntf, getName, getParentUnit, printArgs, printArgsDecl, printRenderArgs, printRenderArgsDecl, printRenderBodyEnd |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeclaredMethodUnit
public DeclaredMethodUnit(java.lang.String p_name,
TemplateUnit p_parent,
ParserErrorsImpl p_errors,
org.jamon.api.Location p_location,
boolean p_isAbstract)
DeclaredMethodUnit
public DeclaredMethodUnit(java.lang.String p_name,
TemplateUnit p_parent,
ParserErrorsImpl p_errors,
org.jamon.api.Location p_location)
getOptionalArgDefaultMethod
public java.lang.String getOptionalArgDefaultMethod(OptionalArgument p_arg)
- Specified by:
getOptionalArgDefaultMethod in interface MethodUnit
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract in interface MethodUnit
canThrowIOException
public boolean canThrowIOException()
- Specified by:
canThrowIOException in interface Unit- Overrides:
canThrowIOException in class AbstractStatementBlock
getOptionalArgsWithDefaults
public java.util.Collection<OptionalArgument> getOptionalArgsWithDefaults()
- Specified by:
getOptionalArgsWithDefaults in interface MethodUnit
getDefaultForArg
public java.lang.String getDefaultForArg(OptionalArgument p_arg)
- Specified by:
getDefaultForArg in interface MethodUnit
isOverride
public boolean isOverride()
- Specified by:
isOverride in interface MethodUnit
jamon