commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yura Ivanov" <>
Subject [BETWIXT] question about collections
Date Thu, 30 Oct 2003 12:49:36 GMT
Hello All!

I have a little question about proccing collections with betwixt. How could
I write UserCollection.betwixt file for right output and input without
<addDefaults/> teg.
I have a simple class User and UserCollection. Here they are
public class User {
    String name;
    public String getName() {
        return name;

    public void setName(String pName) {
        name= pName;

public class UserCollection {
    List userList = new ArrayList();
    public void addUser(User pAddedUser) {

    public List getUserList() {
        return userList;

and *.betwixt files
<?xml version="1.0" encoding="UTF-8"?>
<info primitiveTypes="element">
<element name="user">
<element name="name22" property="name"/>

Whis is wrong with this file?

<?xml version="1.0" encoding="UTF-8"?>
<info primitiveTypes="element">
<element name="users" >
<element name="userdd" property="user"></element>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message