EAF 7.6 Util

org.enhydra.xml
Class Indent

java.lang.Object
  extended by org.enhydra.xml.Indent

public class Indent
extends java.lang.Object

Version:
1.0
Author:
Tweety A class that describes format of the output xml file.

Field Summary
static java.lang.String DEFAULT_TAB
          Default tab value.
 
Constructor Summary
Indent(int ind, java.lang.String tab)
          Constructs new Indent with the given size of indentation and the tab string.
 
Method Summary
 void decrement()
          Decrements the indentation size.
 java.lang.String getTab()
          Returns the tab string.
 void increment()
          Increments the indentation size.
 void setTab(java.lang.String tab)
          Sets the tab string.
 java.lang.String toString()
          toString method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_TAB

public static java.lang.String DEFAULT_TAB
Default tab value.

Constructor Detail

Indent

public Indent(int ind,
              java.lang.String tab)
Constructs new Indent with the given size of indentation and the tab string.

Parameters:
ind - size of indentation.
tab - tab string.
Method Detail

toString

public java.lang.String toString()
toString method

Overrides:
toString in class java.lang.Object

increment

public void increment()
Increments the indentation size.


decrement

public void decrement()
Decrements the indentation size.


getTab

public java.lang.String getTab()
Returns the tab string.


setTab

public void setTab(java.lang.String tab)
Sets the tab string.


EAF 7.6 Util