Re: [xml]java.util.Map to xml

2005-06-09 Thread Christian Aust
/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

Re: [betwixt] Using options while mapping a Java type

2005-05-26 Thread Christian Aust
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

[betwixt] Using options while mapping a Java type

2005-05-24 Thread Christian Aust
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

Re: Runtime.exec() Utilities?

2005-03-30 Thread 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

[betwixt] How can I ignore certain instances?

2005-02-15 Thread Christian Aust
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

[betwixt] XMLUtils must not escape '' from bodyValue

2005-01-25 Thread Christian Aust
- 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

[betwixt] How can I dynamically suppress properties of classes?

2005-01-11 Thread Christian Aust
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

Re: [betwixt] How can I make betwixt accept any attribute id as an element id?

2005-01-10 Thread Christian Aust
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

Re: [betwixt] How can I make betwixt accept any attribute id as an element id?

2005-01-10 Thread Christian Aust
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

[betwixt] How can I make betwixt accept any attribute id as an element id?

2005-01-07 Thread Christian Aust
regards, - Christian Aust - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [betwixt] How can I make betwixt accept any attribute id as an element id?

2005-01-07 Thread Christian Aust
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