com.iver.andami.config.generate
Class AndamiConfig

java.lang.Object
  extended bycom.iver.andami.config.generate.AndamiConfig
All Implemented Interfaces:
java.io.Serializable

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

Class AndamiConfig.

Version:
$Revision: 1935 $ $Date: 2005-05-13 13:00:46 +0200 (Fri, 13 May 2005) $
See Also:
Serialized Form

Constructor Summary
AndamiConfig()
           
 
Method Summary
 void addPlugin(int index, Plugin vPlugin)
          Method addPlugin
 void addPlugin(Plugin vPlugin)
          Method addPlugin
 java.util.Enumeration enumeratePlugin()
          Method enumeratePlugin
 Andami getAndami()
          Returns the value of field 'andami'.
 java.lang.String getLocaleCountry()
          Returns the value of field 'localeCountry'.
 java.lang.String getLocaleLanguage()
          Returns the value of field 'localeLanguage'.
 java.lang.String getLocaleVariant()
          Returns the value of field 'localeVariant'.
 Plugin[] getPlugin()
          Method getPlugin
 Plugin getPlugin(int index)
          Method getPlugin
 int getPluginCount()
          Method getPluginCount
 java.lang.String getPluginsDirectory()
          Returns the value of field 'pluginsDirectory'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllPlugin()
          Method removeAllPlugin
 Plugin removePlugin(int index)
          Method removePlugin
 void setAndami(Andami andami)
          Sets the value of field 'andami'.
 void setLocaleCountry(java.lang.String localeCountry)
          Sets the value of field 'localeCountry'.
 void setLocaleLanguage(java.lang.String localeLanguage)
          Sets the value of field 'localeLanguage'.
 void setLocaleVariant(java.lang.String localeVariant)
          Sets the value of field 'localeVariant'.
 void setPlugin(int index, Plugin vPlugin)
          Method setPlugin
 void setPlugin(Plugin[] pluginArray)
          Method setPlugin
 void setPluginsDirectory(java.lang.String pluginsDirectory)
          Sets the value of field 'pluginsDirectory'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndamiConfig

public AndamiConfig()
Method Detail

addPlugin

public void addPlugin(Plugin vPlugin)
               throws java.lang.IndexOutOfBoundsException
Method addPlugin

Parameters:
vPlugin -
Throws:
java.lang.IndexOutOfBoundsException

addPlugin

public void addPlugin(int index,
                      Plugin vPlugin)
               throws java.lang.IndexOutOfBoundsException
Method addPlugin

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

enumeratePlugin

public java.util.Enumeration enumeratePlugin()
Method enumeratePlugin


getAndami

public Andami getAndami()
Returns the value of field 'andami'.

Returns:
the value of field 'andami'.

getLocaleCountry

public java.lang.String getLocaleCountry()
Returns the value of field 'localeCountry'.

Returns:
the value of field 'localeCountry'.

getLocaleLanguage

public java.lang.String getLocaleLanguage()
Returns the value of field 'localeLanguage'.

Returns:
the value of field 'localeLanguage'.

getLocaleVariant

public java.lang.String getLocaleVariant()
Returns the value of field 'localeVariant'.

Returns:
the value of field 'localeVariant'.

getPlugin

public Plugin getPlugin(int index)
                 throws java.lang.IndexOutOfBoundsException
Method getPlugin

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getPlugin

public Plugin[] getPlugin()
Method getPlugin


getPluginCount

public int getPluginCount()
Method getPluginCount


getPluginsDirectory

public java.lang.String getPluginsDirectory()
Returns the value of field 'pluginsDirectory'.

Returns:
the value of field 'pluginsDirectory'.

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 -
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

removeAllPlugin

public void removeAllPlugin()
Method removeAllPlugin


removePlugin

public Plugin removePlugin(int index)
Method removePlugin

Parameters:
index -

setAndami

public void setAndami(Andami andami)
Sets the value of field 'andami'.

Parameters:
andami - the value of field 'andami'.

setLocaleCountry

public void setLocaleCountry(java.lang.String localeCountry)
Sets the value of field 'localeCountry'.

Parameters:
localeCountry - the value of field 'localeCountry'.

setLocaleLanguage

public void setLocaleLanguage(java.lang.String localeLanguage)
Sets the value of field 'localeLanguage'.

Parameters:
localeLanguage - the value of field 'localeLanguage'.

setLocaleVariant

public void setLocaleVariant(java.lang.String localeVariant)
Sets the value of field 'localeVariant'.

Parameters:
localeVariant - the value of field 'localeVariant'.

setPlugin

public void setPlugin(int index,
                      Plugin vPlugin)
               throws java.lang.IndexOutOfBoundsException
Method setPlugin

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

setPlugin

public void setPlugin(Plugin[] pluginArray)
Method setPlugin

Parameters:
pluginArray -

setPluginsDirectory

public void setPluginsDirectory(java.lang.String pluginsDirectory)
Sets the value of field 'pluginsDirectory'.

Parameters:
pluginsDirectory - the value of field 'pluginsDirectory'

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 -
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