/empty
entry id=2
keymyKey/key
valuesome Value/value
/entry
/HashMap
The process is fully configurable. Fast enough? Regards,
- Christian
--
Christian Aust
mailto:[EMAIL PROTECTED]
icq: 84500990 - Yahoo!: datenimperator - MSN: datenimperator
PGP: A94E 0181 664D 27E3 F05A A751
to just changing the property attribute
value. will you explain?
- robert
On Tue, 2005-05-24 at 13:30 +0200, Christian Aust wrote:
Hi,
I'd like to customize the way betwixt maps Java types at runtime. See
this:
Class file (shortened for readability
and in that case returns the value of getOtherProperty() instead of
getStandardProperty() as the element named mybean.attachedObject.
I've tried a number of strategies, but couldn't find the right one. Could
somebody
please assist me in the right direction? Regards,
- Christian
--
Christian Aust
(getResourceFile());
fs.setExcludes(*.vm);
ct.addFileset(fs);
ct.execute();
}
ANT gives you a selection of well-tested tasks of all kinds, combinable
and system-independent. Give it a try. HTH,
- Christian
--
Christian Aust
mailto:[EMAIL PROTECTED]
icq: 84500990 - Yahoo!: datenimperator - MSN
from showing up in the XML? Some kind of strategy that I could
implement that would check each object against a black list? Kind regards,
- Christian
--
Christian Aust
mailto:[EMAIL PROTECTED]
icq: 84500990 - Yahoo!: datenimperator - MSN: datenimperator
PGP: A94E 0181 664D 27E3 F05A A751 6A7E 90D1
- this should be the applications
responsibility. Just my $.02...
--
Christian Aust
mailto:[EMAIL PROTECTED]
icq: 84500990 - Yahoo!: datenimperator - MSN: datenimperator
PGP: A94E 0181 664D 27E3 F05A A751 6A7E 90D1 A0A3 DEC7
Hi,
bean-XML conversion works nicely now. So does hiding of properties in
.betwixt files, but for certain conversions I need to be able to
programatically hide individual properties of single classes (not
instances).
I've tried my luck using custom type binding strategies, however this
does
Hi Jason,
Jason Wood schrieb:
or if you don't want to make all primitive values attribute as the above
will do ... in a .betwixt file write ...
?xml version='1.0' encoding='UTF-8' ?
info
element name='YourElementName'
attribute name='id' property='Id'/
addDefaults/
/element
/info
There ways to
Jason Wood schrieb:
Well, I know you can do the following to remove the betwixt id ...
beanWriter.getBindingConfiguration().setMapIDs(false);
Then if you want to make the getId() value of your bean an attribute ...
beanWriter.getXMLIntrospector().getConfiguration().setAttributesForPrimitive
regards,
- Christian Aust
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
member id=2
nameJoe/name
parent idref=1 /
/member
Any idea how I could do this? Best regards,
- Christian
-Original Message-
From: Christian Aust [mailto:[EMAIL PROTECTED]
Sent: Friday, January 07, 2005 11:00 AM
To: commons-user@jakarta.apache.org
Subject: [betwixt] How can I make
11 matches
Mail list logo