fr.ove.utils
Class FormaterRepository

java.lang.Object
  extended byfr.ove.utils.FormaterRepository
All Implemented Interfaces:
Formater
Direct Known Subclasses:
MathMLFormater, OpenMathFormater, PMathMLFormater

public abstract class FormaterRepository
extends java.lang.Object
implements Formater

A formater repository.
The aim of this class is to format, as a string, an object by the means of @see Formater the instance manages.
To each objet (or part of object) corresponds a @see Formater.

The different subclasses have to implement the @see format method in the @see Formater interface the instance pretends to implement.

Version:
1.0 07/01/2000
Author:
© 2000 DIRAT Laurent

Constructor Summary
FormaterRepository()
           
 
Method Summary
 void decIndent()
          Decrements the indentation.
abstract  Formater getFormater(java.lang.String objectId)
          Returns the formater with the specified identifier.
 java.lang.String getIndent()
          Returns the current indentation
 void incIndent()
          Increments the indentation.
 void initIndent()
          Init indentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ove.utils.Formater
format
 

Constructor Detail

FormaterRepository

public FormaterRepository()
Method Detail

getIndent

public java.lang.String getIndent()
Returns the current indentation


incIndent

public void incIndent()
Increments the indentation.


decIndent

public void decIndent()
Decrements the indentation.


initIndent

public void initIndent()
Init indentation


getFormater

public abstract Formater getFormater(java.lang.String objectId)
Returns the formater with the specified identifier.

Parameters:
objectId - the object (to format) identifier.


Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.