Hi *,
XSOM, interesting library.
However, there is something I can't figure out immediately... Does the
SchemaTreeTraverser traverse the consolidated tree, i.e. from parent type,
to referenced child type, to referenced child type, etc... ?
I guess so. But this isn't implemented as such in the TreeDumper JFrame
example, right?
Thx,
J.
Kirill Grouchnikov wrote:
>
> I'm the author of the SchemaTreeTraverser sample visitor in xsom
> distribution. As Lexi said, you will need to implement your own visitor
> (as in SchemaTreeTraverser) and bind the relevant (or all) schema
> artifacts to a tree model in the language of your choice.
>
> Kirill
>
> Aleksei Valikov <valikov_at_gmx.net> wrote: Hi.
>
>> I am now evaluating xsom as you have suggested instead of jaxb. In the
>> example included in the xsom download (TreeDumper), the schema was
>> tied up with JTree to view the schema. Is it possible also to do this
>> using JSF Tree? I am unable to do this. My other option is to parse
>> the schema element by element which is very tedious. But if there is a
>> way to tied it up with JSF Tree just like JTree, that would be really
>> great.
>
> I'm not sure which implementation of tree you mean. If it's tree/tree2
> from MyFaces - no big deal to bind any tree-structured data to that.
> Just write an appropriate tree model, that's all. I work a lot with
> trees and JAXB/XML Schema-driven stuff, functions fine. I needed to
> write an extended tree model though. Default tree model from Tree2 is
> quite poor.
>
> Bye.
> /lexi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>
>
>
> ---------------------------------
> Yahoo! Mail
> Bring photos to life! New PhotoMail makes sharing a breeze.
>
--
View this message in context: http://www.nabble.com/Re%3A-Binding-the-schema-for-XML-Schema-tp3157532p14711717.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.