|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.program.blast2html.HTMLRenderer
Renders HTML version of blast-like output.
Makes an assumption that the gap character is '-', should parameterize. Primary author - Colin Hardman (CAT) Other authors - Tim Dilks (CAT) Simon Brocklehurst (CAT) Stuart Johnston (CAT) Lawerence Bower (CAT) Derek Crockford (CAT) Neil Benn (CAT) Copyright 2001 Cambridge Antibody Technology Group plc. All Rights Reserved. This code released to the biojava project, May 2001 under the LGPL license.
Constructor Summary | |
HTMLRenderer(java.io.PrintWriter poPrintWriter,
java.lang.String poStyleDef,
int piAlignmentWidth,
URLGeneratorFactory poFactory,
AlignmentMarker poAlignmentMarker,
java.util.Properties poOptions)
Creates an HTMLRenderer, that outputs the HTML to the specified PrintWriter. |
Method Summary | |
java.lang.String |
getHeaderDefinitions()
Returns the appropriate style and javascript definitions for this renderer. |
void |
setPrintWriter(java.io.PrintWriter poPrintWriter)
Set the PrintWriter to output the HTML
to. |
boolean |
wasEmpty()
Returns true if no HitSummary and no Hit elements were encountered |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HTMLRenderer(java.io.PrintWriter poPrintWriter, java.lang.String poStyleDef, int piAlignmentWidth, URLGeneratorFactory poFactory, AlignmentMarker poAlignmentMarker, java.util.Properties poOptions)
The style definition is expected to defines the following styles
poPrintWriter
- - the output stream to write the HTML to.poStyleDef
- - definition of styles, if null uses hard coded.piAlignmentWidth
- width in characters of the alignment regions
of outputpoFactory
- URLGeneratorFactory
provides an array of
DatabaseURLGenerator
s, null for no linkspoAlignmentMarker
- - for configurable markup of alignments,
for no markup use null.poOptions
- properties ofMethod Detail |
public void setPrintWriter(java.io.PrintWriter poPrintWriter)
PrintWriter
to output the HTML
to.
poPrintWriter
- a PrintWriter
public boolean wasEmpty()
boolean
- true if no summary of Hit elements
where encountered.public java.lang.String getHeaderDefinitions()
String
value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |