net.sf.zekr.engine.bookmark
Class BookmarkTransformer
java.lang.Object
net.sf.zekr.engine.bookmark.BookmarkTransformer
public class BookmarkTransformer
- extends java.lang.Object
Bookmark exporter. This class is used to export bookmark sets in HTML format (XML+XSLT).
- Since:
- Zekr 1.0
- Author:
- Mohsen Saboorian
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BookmarkTransformer
public BookmarkTransformer(BookmarkSet bookmarkSet,
java.io.File destFile)
BookmarkTransformer
public BookmarkTransformer()
throws javax.xml.transform.TransformerConfigurationException,
javax.xml.transform.TransformerFactoryConfigurationError
- Creates a new bookmark transformer object. This object caches a compiled in-memory XSL transformer within itself.
- Throws:
javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerFactoryConfigurationError
getInstance
public static BookmarkTransformer getInstance()
throws BookmarkTransformationException
- Throws:
BookmarkTransformationException
export
public void export(BookmarkSet bookmarkSet,
java.io.File destFile)
throws BookmarkTransformationException
- Export bookmark set into an HTML file.
- Parameters:
bookmarkSet
- destFile
-
- Throws:
BookmarkTransformationException