This project has retired. For details please refer to its
Attic page .
IntegerType (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.woody.datatype.typeimpl
Class IntegerType
java.lang.Object
org.apache.cocoon.woody.datatype.typeimpl.AbstractDatatype
org.apache.cocoon.woody.datatype.typeimpl.IntegerType
All Implemented Interfaces: Datatype
public class IntegerType extends AbstractDatatype
A Datatype
implementation
for whole numbers.
Version:
CVS $Id: IntegerType.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Antonio Gallardo
Method Summary
String
getDescriptiveName ()
Returns a descriptive name for the base type of this datatype,
i.e. something like 'string', 'long', 'decimal', ...
Class
getTypeClass ()
Gets the class object for the type represented by this datatype.
Methods inherited from class org.apache.cocoon.woody.datatype.typeimpl.AbstractDatatype
addValidationRule , convertFromString , convertToString , 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
IntegerType
public IntegerType ()
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', ...
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.