Package com.io7m.minisite.core
Class MinSite
java.lang.Object
com.io7m.minisite.core.MinSite
public final class MinSite
extends java.lang.Object
A site generator.
-
Method Summary
Modifier and Type Method Description static MinSitecreate(MinConfiguration config)Create a site generator for the given config.org.w3c.dom.Elementdocument(org.w3c.dom.Document document)Generate a site.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
create
Create a site generator for the given config.- Parameters:
config- The config- Returns:
- A site generator
-
document
public org.w3c.dom.Element document(org.w3c.dom.Document document)Generate a site.- Parameters:
document- The document that will own the generated elements- Returns:
- A generated page
-