userInterface.interfaceUtility
Class Format

java.lang.Object
  extended by userInterface.interfaceUtility.Format
Direct Known Subclasses:
Button, Element, Error, Filter, InformationPage, Login, Navigation, Patient, Physician, Procedure, Shell, SortableTable

public class Format
extends java.lang.Object

Format the tags with the appropriate indents.

Author:
03chowch

Constructor Summary
Format()
           
 
Method Summary
static java.lang.String alignCloseTag(java.lang.String data)
          Indent closing tag with the proper spacing.
static java.lang.String alignOpenTag(java.lang.String data)
          Indent opening tag with proper spacing.
static java.lang.String alignTag(java.lang.String data)
          Indent new tag with the proper spacing.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Format

public Format()
Method Detail

alignOpenTag

public static java.lang.String alignOpenTag(java.lang.String data)
Indent opening tag with proper spacing. The first call to this method will not indent.

Parameters:
data - - the data to indent
Returns:
data with the proper indentation

alignCloseTag

public static java.lang.String alignCloseTag(java.lang.String data)
Indent closing tag with the proper spacing.

Parameters:
data - - the data to indent
Returns:
data with the proper indentation

alignTag

public static java.lang.String alignTag(java.lang.String data)
Indent new tag with the proper spacing.

Parameters:
data - - the data to indent
Returns:
data with the proper indentation