public class CourseGenerator extends ServiceableGenerator
Course
Modifier and Type | Field and Description |
---|---|
protected AmetysObjectResolver |
_resolver
The Ametys object resolver
|
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
CourseGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
_saxCourse(Course course)
SAX a
Course |
void |
generate() |
void |
service(ServiceManager smanager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected AmetysObjectResolver _resolver
public CourseGenerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
protected void _saxCourse(Course course) throws SAXException
Course
course
- The course to SAXSAXException
- if an error occurred while SAXing