|
Cantaloop CGimlet - API Documentation, Version: 0.2.0, Date: 2002-05-13 21:30 CEST | ||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractCodeWriter
instance.
AbstractCodeWriter
instance.
Modifier
.append(s, new String[] { a1 });
.
CGUtils.sprintf(String,String[])
with the given arguments and appends the result to the body.
append(s, new String[] { a1, a2 });
.
append(s, new String[] { a1, a2, a3 });
.
initProperties(root);
replaceProperties(root);
getProperties();
map
contains the given key
.
CodeGenerationException
with the given
error message if obj == null
.
CodeGenerationException
with the given
error message if the boolean
parameter condition
is false.
expr
.
CodeGenerationException
instance.
CodeGenerationException
instance.
CodeCompiler
aborts the
compilation due to an error or exits with an error code.CompileException
instance with the
given error message.
<handlerdef/>
element of the project file
must implement this interface.key
is not found in
this instance.
key
is not found in
this instance.
execute
should be called only by ant.
key
is not found in
this instance.
pkg
with name name
.
lang
that is configured with
dirname
as basedir.
QName
of the elements that
contains the options.
key
.
handlerType
.
ProjectGenerator
.
ProjectGenerator
is logging on.
CodeGenerationException
.
key
.
key.
- getOption(String, String) -
Method in class org.cantaloop.cgimlet.Options
- Get the option with key
key
.
- getOptions() -
Method in class org.cantaloop.cgimlet.OptionReader
- Get the options instance the values are written to.
- getPackage() -
Method in interface org.cantaloop.cgimlet.lang.ClassTemplate
- Get the package the class is contained in.
- getPackage() -
Method in class org.cantaloop.cgimlet.lang.java.JClassTemplate
-
- getPrettyPrintConfiguration() -
Method in class org.cantaloop.cgimlet.lang.AbstractCodeWriter
-
- getPrettyPrintConfiguration() -
Method in interface org.cantaloop.cgimlet.lang.CodeWriter
- Get the configuration file for the pretty printer.
- getProjectDocument() -
Method in class org.cantaloop.cgimlet.ProjectGenerator
- Get the document for the project file.
- getProjectGenerator() -
Static method in class org.cantaloop.cgimlet.ProjectRunner
- Get the project generator of the last run.
- getProperties() -
Method in class org.cantaloop.cgimlet.PropertyParser
- Returns the properties the parser has read.
- getProperties() -
Method in class org.cantaloop.cgimlet.ProjectGenerator
- Get the properties of this project
- getQName(String, Element) -
Static method in class org.cantaloop.cgimlet.XMLUtils
- Get the
QName
of a raw name.
- getResultMap() -
Method in class org.cantaloop.cgimlet.ProjectGenerator
- Returns the results the handlers.
- getReturnType() -
Method in interface org.cantaloop.cgimlet.lang.MethodTemplate
-
- getReturnType() -
Method in class org.cantaloop.cgimlet.lang.java.JMethodTemplate
-
- getRootElement() -
Method in class org.cantaloop.cgimlet.OptionReader
- Get the root element of this OptionReader.
- getSetType() -
Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns the type that represent a set in the concrete programming
language.
- getSetType() -
Method in class org.cantaloop.cgimlet.lang.java.JLanguageFactory
-
- getStdErr() -
Method in class org.cantaloop.cgimlet.lang.CompileException
- Returns the message that was written to standard error by
the compiler.
- getStdOut() -
Method in class org.cantaloop.cgimlet.lang.CompileException
- Returns the message that was written to standard error by
the compiler.
- getStringType() -
Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns the type that represents a string in the concrete
programming language.
- getStringType() -
Method in class org.cantaloop.cgimlet.lang.java.JLanguageFactory
-
- getTargetDir() -
Method in interface org.cantaloop.cgimlet.lang.CodeCompiler
- Returns the target directory of this compiler.
- getTargetDir() -
Method in class org.cantaloop.cgimlet.lang.java.JCompiler
-
- getter(FieldTemplate) -
Method in class org.cantaloop.cgimlet.lang.AbstractUtils
-
- getter(FieldTemplate) -
Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Factory method that returns a template for a get-method.
- getter(String, FieldTemplate) -
Method in interface org.cantaloop.cgimlet.lang.CGUtils
- Factory method that returns a template for a get-method.
- getter(String, FieldTemplate) -
Method in class org.cantaloop.cgimlet.lang.java.JUtils
-
- getType() -
Method in interface org.cantaloop.cgimlet.lang.FieldTemplate
-
- getType() -
Method in class org.cantaloop.cgimlet.lang.java.JFieldTemplate
-
- getType(String) -
Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns a type for the given name.
- getType(String) -
Method in class org.cantaloop.cgimlet.lang.java.JLanguageFactory
-
- getUsage() -
Static method in class org.cantaloop.cgimlet.Main
- Returns a string that contains information about
how to use the codegeneration from the commandline.
- getUtils() -
Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
-
- getUtils() -
Method in class org.cantaloop.cgimlet.lang.java.JLanguageFactory
-
- getValueAttributeName() -
Method in class org.cantaloop.cgimlet.OptionReaderConfigurator
- Get the name of the attribute that holds the
value of the option
- getVersion() -
Static method in class org.cantaloop.cgimlet.ProjectRunner
- Returns the version string.
- getVoidType() -
Method in interface org.cantaloop.cgimlet.lang.LanguageFactory
- Returns the type that represent no type in the concrete programming
language.
- getVoidType() -
Method in class org.cantaloop.cgimlet.lang.java.JLanguageFactory
-
IDManager
helps you to avaid naming-conflicts in your generated
code. root
.
methodName
.
methodName
with the given parameter.
param1, param2
as parameter.
methodName
with the given parameters.
methodName
with param1, param2
as parameter.
methodName
.
param1
as parameter.
methodName
with param1
as parameter.
param1, param2
as parameter.
methodName
with the given parameters.
methodName
with param1, param2
as parameter.
methodName
.
methodName
with the given parameter.
param1, param2
as parameter.
methodName
with the given parameters.
methodName
with param1, param2
as parameter.
methodName
.
param1
as parameter.
methodName
with param1
as parameter.
param1, param2
as parameter.
methodName
with the given parameters.
methodName
with param1, param2
as parameter.
CodeWriter
for the java programming language.JFieldTemplate
instance.
JFieldTemplate
instance.
LanguageFactory
for the java programming language.JMethodTemplate
instance.
ProjectGenerator.setLogLevel(int)
.
ProjectGenerator.setLogLevel(int)
.
ProjectGenerator.setLogLevel(int)
.
mapPut("map", key, value)
.
put
method on the
map named mapName
with the given key and value.
mapStrPut("map", key, value)
.
mapPut
except that key will be quoted.
parent
that are in namespace ns
.
newInstance(type, name, type);
.
implType
and stores that instance in the variable name
.
OptionReader
to read
configuration options.
OptionReader
instance.
OptionReader
instance.
OptionReader
instance.
OptionReader
to your needs.OptionReaderConfigurator(new QName("option", ns))
.
OptionReaderConfigurator(elemName, "name", "value")
.
OptionReaderConfigurator
instance.
Options
instance without
default values.
Options
instance with
the default values found in def
OptionSetter
instance can be attached to
a OptionReader
to control to way how options
are processed.PropertyParser.apply(org.dom4j.Element)
instead.
f
and return the xml document.
value
and resolve all properties in the given
string.CodeGenerationException
if a property
cannot be resolved.
ProjectGenerator
is attached to every
projectfile. <property name="basedir" value="."/>
This sets the property `basedir' to the value `.'. PropertyParser(new QName("property", ns))
.
PropertyParser(elemName, "name", "value")
.
PropertyParser
instance.
root
.
root
.
name
against the
base directory of the project.
javac
in an external process if tools.jar
could not be
found.
key
to value
.
sprintf(str, new String[]{arg1})
.
sprintf
routine in C.
sprintf(str, new String[]{arg1,arg2})
.
sprintf(str, new String[]{arg1,arg2,arg3})
.
String
into a boolean.
The "boolean value" of a string is defined as following:"yes".equals(s) || "true".equals(s) || "on".equals(s)
.
If s == null
the value of def
is
returned.
s
into a identifier which can be used
for final fields etc.
toIdentifier(s, false);
s
into an indentifier.
tmpl
.
tmpls
.
|
Copyright 2001, 2002 Stefan Heimann, David Leuschner. All rights reserved. | ||||||||
PREV NEXT | FRAMES NO FRAMES |