textmaven.application.analyzer.annotator
Class HTMLFrame

java.lang.Object
  extended bytextmaven.application.analyzer.annotator.HTMLFrame

public class HTMLFrame
extends java.lang.Object

Represents the HTML frame which is created from a template file. Conceptually, it is assumed that the template specifies a HTML frameset. One frame represents the HTML text, another frame holds the vocabulary, and the third frame is an empty frame into which words are pasted which are looked up in the HTML text.

Author:
krebtho

Constructor Summary
HTMLFrame(java.net.URL template, java.lang.String baseDir, java.lang.String vocab, java.lang.String text)
          Constructor
 
Method Summary
 java.lang.String getVocabFrameName()
           
 java.lang.String getWordListFrameName()
           
 void write(java.io.Writer out)
          Writes instantiated template file into the Writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLFrame

public HTMLFrame(java.net.URL template,
                 java.lang.String baseDir,
                 java.lang.String vocab,
                 java.lang.String text)
Constructor

Parameters:
template - URL of template
baseDir - base directory
vocab - name of vocabulary file
text - name of HTML text file
Method Detail

getVocabFrameName

public java.lang.String getVocabFrameName()
Returns:
returns name of vocabulary frame

getWordListFrameName

public java.lang.String getWordListFrameName()
Returns:
returns name of frame into which looked up words are pasted.

write

public void write(java.io.Writer out)
Writes instantiated template file into the Writer. Parameters in the template file are substituted.

Parameters:
out - Writer into which the template file are written


Copyright © 2002-2005 Sourceforge. All Rights Reserved.