Yes, it should.

Werner

breskeby wrote:
> I guess working with the "location" attribute of bind-xml fullfills my needs.
> 
> grz rené
> 
> 
> 
> breskeby wrote:
>> I have something like the following unchangeable pojo:
>>
>> class Element {
>>   private String Interface = "interfacedefinition";
>>   private String InterfaceVersion "v.1.2";
>> ...
>> ...
>> ...
>> }
>>
>> and i want map this class to the following xml document:
>>
>> ...
>> <Element>
>>    <Interface id="v.1.2">interfacedefinition</Interface>
>> </Element>
>>
>> my first approach doesn´t have the id attribute, so i created a mapping
>> file with following content:
>>
>> <class name="foo.pojo.Element">                
>>              <map-to xml="Element"/>      
>>                  <field name="interface"
>>                                      type="java.lang.String">
>>                              <bind-xml name="Interface" 
>>                                                node="element"/>
>>                      </field>
>> </class>
>>
>> How can I add the id attribute of an Element comfortly to the existing
>> mapping? Do I really need to add an Element Class to make this mapping
>> possible, or can i directly add in the definition of the id attribute to
>> the mapping of the "Element" class?
>>
>> Thank you for help...
>>
>> grz 
>> René
>>   
>>
> 


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to