org.apache.cocoon.forms.datatype
Interface DatatypeBuilder

All Known Implementing Classes:
AbstractDatatypeBuilder, BeanTypeBuilder, BooleanTypeBuilder, CharTypeBuilder, DateTypeBuilder, DecimalTypeBuilder, DoubleTypeBuilder, EnumTypeBuilder, FloatTypeBuilder, IntegerTypeBuilder, LongTypeBuilder, StringTypeBuilder

public interface DatatypeBuilder

Implementations of this class build a Datatype from an XML description (a DOM Element).

These builders should be threadsafe, only one instance of them will be created.

Implementations may implement Avalon's Serviceable interface to get access to other components.

Version:
$Id: DatatypeBuilder.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Method Summary
 Datatype build(Element datatypeElement, boolean arrayType, DatatypeManager datatypeManager)
           
 Convertor buildConvertor(Element convertorEl)
           
 Convertor getPlainConvertor()
           
 

Method Detail

build

Datatype build(Element datatypeElement,
               boolean arrayType,
               DatatypeManager datatypeManager)
               throws Exception
Throws:
Exception

getPlainConvertor

Convertor getPlainConvertor()

buildConvertor

Convertor buildConvertor(Element convertorEl)
                         throws Exception
Throws:
Exception


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