Fix for issue 296 add hooks for custom code to GenerateJspTaglibsMojo
1] add 3 protected methods which are no-ops in Trinidad. These are each called once in the class.
// hook for custom component tag java imports
protected void addCustomComponentTagHandlerImports(
Set imports,
ComponentBean component)
{
}
// hook for custom component tag java content
protected void writeCustomComponentTagHandlerContent(
PrettyWriter out,
ComponentBean component) throws IOException
{
}
// hook for custom component descriptor content
protected void writeCustomComponentTagDescriptorContent(
XMLStreamWriter stream,
ComponentBean component) throws XMLStreamException
{
}
2] Change _writeTagAttribute to be protected
3] All the injected property params are null when subclassing, so I need to make them protected instead of private and set them from my subclass.
1 file changed