Static Site Builder Util (SBU) 1.0 Documentation
SBU is baseed on JAVA. There are several points ready for extensions by custom implementations. SBU uses CASTOR for mapping XML to JAVA objects. The used CASTOR 1.3 mapping (sbu-castor-mapping-1.0.xml) is provided with the XSD.
The following extension points exist:
Custom JAVA code, implementaions of can be registered by two steps:
All found JARs will be added to the classpath of a new class loader. They must be disjunct. All found CASTOR mapping files will be joined to the build-in one.
Extending the XSD (and providing a way to mix with further or existing extensions) is a must. The build-in extension types can be found as group elements in the build-in XSD. Custom implementations must be referenced here. The group names are build from the JAVA interface names:
<xs:group name="de.dv.sbu.filefilter.IFileFilter-abstractType" id="de.dv.sbu.filefilter.IFileFilter-abstractType"> ... </xs:group>
<xs:group name="de.dv.sbu.filehandler.ftl.dataprovider.IDataProvider-abstractType" id="de.dv.sbu.filehandler.ftl.dataprovider.IDataProvider-abstractType"> ... </xs:group>
<xs:group name="de.dv.sbu.filehandler.ftl.ISourceParser-abstractType" id="de.dv.sbu.filehandler.ftl.ISourceParser-abstractType"> ... </xs:group>
<xs:group name="de.dv.sbu.filehandler.IFileHandler-abstractType" id="de.dv.sbu.filehandler.IFileHandler-abstractType"> ... </xs:group>previous page