|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ceryle.tm.TopicMapPublisher
public class TopicMapPublisher
Provided with a TopicMap, generates documentation in XHTML.
[Note: currently non-functional]
| Field Summary | |
|---|---|
static String |
footerFilename
The filename of the optional XHTML footer. |
static String |
stylesheetURI
The URI (generally relative) of the CSS stylesheet. |
| Constructor Summary | |
|---|---|
TopicMapPublisher()
Default constructor. |
|
| Method Summary | |
|---|---|
protected void |
addFooter(Element body,
String timestamp,
String locator)
Append a document footer to the document. |
Document |
generateDocument(String doctitle,
String description,
String locator,
String intro,
String version,
Map map)
Generates a PSI-style document provided with various strings and a Map containing the PSI and description strings (with the PSI String as the map key). |
boolean |
isXTMTopic(Topic topic)
Returns true if the Topic is an XTM 1.0-based Topic. |
void |
publishTopicMap(TopicMap topicmap,
String[] metadata)
Provided with a TopicMap topicmap, an array of metadata strings and a map of name-property values, writes the result to an XHTML file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String stylesheetURI
public static String footerFilename
| Constructor Detail |
|---|
public TopicMapPublisher()
throws TopicMapException,
ProcessException
TopicMapException
ProcessException| Method Detail |
|---|
public void publishTopicMap(TopicMap topicmap,
String[] metadata)
public boolean isXTMTopic(Topic topic)
public Document generateDocument(String doctitle,
String description,
String locator,
String intro,
String version,
Map map)
doctitle - 0. a String containing the document title.description - 1. a String containing the PSI set description.locator - 2. a String containing the URI locator for the set.intro - 3. an optional String containing a brief text introduction.map - 4. a Map containing the PSI and description Strings.
protected void addFooter(Element body,
String timestamp,
String locator)
While not required, it is recommended that the included content be a valid or well-formed XHTML fragment.
body - the DOM 'body' Elementtimestamp - an optional timestamp Stringlocator - an optional document locator (URI) String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||