|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jostraca.transform.TextualTransformSupport
Abstract class providing a support implementation of TextualTransform. Subclass to implement a TextualTransform.
| Field Summary | |
protected java.util.Hashtable |
iAttributes
|
protected boolean |
iNeedsReparse
|
protected java.lang.String |
iOpenScriptMarker
|
| Fields inherited from interface org.jostraca.transform.TextualTransform |
ATTR_sectionset, ATTR_unit_attr, ATTR_unit_origin, ATTR_unit_set, NEWLINE |
| Constructor Summary | |
TextualTransformSupport()
|
|
| Method Summary | |
boolean |
checkForReparse(java.lang.String pContent)
Repares needed if pContent contains open script marker (default: <%) |
java.lang.String |
getName()
Name of the transform |
boolean |
needsReparse()
Request a reparse of the From text, as a script marker was inserted |
void |
setParameters(PropertySet pPropertySet)
Set the parameters, if any, that this transform uses. |
void |
setParameters(PropertySet pPropertySet,
java.util.Hashtable pAttributes)
Set the parameters, if any, that this transform uses. |
protected void |
setParametersImpl(PropertySet pPropertySet)
|
abstract java.lang.String |
transform(java.lang.String pFrom)
Transform the supplied String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean iNeedsReparse
protected java.lang.String iOpenScriptMarker
protected java.util.Hashtable iAttributes
| Constructor Detail |
public TextualTransformSupport()
| Method Detail |
public abstract java.lang.String transform(java.lang.String pFrom)
throws TransformException
TextualTransform
transform in interface TextualTransformpFrom - String to transform. Assume non null.
TransformExceptionTextualTransform
public void setParameters(PropertySet pPropertySet)
throws TransformException
TextualTransform
setParameters in interface TextualTransformpPropertySet - Parameters are taken from this PropertySet. Assume non null.
TransformExceptionTextualTransform
public void setParameters(PropertySet pPropertySet,
java.util.Hashtable pAttributes)
throws TransformException
TextualTransform
setParameters in interface TextualTransformpPropertySet - parameters are taken from this PropertySet. Assume non null.pAttributes - arbitrary parameter objects
TransformExceptionTextualTransformpublic boolean needsReparse()
TextualTransform
needsReparse in interface TextualTransformpublic java.lang.String getName()
TextualTransform
getName in interface TextualTransformpublic boolean checkForReparse(java.lang.String pContent)
<%)
protected void setParametersImpl(PropertySet pPropertySet)
throws TransformException
TransformException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||