> What if we just skip the Tag family node? It will
> make the navigation a 
> bit shorter. Like this:
>   
> MyClass
>   @ejb:bean
>     name
>     type
>     ...
>   @ejb:data
>     ...
>   ...
>   @weblogic:table-name
>   
> Of course, that results in more sub nodes under
> classes/methods, but 
> less clicking work. Anybody else have thoughts about
> this?

Hmm, this way we will loose some clarity. And tag
family node will serve as entry point for creation 
of new tags from this family. 


> Why didn't you just make addTag(String,String)
> public? Would that 
> suffice? 
Yep. 
>Also keep in mind that XDoc stores
> references to XTags in Map 
> _tagMap, XTag[] _tag *and* _allTags (because of
> various optimisation 
> techniques). Your new addTag method doesn't respect
> that and probably 
> messes up the internal state.

Will look for this

> IMO it isn't anybody else's business to create XTag
> instances but XDoc 
> (delegating to whatever TagFaxtory is installed). In
> other words: no 
> XTag input parameters anywhere if we can avoid it.
> It makes the API 
> easier to use.

I used XTagFactory for tag creation


> > Why not support direct tag content change with
> string
> > ( and maybe reparsing it on the fly )?
> > 
> 
> Have you tried XDoc.updateTagValue() ? The intention
> was that it should 
> do the job. It isn't used by XDoclet, so it hasn't
> been well tested, 
> but there are some tests I believe in XJavaDocTest
> that uses it.

This will not do it, as there is possibility to have 
more than one tag with the same name in doc.


> If you continue at the same speed as you have for
> the last weeks, when 
> do you think we have something usable? It would be
> great to have it 
> stable for the next XDoclet release. We can try to
> attract IDE plugin 
> authors at that time.

Well, now I'm unemployed ( maybe for the next week or
so ) and riding bike messenger mornings. 

When my project continues I will surely have less
time...

regards,

=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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

Reply via email to