org.jostraca.directive
Class OneLineDirective

java.lang.Object
  extended byorg.jostraca.directive.OneLineDirective
All Implemented Interfaces:
Directive

public class OneLineDirective
extends java.lang.Object
implements Directive

Remove new lines and compress space in text elements. Usage:
  <% @oneLine %>   <% @_ %>


Constructor Summary
OneLineDirective()
           
 
Method Summary
 java.lang.String[] getAliases()
          Should include value of getName()
 java.lang.String getName()
           
 void perform(java.lang.String pDirectiveName, java.lang.String pArguments, BasicUnitList pBasicUnitList, TemplateActionHandler pTemplateActionHandler, PropertySet pPropertySet, TextualTransformManagerTable pTextualTransformManagerTable)
          REVIEW: this interface WILL change.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneLineDirective

public OneLineDirective()
                 throws DirectiveException
Method Detail

perform

public void perform(java.lang.String pDirectiveName,
                    java.lang.String pArguments,
                    BasicUnitList pBasicUnitList,
                    TemplateActionHandler pTemplateActionHandler,
                    PropertySet pPropertySet,
                    TextualTransformManagerTable pTextualTransformManagerTable)
             throws DirectiveException
Description copied from interface: Directive
REVIEW: this interface WILL change.

Specified by:
perform in interface Directive
Throws:
DirectiveException

getName

public java.lang.String getName()
Specified by:
getName in interface Directive

getAliases

public java.lang.String[] getAliases()
Should include value of getName()

Specified by:
getAliases in interface Directive


Copyright © 2000-2002 Richard Rodger