gate.yam.format
Class SpacesTable

java.lang.Object
  extended by gate.yam.format.SpacesTable

public class SpacesTable
extends Object

A class to store desired min, max, norm spaces before and after the unit annotation type.

Author:
Niraj Aswani

Constructor Summary
SpacesTable(int minSpacesBefore, int maxSpacesBefore, int normSpacesBefore, int minSpacesAfter, int maxSpacesAfter, int normSpacesAfter)
          Constructor
 
Method Summary
 int getMaxSpacesAfter()
          Returns the maximum number of desired spaces after the annotation
 int getMaxSpacesBefore()
          Returns the maximum number of desired spaces before the annotation
 int getMinSpacesAfter()
          Returns the minimum number of desired spaces after the annotation
 int getMinSpacesBefore()
          Returns the minimum number of desired spaces before the annotation
 int getNormSpacesAfter()
          Returns the normal number of desired spaces after the annotation
 int getNormSpacesBefore()
          Returns the normal number of desired spaces before the annotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpacesTable

public SpacesTable(int minSpacesBefore,
                   int maxSpacesBefore,
                   int normSpacesBefore,
                   int minSpacesAfter,
                   int maxSpacesAfter,
                   int normSpacesAfter)
Constructor

Parameters:
minSpacesBefore -
maxSpacesBefore -
normSpacesBefore -
minSpacesAfter -
maxSpacesAfter -
normSpacesAfter -
Method Detail

getMinSpacesBefore

public int getMinSpacesBefore()
Returns the minimum number of desired spaces before the annotation

Returns:

getMaxSpacesBefore

public int getMaxSpacesBefore()
Returns the maximum number of desired spaces before the annotation

Returns:

getNormSpacesBefore

public int getNormSpacesBefore()
Returns the normal number of desired spaces before the annotation

Returns:

getMinSpacesAfter

public int getMinSpacesAfter()
Returns the minimum number of desired spaces after the annotation

Returns:

getMaxSpacesAfter

public int getMaxSpacesAfter()
Returns the maximum number of desired spaces after the annotation

Returns:

getNormSpacesAfter

public int getNormSpacesAfter()
Returns the normal number of desired spaces after the annotation

Returns: