On Thu, 2005-09-01 at 14:10 +0200, Thomas Dudziak wrote:
> On 9/1/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote:
> 
> > is it possible to specify a certain type of class in you betwixt file that
> > the introspector should use?
> 
> Not sure whether really helps, but you might want to try the
> mappingDerivation attribute for your element:
> 
> mappingDerivation='introspection'
> 
> see here for more info:
> 
> http://jakarta.apache.org/commons/betwixt/guide/derived.html

there is a strategy which allows class substitution
(http://jakarta.apache.org/commons/betwixt/guide/binding.html#Introspection%20And%20Normalization)
 but not forced substitution in a betwixt file.

try setting the 'type' property for the element. though not guaranteed,
it may work.

otherwise, i suggest downloading the latest source from SVN, building
and running an IDE debugging and examine the results of the
introspection. just run XMLIntrospector.introspect and take a look at
the element descriptor for maximum in the XmlBeanInfo. 

- robert


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

Reply via email to