org.scrashmeow.ojb.console.config
Class Locale

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

public class Locale
extends GeneratedObject
implements java.io.Serializable

Class Locale.

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

Constructor Summary
Locale()
           
 
Method Summary
 java.lang.String getCountry()
          Method getCountryReturns the value of field 'country'.
 java.lang.String getLabelkey()
          Method getLabelkeyReturns the value of field 'labelkey'.
 java.lang.String getLanguage()
          Method getLanguageReturns the value of field 'language'.
 java.lang.String getVariant()
          Method getVariantReturns the value of field 'variant'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setCountry(java.lang.String country)
          Method setCountrySets the value of field 'country'.
 void setLabelkey(java.lang.String labelkey)
          Method setLabelkeySets the value of field 'labelkey'.
 void setLanguage(java.lang.String language)
          Method setLanguageSets the value of field 'language'.
 void setVariant(java.lang.String variant)
          Method setVariantSets the value of field 'variant'.
static Locale 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

Locale

public Locale()
Method Detail

getCountry

public java.lang.String getCountry()
Method getCountryReturns the value of field 'country'.

Returns:
the value of field 'country'.

getLabelkey

public java.lang.String getLabelkey()
Method getLabelkeyReturns the value of field 'labelkey'.

Returns:
the value of field 'labelkey'.

getLanguage

public java.lang.String getLanguage()
Method getLanguageReturns the value of field 'language'.

Returns:
the value of field 'language'.

getVariant

public java.lang.String getVariant()
Method getVariantReturns the value of field 'variant'.

Returns:
the value of field 'variant'.

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

setCountry

public void setCountry(java.lang.String country)
Method setCountrySets the value of field 'country'.

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

setLabelkey

public void setLabelkey(java.lang.String labelkey)
Method setLabelkeySets the value of field 'labelkey'.

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

setLanguage

public void setLanguage(java.lang.String language)
Method setLanguageSets the value of field 'language'.

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

setVariant

public void setVariant(java.lang.String variant)
Method setVariantSets the value of field 'variant'.

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

unmarshal

public static Locale 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.