|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.goerntkai.scot.app.misc.HTMLDocument
Represents the HTML document.
Constructor Summary | |
HTMLDocument()
|
Method Summary | |
void |
addContent(SCoTBlock[] contentBlocks)
Adds a new content block to the documents body. |
void |
addMetaData(ISCoTComponent metaData)
Adds a new meta tag to the documents head. |
void |
addMetaData(ISCoTComponent[] metaData)
Adds an array of new meta tags to the documents head. |
void |
create(java.lang.String publicID,
java.lang.String systemID)
Creates a new HTML document. |
void |
createFrameset(FramesetComponent aFrameset,
java.lang.String publicID,
java.lang.String systemID)
Creates a new xHTML frameset document. |
boolean |
isEmpty()
The given document is checked wether its body or frameset section has child nodes. |
void |
save(java.lang.String fileName,
java.lang.String encoding)
Stores the HTML document to the given path. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HTMLDocument()
Method Detail |
public void addContent(SCoTBlock[] contentBlocks)
contentBlocks
- the new block to appendpublic void addMetaData(ISCoTComponent metaData)
Adds a new meta tag to the documents head.
metaData
- the new meta data to appendpublic void addMetaData(ISCoTComponent[] metaData)
Adds an array of new meta tags to the documents head.
metaData
- the new meta data to appendpublic void create(java.lang.String publicID, java.lang.String systemID)
Creates a new HTML document.
TODO test me
publicID
- systemID
- public void createFrameset(FramesetComponent aFrameset, java.lang.String publicID, java.lang.String systemID)
Creates a new xHTML frameset document.
TODO test me
aFrameset
- publicID
- systemID
- public boolean isEmpty()
false
if there are child nodes and
true
if not.
public void save(java.lang.String fileName, java.lang.String encoding) throws java.io.IOException
Stores the HTML document to the given path.
TODO test me
fileName
- path where to store the document toencoding
-
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |