|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ocltf.templateobject.TemplateObject
Contains the configuration of a template object which can be made available to a template. Template objects are any objects that are made available to a template. Anything can be a template object, as long as it has a default public constructor.
Constructor Summary | |
TemplateObject()
|
Method Summary | |
void |
addPropertyReference(java.lang.String reference)
Adds a templateObject property reference (used to customize templateObjects) |
java.lang.Object |
getInstance()
Returns the template object instance. |
java.lang.String |
getName()
Gets the current name of this TemplateObjectConfig. |
Plugin |
getOwner()
Returns the owner of this templateObject. |
java.net.URL |
getResource()
The resource in which the templateObject was found. |
void |
setClassName(java.lang.String className)
Sets the class of the transformation object. |
void |
setName(java.lang.String name)
Sets the name of the transformation object (this name will be what the transformation class is stored under in the template) |
void |
setOwner(Plugin owner)
Sets the owner of this TemplateObject. |
protected void |
setProperties(java.lang.Object templateObject)
Sets all the properties of the templateObject object. |
void |
setResource(java.net.URL resource)
Sets the resource in which the templateObject was found. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TemplateObject()
Method Detail |
public java.lang.String getName()
public java.lang.Object getInstance()
protected void setProperties(java.lang.Object templateObject)
templateObject
- public void setName(java.lang.String name)
name
- public void setClassName(java.lang.String className)
className
- public void addPropertyReference(java.lang.String reference)
reference
- public void setOwner(Plugin owner)
public Plugin getOwner()
public java.net.URL getResource()
public void setResource(java.net.URL resource)
resource
- public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |