Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cocoon.forms.datatype.typeimpl
Class BooleanType

    java.lang.Object
      org.apache.cocoon.forms.datatype.typeimpl.AbstractDatatype
          org.apache.cocoon.forms.datatype.typeimpl.BooleanType

All Implemented Interfaces:
  Datatype

public class BooleanType
extends AbstractDatatype

A `Datatype` implementation for java.lang.Boolean's.

Version:
  $Id: BooleanType.java 587759 2007-10-24 03:00:37Z vgritsenko $

Constructor Summary
`BooleanType()`

Method Summary
`String` | `getDescriptiveName()` Returns a descriptive name for the base type of this datatype, i.e.
`Class` | `getTypeClass()` Gets the class object for the type represented by this datatype.

Methods inherited from class org.apache.cocoon.forms.datatype.typeimpl.AbstractDatatype
`addValidationRule, convertFromString, convertToString, generateSaxFragment, getBuilder, getConvertor, getPlainConvertor, isArrayType, setArrayType, setBuilder, setConvertor, validate`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BooleanType

    public BooleanType()

Method Detail

### getTypeClass

    public Class getTypeClass()

  Description copied from interface: `Datatype`
  Gets the class object for the type represented by this datatype. E.g. Long, String, ... The objects returned from the convertFromString* methods are of this type, and the object passed to the convertToString* or validate methods should be of this type.

### getDescriptiveName

    public String getDescriptiveName()

  Description copied from interface: `Datatype`
  Returns a descriptive name for the base type of this datatype, i.e. something like 'string', 'long', 'decimal', ...

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.