de.goerntkai.scot.app.document
Class FramesetDocument

java.lang.Object
  extended byde.goerntkai.scot.app.document.SCoTDocument
      extended byde.goerntkai.scot.app.document.FramesetDocument

public class FramesetDocument
extends SCoTDocument

Represents a file which is found in ./frames.

Version:
$Id: FramesetDocument.java,v 1.4 2005/05/14 16:40:58 GoerntKai Exp $
Author:
Kai Görnt

Constructor Summary
FramesetDocument(java.lang.String path, Configuration aConfiguration)
          Instantiates one frameset definition file.
 
Method Summary
 FramesetComponent getFrameset()
          Returns the frameset definition.
 ISCoTComponent getStylesheet()
          Deprecated.  
 ISCoTComponent[] getStylesheets()
          Returns the array of stylesheets for that HTML document.
 ISCoTComponent getTitle()
          Returns the title element for that HTML document.
 
Methods inherited from class de.goerntkai.scot.app.document.SCoTDocument
getBlocks, getConfiguration, getLine, getLines, getLines, getLines, getReference, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FramesetDocument

public FramesetDocument(java.lang.String path,
                        Configuration aConfiguration)
                 throws java.io.FileNotFoundException

Instantiates one frameset definition file.

Parameters:
path - path and name of the file
aConfiguration - the configuration of this application
Throws:
java.io.FileNotFoundException
Method Detail

getFrameset

public FramesetComponent getFrameset()
                              throws java.io.FileNotFoundException

Returns the frameset definition.

Returns:
the frameset definition
Throws:
java.io.FileNotFoundException

getStylesheet

public ISCoTComponent getStylesheet()
Deprecated.  

Returns the stylesheet for that HTML document.

Returns:
the stylesheet

getStylesheets

public ISCoTComponent[] getStylesheets()

Returns the array of stylesheets for that HTML document. The definition of the stylesheets is stored in the SCoT document.

Returns:
the array of stylesheets

getTitle

public ISCoTComponent getTitle()

Returns the title element for that HTML document.

Returns:
the title element


© 2004 by Kai Görnt