|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.goerntkai.scot.app.document.SCoTDocument
de.goerntkai.scot.app.document.HeaderDocument
Represents a file which is found in ./contents
named as its
parent folder.
Constructor Summary | |
HeaderDocument(java.lang.String path,
Configuration aConfiguration)
Instantiates one content.order file. |
Method Summary | |
SCoTBlock[] |
getContent()
Returns the content as an array of SCoTBlock s. |
SCoTBlock[] |
getOverview(java.lang.String meaning)
Returns the overview as an array of SCoTBlock s. |
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 |
public HeaderDocument(java.lang.String path, Configuration aConfiguration) throws java.io.FileNotFoundException
Instantiates one content.order
file.
path
- path and name of the fileaConfiguration
- the configuration of this application
java.io.FileNotFoundException
Method Detail |
public SCoTBlock[] getContent() throws java.io.FileNotFoundException
Returns the content as an array of SCoTBlock
s.
SCoTBlock
s
java.io.FileNotFoundException
public SCoTBlock[] getOverview(java.lang.String meaning) throws java.io.FileNotFoundException
Returns the overview as an array of SCoTBlock
s.
meaning
- the meanining of the link line
SCoTBlock
s
java.io.FileNotFoundException
public ISCoTComponent getStylesheet()
Returns the stylesheet for that HTML document.
public ISCoTComponent[] getStylesheets()
Returns the array of stylesheets for that HTML document. The definition of the stylesheets is stored in the SCoT document.
public ISCoTComponent getTitle()
Returns the title element for that HTML document.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |