org.scrashmeow.ojb.console.config
Class Languages

java.lang.Object
  |
  +--org.scrashmeow.ojb.console.GeneratedObject
        |
        +--org.scrashmeow.ojb.console.config.Languages
All Implemented Interfaces:
java.io.Serializable

public class Languages
extends GeneratedObject
implements java.io.Serializable

Class Languages.

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

Constructor Summary
Languages()
           
 
Method Summary
 void addLocale(int index, Locale vLocale)
          Method addLocale
 void addLocale(Locale vLocale)
          Method addLocale
 void clearLocale()
          Method clearLocale
 java.util.Enumeration enumerateLocale()
          Method enumerateLocale
 Locale[] getLocale()
          Method getLocale
 Locale getLocale(int index)
          Method getLocale
 int getLocaleCount()
          Method getLocaleCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeLocale(Locale vLocale)
          Method removeLocale
 void setLocale(int index, Locale vLocale)
          Method setLocale
 void setLocale(Locale[] localeArray)
          Method setLocale
static Languages 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

Languages

public Languages()
Method Detail

addLocale

public void addLocale(Locale vLocale)
               throws java.lang.IndexOutOfBoundsException
Method addLocale

Parameters:
vLocale -
java.lang.IndexOutOfBoundsException

addLocale

public void addLocale(int index,
                      Locale vLocale)
               throws java.lang.IndexOutOfBoundsException
Method addLocale

Parameters:
index -
vLocale -
java.lang.IndexOutOfBoundsException

clearLocale

public void clearLocale()
Method clearLocale


enumerateLocale

public java.util.Enumeration enumerateLocale()
Method enumerateLocale


getLocale

public Locale getLocale(int index)
                 throws java.lang.IndexOutOfBoundsException
Method getLocale

Parameters:
index -
java.lang.IndexOutOfBoundsException

getLocale

public Locale[] getLocale()
Method getLocale


getLocaleCount

public int getLocaleCount()
Method getLocaleCount


isValid

public boolean isValid()
Method isValid


marshal

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

Parameters:
out -
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 -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeLocale

public boolean removeLocale(Locale vLocale)
Method removeLocale

Parameters:
vLocale -

setLocale

public void setLocale(int index,
                      Locale vLocale)
               throws java.lang.IndexOutOfBoundsException
Method setLocale

Parameters:
index -
vLocale -
java.lang.IndexOutOfBoundsException

setLocale

public void setLocale(Locale[] localeArray)
Method setLocale

Parameters:
localeArray -

unmarshal

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

Parameters:
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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

org.exolab.castor.xml.ValidationException


Copyright © 2003 Alexander Bibighaus et al. All Rights Reserved.