Hi Alexander,

Castor XML is - first and foremost - a source code generator that
generates plain Java POJOs that reflect the XML schema(s) given. In
addition, Castor XML will generate (so-called) XML class descriptors
that represent the information needed by Castor during XML data binding
(e.g. XML artefact names, namespace prefices, ...) and include a fair
amount of code to implement object validation for (un-)marshalling.

In other words, Castor generates POJOs, and nothing else. You can
exercise a bit of control through various properties and settings, but
that's all.

Does this answer your questions ?

Regards
Werner

Alexander wrote:
> Is there any way to generate souce code with optional methods? I mean It is
> great to generate object model, get\set methods. But what if I want to
> generate different methods too? For example: get\set\validate\disable and so
> on.
> As far as I could see there is no definition in XSD for methods. Am I
> wrong? [?]
> 
> Or It is not a good idea to use castor just as a source code generator?
> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to