com.mrami.libre.ClassGenerator.input
Class CGstring

java.lang.Object
  extended bycom.mrami.libre.ClassGenerator.input.CGstring
All Implemented Interfaces:
java.io.Serializable

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

Class CGstring.

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

Constructor Summary
CGstring()
           
 
Method Summary
 void deleteMaxLength()
          Method deleteMaxLength
 int getMaxLength()
          Returns the value of field 'maxLength'.
 java.lang.String getPattern()
          Returns the value of field 'pattern'.
 boolean hasMaxLength()
          Method hasMaxLength
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setMaxLength(int maxLength)
          Sets the value of field 'maxLength'.
 void setPattern(java.lang.String pattern)
          Sets the value of field 'pattern'.
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

CGstring

public CGstring()
Method Detail

deleteMaxLength

public void deleteMaxLength()
Method deleteMaxLength


getMaxLength

public int getMaxLength()
Returns the value of field 'maxLength'.

Returns:
int

getPattern

public java.lang.String getPattern()
Returns the value of field 'pattern'.

Returns:
String

hasMaxLength

public boolean hasMaxLength()
Method hasMaxLength

Returns:
boolean

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

setMaxLength

public void setMaxLength(int maxLength)
Sets the value of field 'maxLength'.

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

setPattern

public void setPattern(java.lang.String pattern)
Sets the value of field 'pattern'.

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

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