christophedelory.betty.xml
Class UsersDetails
java.lang.Object
christophedelory.betty.xml.Child
christophedelory.betty.xml.UsersDetails
- All Implemented Interfaces:
- XmlRoot, Serializable
public class UsersDetails
- extends Child
- implements XmlRoot
A list of users
.
- Version:
- $Revision$
- Author:
- Christophe Delory
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsersDetails
public UsersDetails()
getUsers
public List<UserDetails> getUsers()
- Returns the list of users.
- Returns:
- a list of users. May be empty but not
null
. - See Also:
addUser(UserDetails)
addUser
public void addUser(UserDetails user)
- Adds a user to this list.
- Parameters:
user
- a user. Shall not be null
.
- Throws:
NullPointerException
- if user
is null
.- See Also:
getUsers()
accept
public void accept(XmlVisitor visitor)
throws Exception
- Description copied from interface:
XmlRoot
- Accepts the specified XML visitor.
- Specified by:
accept
in interface XmlRoot
- Parameters:
visitor
- a visitor. Shall not be null
.
- Throws:
NullPointerException
- if visitor
is null
.
Exception
- if any error occurs during the visit.
Copyright © 2008-2009 Christophe Delory. All Rights Reserved.