org.jostraca.section
Class PythonIndenter

java.lang.Object
  extended byorg.jostraca.section.Identity
      extended byorg.jostraca.section.PythonIndenter
All Implemented Interfaces:
Modifier

public class PythonIndenter
extends Identity

Indent insert statements properly. Note: tab support is flawed: either use tabs exclusively or use only spaces! In fact this class could really do with a complete rewrite! anyone?


Field Summary
 
Fields inherited from class org.jostraca.section.Identity
CN
 
Constructor Summary
PythonIndenter()
           
 
Method Summary
 Section modify(Section pSection, PropertySet pPropertySet)
          Modify the Section.
 
Methods inherited from class org.jostraca.section.Identity
checkNulls, modify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PythonIndenter

public PythonIndenter()
Method Detail

modify

public Section modify(Section pSection,
                      PropertySet pPropertySet)
               throws ModifierException
Modify the Section.

Specified by:
modify in interface Modifier
Overrides:
modify in class Identity
Parameters:
pSection - Section to modify.
pPropertySet - PropertySet which may contain parameters for the modification.
Throws:
ModifierException


Copyright © 2000-2002 Richard Rodger