> I searched the existing tags and found the following:
> 
> 1) <XDtClass:classOf>...</XDtClass:classOf> which returns the
> not-full-qualified name of the content;
> 
> 2) <XDtPackage:packageOf>...</XDtPackage:packageOf> which does the
same
> for
> packages;

These are ancient tags! We lived with them for a lifetime!

> 3) <XDtClass:pushClass value=""/> which seems to work with
> <XDtClass:pushClass>...</XDtClass:pushClass> as well.

I could either create another popClass tag or create a block tag which
pops current class up from the stack in </XDtClass:pushClass>.

> All these tags make use of the
> 'xdoclet.template.TemplateEngine.outputOf()'
> method, whilst the JavaDoc of this method only mentions the conten tag
as
> the way to do these things...

It's in fact a bad thing. It barfs if for some reasons 'out' is null.
Don't use it.

> Right now I implemeted it as a block tag, works well, but needs to be
> accepted either way. DOes it actaully matter?

Use a content tag, no out.println.

Ara.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to