Alignment API and Server 4.6 (1875M)

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

java.lang.Object
  extended by fr.inrialpes.exmo.align.impl.renderer.GenericReflectiveVisitor
      extended by fr.inrialpes.exmo.align.impl.renderer.HTMLRendererVisitor
All Implemented Interfaces:
AlignmentVisitor

public class HTMLRendererVisitor
extends GenericReflectiveVisitor
implements AlignmentVisitor

Renders an alignment in HTML TODO: - add CSS categories - add resource chooser

Version:
$Id: HTMLRendererVisitor.java 1669 2012-01-31 16:43:38Z euzenat $
Author:
Jérôme Euzenat

Field Summary
(package private)  String alid
           
(package private)  Alignment alignment
           
(package private)  Cell cell
           
(package private)  boolean embedded
           
(package private)  Hashtable<String,String> nslist
           
(package private)  PrintWriter writer
           
 
Fields inherited from class fr.inrialpes.exmo.align.impl.renderer.GenericReflectiveVisitor
logger
 
Constructor Summary
HTMLRendererVisitor(PrintWriter writer)
           
 
Method Summary
 void init(Properties p)
           
 void visit(Alignment align)
           
 void visit(Cell cell)
           
 void visit(Relation rel)
           
 
Methods inherited from class fr.inrialpes.exmo.align.impl.renderer.GenericReflectiveVisitor
getMethod, subsumedInvocableMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

writer

PrintWriter writer

alignment

Alignment alignment

cell

Cell cell

nslist

Hashtable<String,String> nslist

embedded

boolean embedded

alid

String alid
Constructor Detail

HTMLRendererVisitor

public HTMLRendererVisitor(PrintWriter writer)
Method Detail

init

public void init(Properties p)
Specified by:
init in interface AlignmentVisitor

visit

public void visit(Alignment align)
           throws AlignmentException
Specified by:
visit in interface AlignmentVisitor
Throws:
AlignmentException

visit

public void visit(Cell cell)
           throws AlignmentException
Specified by:
visit in interface AlignmentVisitor
Throws:
AlignmentException

visit

public void visit(Relation rel)
           throws AlignmentException
Specified by:
visit in interface AlignmentVisitor
Throws:
AlignmentException

Alignment API and Server 4.6 (1875M)

(C) INRIA & friends, 2003-2014