|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jostraca.BasicTemplateScript
Handles template script indentification. Template file names matching: /foo[-._]bar\.jtm/ indicate that the template script language is 'bar'. The property main.TemplateScript can override this. All template script names are converted to canonical form. Property names of the form: jostraca.TemplateScript.CanonicalName.pl = perl indicate mappings to canonical names.
| Field Summary | |
static java.lang.String |
CN
|
| Constructor Summary | |
protected |
BasicTemplateScript()
|
| Method Summary | |
static TemplateScript |
defineByPath(java.lang.String pPath)
|
static TemplateScript |
defineByProperty(PropertySet pPropertySet)
|
java.lang.String |
getCanonicalScriptName(PropertySet pPropertySet)
Reference name for template script. |
java.lang.String |
getOriginalScriptName()
As specified in template or template file name. |
void |
setByName(java.lang.String pScriptName)
Set template script by name. |
void |
setByPath(java.lang.String pPath)
Deprecated. |
void |
setByProperty(PropertySet pPropertySet)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String CN
| Constructor Detail |
protected BasicTemplateScript()
| Method Detail |
public static TemplateScript defineByPath(java.lang.String pPath)
throws TemplateScriptException
TemplateScriptException
public static TemplateScript defineByProperty(PropertySet pPropertySet)
throws TemplateScriptException
TemplateScriptException
public void setByPath(java.lang.String pPath)
throws TemplateScriptException
setByPath in interface TemplateScriptTemplateScriptException
public void setByProperty(PropertySet pPropertySet)
throws TemplateScriptException
setByProperty in interface TemplateScriptTemplateScriptException
public void setByName(java.lang.String pScriptName)
throws TemplateScriptException
setByName in interface TemplateScriptTemplateScriptExceptionpublic java.lang.String getOriginalScriptName()
TemplateScript
getOriginalScriptName in interface TemplateScriptpublic java.lang.String getCanonicalScriptName(PropertySet pPropertySet)
TemplateScript
getCanonicalScriptName in interface TemplateScriptpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||