db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fox <Thomas....@seitenbau.net>
Subject Re: svn commit: r1024374 - /db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/SourceElement.java
Date Thu, 21 Oct 2010 07:09:03 GMT
> would a "return null" not work in this case? So you can prevent a lookup
> on the null reference or do you think that null could be a possible key?

null is a possible key. If an xml like


ie read by the generator, the someText is represented internally as
attribute with key null.
And to access the text from velocity, it must be possible to access the
attribute with key null. This is what the extra method is for.


To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

View raw message