org.apache.cocoon.forms.datatype
Interface DatatypeBuilder

All Known Implementing Classes:
AbstractDatatypeBuilder

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.java 55391 2004-10-23 18:15:02Z cziegeler $

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

Method Detail

build

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

getPlainConvertor

public Convertor getPlainConvertor()

buildConvertor

public Convertor buildConvertor(Element convertorEl)
                         throws Exception
Throws:
Exception


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.