Copyright© 2008-2022 Sitevision AB, all rights reserved.
Package | Description |
---|---|
senselogic.sitevision.api.script.factory |
Instance creation interfaces that might be needed when using a template language (such as Velocity)
|
Modifier and Type | Method and Description |
---|---|
TypedArgument |
InstanceCreatorUtil.getBooleanArgument(boolean aBoolean)
Gets a typed argument for a
boolean primitive. |
TypedArgument |
InstanceCreatorUtil.getByteArgument(byte aByte)
Gets a typed argument for a
byte primitive. |
TypedArgument |
InstanceCreatorUtil.getCharArgument(char aChar)
Gets a typed argument for a
char primitive. |
TypedArgument |
InstanceCreatorUtil.getCustomArgument(String aQualifiedClassName,
Object aValue)
Gets a typed argument that specifies a certain class/interface for an object.
|
TypedArgument |
InstanceCreatorUtil.getDoubleArgument(double aDouble)
Gets a typed argument for a
double primitive. |
TypedArgument |
InstanceCreatorUtil.getEnumArgument(String aQualifiedEnumClassName,
Object anEnum)
Gets a typed argument for an
Enum value for a specified enum class. |
TypedArgument |
InstanceCreatorUtil.getFloatArgument(float aFloat)
Gets a typed argument for a
float primitive. |
TypedArgument |
InstanceCreatorUtil.getIntArgument(int anInt)
Gets a typed argument for a
int primitive. |
TypedArgument |
InstanceCreatorUtil.getLongArgument(long aLong)
Gets a typed argument for a
long primitive. |
TypedArgument |
InstanceCreatorUtil.getNullArgument(String aQualifiedClassName)
Gets a typed argument for a
null value for a specified class/interface. |
TypedArgument |
InstanceCreatorUtil.getObjectArgument(Object aValue)
Gets a typed argument for an
Object . |
TypedArgument |
InstanceCreatorUtil.getShortArgument(short aShort)
Gets a typed argument for a
short primitive. |
Modifier and Type | Method and Description |
---|---|
Object |
InstanceCreatorUtil.getArgumentInstance(String aQualifiedClassName,
TypedArgument aConstructorArgument)
Creates and returns an instance of a specified Java class using a single argument constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
InstanceCreatorUtil.getArgumentsInstance(String aQualifiedClassName,
List<TypedArgument> aConstructorArguments)
Creates and returns an instance of a specified Java class using a multiple argument constructor.
|
Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.