|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A textual tranformation is unary operation on a block of text which returns the block of text modified in some way. For example: the perl subsitution regexp: s/a/b/g which transforms all 'a's into 'b's.
| Field Summary | |
static java.lang.String |
ATTR_sectionset
|
static java.lang.String |
ATTR_unit_attr
|
static java.lang.String |
ATTR_unit_origin
|
static java.lang.String |
ATTR_unit_set
|
static java.lang.String |
NEWLINE
|
| Method Summary | |
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. |
java.lang.String |
transform(java.lang.String pFrom)
Transform the supplied String. |
| Field Detail |
public static final java.lang.String NEWLINE
public static final java.lang.String ATTR_unit_origin
public static final java.lang.String ATTR_unit_attr
public static final java.lang.String ATTR_unit_set
public static final java.lang.String ATTR_sectionset
| Method Detail |
public java.lang.String transform(java.lang.String pFrom)
throws TransformException
pFrom - String to transform. Assume non null.
TransformException
public void setParameters(PropertySet pPropertySet)
throws TransformException
pPropertySet - Parameters are taken from this PropertySet. Assume non null.
TransformException
public void setParameters(PropertySet pPropertySet,
java.util.Hashtable pAttributes)
throws TransformException
pPropertySet - parameters are taken from this PropertySet. Assume non null.pAttributes - arbitrary parameter objects
TransformExceptionpublic boolean needsReparse()
public java.lang.String getName()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||