I want to use XMLBeans XMLObject for a project, but for the classes generated
by XMLBeans,  I want to add some additional data members and methods to
handle program state that I do not want to have written out to an XML
document.

I have been using .NET's system.xml.XmlParser class, and it provides this
sort of capability.

In looking at the code produced by XMLObject, it looks possible.

Question: Does anyone have any thoughts on the best way to accomplish what I
want to do?  Is there a good design pattern to follow?  

Question: Are there any gotchas in doing this?  The only immediate one I can
think of is that everytime the .java files are regenerated by XMLObject, I
will have to reinsert my data members and methods.

-- 
View this message in context: 
http://www.nabble.com/adding-data-members-and-methods-to-generated-classes-that-will-not-produce-XML-tf4196225.html#a11934308
Sent from the Xml Beans - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to