Skip navigation links


oracle.idm.io
Class Indenter

java.lang.Object
  extended by oracle.idm.io.Indenter


public class Indenter
extends java.lang.Object

This is a support class that maintains indentation properties for classes that support indentable interface.


Constructor Summary
Indenter()
           

 

Method Summary
 void decrease()
          This method decreases indentation level.
 java.lang.String getIndent()
          Getter for the indent property.
 java.lang.String getIndents()
          Getter for the indents property.
 java.lang.String getIndents(int level)
          Getter for the indent string concatenated level times.
 int getLevel()
          Getter for the level property.
 void increase()
          This method increases indentation level.
 void setIndent(java.lang.String indent)
          Setter for the indent property.
 void setLevel(int level)
          Setter for the level property.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Indenter

public Indenter()

Method Detail

getLevel

public int getLevel()
Getter for the level property.

setLevel

public void setLevel(int level)
Setter for the level property.

getIndent

public java.lang.String getIndent()
Getter for the indent property.

setIndent

public void setIndent(java.lang.String indent)
Setter for the indent property.

getIndents

public java.lang.String getIndents()
Getter for the indents property. This method returns indent string concatenated level times.

getIndents

public java.lang.String getIndents(int level)
Getter for the indent string concatenated level times.

increase

public void increase()
This method increases indentation level.

decrease

public void decrease()
This method decreases indentation level.

Skip navigation links