org.exolab.jms.config
Class Users

java.lang.Object
  extended by org.exolab.jms.config.Users
All Implemented Interfaces:
java.io.Serializable

public class Users
extends java.lang.Object
implements java.io.Serializable

This element is used to bootstrap the creation of users.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Users()
           
 
Method Summary
 void addUser(int index, User vUser)
          Method addUser
 void addUser(User vUser)
          Method addUser
 void clearUser()
          Method clearUser
 java.util.Enumeration enumerateUser()
          Method enumerateUser
 User[] getUser()
          Method getUser
 User getUser(int index)
          Method getUser
 int getUserCount()
          Method getUserCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeUser(User vUser)
          Method removeUser
 void setUser(int index, User vUser)
          Method setUser
 void setUser(User[] userArray)
          Method setUser
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Users

public Users()
Method Detail

addUser

public void addUser(User vUser)
             throws java.lang.IndexOutOfBoundsException
Method addUser

Parameters:
vUser -
Throws:
java.lang.IndexOutOfBoundsException

addUser

public void addUser(int index,
                    User vUser)
             throws java.lang.IndexOutOfBoundsException
Method addUser

Parameters:
index -
vUser -
Throws:
java.lang.IndexOutOfBoundsException

clearUser

public void clearUser()
Method clearUser


enumerateUser

public java.util.Enumeration enumerateUser()
Method enumerateUser

Returns:
Enumeration

getUser

public User getUser(int index)
             throws java.lang.IndexOutOfBoundsException
Method getUser

Parameters:
index -
Returns:
User
Throws:
java.lang.IndexOutOfBoundsException

getUser

public User[] getUser()
Method getUser

Returns:
User

getUserCount

public int getUserCount()
Method getUserCount

Returns:
int

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeUser

public boolean removeUser(User vUser)
Method removeUser

Parameters:
vUser -
Returns:
boolean

setUser

public void setUser(int index,
                    User vUser)
             throws java.lang.IndexOutOfBoundsException
Method setUser

Parameters:
index -
vUser -
Throws:
java.lang.IndexOutOfBoundsException

setUser

public void setUser(User[] userArray)
Method setUser

Parameters:
userArray -

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 1999-2005 The OpenJMS Group. All Rights Reserved.