Hi all, I've committed the changes to CVS now. As I said it should be regarded as a first (but yet feature complete) implementation of the new HiveDoc generator. I see the following things needing refactoring:
- Schema objects should be added to the Descriptors in which they were defined. Descriptors referencing schemas defined elsewhere should only have a String id thereof. This will delegate the schema linking responsibility to the RegistryBuilder, which IMO makes more sense. This should further allow us to remove the dependency on RegistryAssembly in DescriptorParser. - There should be a switch on the DescriptorParser to control whether annotations should be parsed or not. The client of XmlModuleDescriptorParser obviously needs to be in control of this switch. - Howard's suggested XMLWriter and visiting pattern for the Descriptor classes should be considered. Alternatively a more general purpose visitor class could be implemented. It would also be useful to the RegistryBuilder. That's all I've written down anyway ;-) Support for scripts (e.g. Groovy) should be within reach now. --knut --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
