Sign In/My Account | View Cart  
advertisement

Article:
 XML Data-Binding: Comparing Castor to .NET
Subject: Castor .unmarshal and .marshall methods
Date: 2002-07-30 07:54:39
From: Erik Ostermueller

You article states that the Castor generated code is larger than the C# code, partly due to the .marshal, .unmarshal and .validate methods.


Well, this doesn't have to be the case.
If you pass the SourceGenerator the -nomarshal flag, it will not generate these methods.
Then, you can use the Marshaller, Unmarshaller and Validator classes to get invoke this functionality.


Previous Message Previous Message   Next Message Next Message


Titles Only Titles Only Newest First
  • Castor .unmarshal and .marshall methods
    2002-07-31 04:38:42 Niel Bornstein [Reply]

    Thanks for your constructive comment. Although I did mention Castor's flexibility in this regard early in the article, I should have pointed this out with respect to the generated code.


Sponsored By: