org.jostraca.transform
Class RemoveExtraWhiteSpace

java.lang.Object
  extended byorg.jostraca.transform.TextualTransformSupport
      extended byorg.jostraca.transform.RemoveExtraWhiteSpace
All Implemented Interfaces:
TextualTransform

public class RemoveExtraWhiteSpace
extends TextualTransformSupport

remove surrounding whitespace from template text WARNING: does not work, should be renamed to RemoveExtraWhiteSpaceTransform


Field Summary
 
Fields inherited from class org.jostraca.transform.TextualTransformSupport
iAttributes, iNeedsReparse, iOpenScriptMarker
 
Fields inherited from interface org.jostraca.transform.TextualTransform
ATTR_sectionset, ATTR_unit_attr, ATTR_unit_origin, ATTR_unit_set, NEWLINE
 
Constructor Summary
RemoveExtraWhiteSpace()
           
 
Method Summary
 void setParameters(PropertySet pPropertySet)
          Set the parameters, if any, that this transform uses.
 java.lang.String transform(java.lang.String pToTransform)
          Transform the supplied String.
 
Methods inherited from class org.jostraca.transform.TextualTransformSupport
checkForReparse, getName, needsReparse, setParameters, setParametersImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveExtraWhiteSpace

public RemoveExtraWhiteSpace()
Method Detail

transform

public java.lang.String transform(java.lang.String pToTransform)
Transform the supplied String.

Specified by:
transform in interface TextualTransform
Specified by:
transform in class TextualTransformSupport
Parameters:
pToTransform - String to transform.
See Also:
TextualTransform

setParameters

public void setParameters(PropertySet pPropertySet)
Description copied from interface: TextualTransform
Set the parameters, if any, that this transform uses. Throw org.jostraca.transform.TextualTransformException if parameters are invalid.

Specified by:
setParameters in interface TextualTransform
Overrides:
setParameters in class TextualTransformSupport
See Also:
TextualTransform


Copyright © 2000-2002 Richard Rodger