> I've written much of a template for generating the model mbean descriptor
> info in xml format from a tagged class.  There are a couple of things I
> don't see how to do, if there is a known or easy way to do them I'd
> appreciate some pointers:

I'm a little rusty... but I'll see how I go (o:

> 1. from 2 methods  getA and setA, determine from presence/absence of
> @jms:managed-attribute tags on one or both read-only, write-only, or
> read-write.

<XDtMethod:ifHasMethodTag tagName="jmx:managed-attribute" paramName="permission" 
value="read-only">
 ...
</XDtMethod:ifHasMethodTag>

also ifDoesntHaveMethodTag with same params.
(see http://xdoclet.sourceforge.net/templates/Method.html#ifHasMethodTag)

> 2. combine the name and type of method parameters (as seen in the method
> signature) with a parameter description from javadoc.  A jmx tag would be
> fine rather than @param, however I don't want to introduce duplication of
> the type between the tag and the signature.

<XDtParameters:forAllParameters> ...

or something like that - check the ParameterTagHandler method
(http://xdoclet.sourceforge.net/templates/Parameter.html#forAllMethodParams)

> All the info I am using is specified as standard model mbean info in the
> jmx spec.  Is it therefore fine if I use the jmx namespace for tags with
> this information?

yep - @jmx:foo if its in the spec, or related to.

> Is there a description of how the @doc tags work? I might be able to add
> some to the JmxTagHandler, much of which is uncommented.

I'm sure there is - but its not in my head (o:  I normally just cut, paste and change 
appropriately ...

hth
dim


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

Reply via email to