public class ApiDocWriter extends Object
Constructor and Description |
---|
ApiDocWriter() |
Modifier and Type | Method and Description |
---|---|
protected org.x4o.xml.eld.doc.api.ApiDocContentWriter.NavBarConfig |
createNavBarConfig(String pathPrefix,
File frame,
ApiDocContentWriter writer) |
protected org.x4o.xml.eld.doc.api.ApiDocContentWriter.NavBarConfig |
createNavBarConfig(String pathPrefix,
String prev,
String next,
File frame,
ApiDocContentWriter writer) |
void |
defaultWriteSummary(ApiDocNode node,
ApiDocContentWriter writer) |
void |
defaultWriteTreePath(ApiDocNode node,
ApiDocContentWriter writer) |
void |
write(ApiDoc doc,
File basePath)
Writes full api doc tree files to the base path.
|
void |
writeAllFrameNav(boolean isFrame) |
void |
writeIndex() |
void |
writeOverviewFrame() |
public void write(ApiDoc doc, File basePath) throws IOException, SAXException
doc
- The ApiDoc to writer.basePath
- The bath path to write into.IOException
- When file exception happens.SAXException
- when xml exception happens.public void defaultWriteSummary(ApiDocNode node, ApiDocContentWriter writer) throws SAXException
SAXException
public void defaultWriteTreePath(ApiDocNode node, ApiDocContentWriter writer) throws SAXException
SAXException
protected org.x4o.xml.eld.doc.api.ApiDocContentWriter.NavBarConfig createNavBarConfig(String pathPrefix, File frame, ApiDocContentWriter writer) throws SAXException
SAXException
protected org.x4o.xml.eld.doc.api.ApiDocContentWriter.NavBarConfig createNavBarConfig(String pathPrefix, String prev, String next, File frame, ApiDocContentWriter writer) throws SAXException
SAXException
public void writeIndex() throws SAXException
SAXException
public void writeOverviewFrame() throws SAXException
SAXException
public void writeAllFrameNav(boolean isFrame) throws SAXException
SAXException
Copyright © 2004-2013 X4O. All Rights Reserved.