> Check line 96. There you got values. -But I don't > have a description > element along with it. Description is good.
Especially for GUI and doc generation... > Does iterated mean that several occurrences are OK? > If so, it's a good > idea. I didn't have that. Yes. For example for "role-name" > One thing that I have is constraints. It's a way to > describe under what > circumstances a tag makes sense. These constraints > are currently based > on whether the class is instance of a certain > class/interface, and > whether or not an other tag is present. This is > necessary if we want to > provide proper validation. It was a bit off scope of Xtags. I thought of xtags as a tool to parse/bomb on incorrect tags, but using meaningless tag in class is not a crime :) ( just slopery of developer ), and meaningless tags are not looked at by templates, so they do not necessary harm. Though we may provide restrictions that "only one tag is allowed" ( for example in ejb:bean ) > I also saw from you source code that you're using > println() to generate > sources. Why not use XDoclet's template engine? You > don't need java > classes to use the template engine you know. Take a > look at my recently > committed xdoclet.ant package and the samples' > appxml target. I think > you could use the same approach, but extract the > info from TagMetaData > instead of a Hashtable like I did. println() and spawning external compiler was just a long shot. Ara pointed me at BCEL stuff iun jakarta, and it seems to be the right thing ( just define interfaces on the fly, and spare additional ant target ) I'm thinking of class loader which holds metadata, and generates interfaces lazily when they are needed 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!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
