Alignment API and Server 4.1.${version.update}

fr.inrialpes.exmo.align.impl.renderer
Class IndentedRendererVisitor

java.lang.Object
  extended by fr.inrialpes.exmo.align.impl.renderer.IndentedRendererVisitor
Direct Known Subclasses:
OWLAxiomsRendererVisitor, RDFRendererVisitor

public class IndentedRendererVisitor
extends Object

Structure for indented rendering

Version:
$Id$
Author:
Jérôme Euzenat

Field Summary
protected  String INDENT
           
protected  String linePrefix
          String for the pretty linebreak.
protected  String NL
           
private  int prefixCount
           
(package private)  PrintWriter writer
           
 
Constructor Summary
IndentedRendererVisitor(PrintWriter writer)
           
 
Method Summary
private  void calcPrefix()
           
protected  void decreaseIndent()
          Decreases the lineprefix by one INDENT
protected  void increaseIndent()
          Increases the lineprefix by one INDENT
protected  void indentedOutput()
           
protected  void indentedOutput(String s)
           
protected  void indentedOutputln()
           
protected  void indentedOutputln(String s)
           
 void setIndentString(String ind)
           
 void setNewLineString(String nl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

writer

PrintWriter writer

INDENT

protected String INDENT

NL

protected String NL

linePrefix

protected String linePrefix
String for the pretty linebreak.


prefixCount

private int prefixCount
Constructor Detail

IndentedRendererVisitor

public IndentedRendererVisitor(PrintWriter writer)
Method Detail

setIndentString

public void setIndentString(String ind)

setNewLineString

public void setNewLineString(String nl)

increaseIndent

protected void increaseIndent()
Increases the lineprefix by one INDENT


decreaseIndent

protected void decreaseIndent()
Decreases the lineprefix by one INDENT


calcPrefix

private void calcPrefix()

indentedOutputln

protected void indentedOutputln(String s)

indentedOutput

protected void indentedOutput(String s)

indentedOutputln

protected void indentedOutputln()

indentedOutput

protected void indentedOutput()

Alignment API and Server 4.1.${version.update}

(C) INRIA & friends, 2003-${curryear}