Take a look at http://www.ibm.com/developerworks/xml/library/x-xjavacastor1/
It will make the issue(s) Werner mentioned more clear.
Werner Guttmann wrote:
Hi,
none of your domain classes define setters for all the properties
mapped. You either have to introduce such setters or have a look at how
to use the constructors as defined in your classes.
Regards
Werner
blacksea wrote:
Hello All:
I am trying is to print a value from the xml doc and I am getting nulls for
all elements in my doc (their is data). Upon further digging I noticed that
all values are being returned as null and I can't figure it out why.
I have read through various castor forums and documentation feeling that I
am missing something and/or its something silly i can't see being new to
castor.
Any help is appreciated.
Attached:
-Source code
-mapping.xml
-sample.xml
Thank you all.
http://www.nabble.com/file/p18119559/sample.xml sample.xml
http://www.nabble.com/file/p18119559/mapping.xml mapping.xml
http://www.nabble.com/file/p18119559/ReadConfig.java ReadConfig.java
http://www.nabble.com/file/p18119559/UmConfig.java UmConfig.java
http://www.nabble.com/file/p18119559/UserPrefs.java UserPrefs.java
http://www.nabble.com/file/p18119559/PackageSettings.java
PackageSettings.java
http://www.nabble.com/file/p18119559/CompareSettings.java
CompareSettings.java
http://www.nabble.com/file/p18119559/TgtAppConfig.java TgtAppConfig.java
http://www.nabble.com/file/p18119559/SrcAppConfig.java SrcAppConfig.java
http://www.nabble.com/file/p18119559/ProjectName.java ProjectName.java
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email