org.apache.cocoon.forms.datatype
Interface DatatypeManager

All Known Implementing Classes:
DefaultDatatypeManager

public interface DatatypeManager

Work interface for the component that manages the datatypes.

See also Datatype and DefaultDatatypeManager.

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

Field Summary
static String ROLE
           
 
Method Summary
 Convertor createConvertor(String dataTypeName, Element convertorElement)
          Creates a convertor based on an XML description.
 Datatype createDatatype(Element datatypeElement, boolean arrayType)
          Creates a datatype from an XML description.
 ValidationRule createValidationRule(Element validationRuleElement)
          Creates a validation rule from an XML description.
 

Field Detail

ROLE

static final String ROLE
Method Detail

createDatatype

Datatype createDatatype(Element datatypeElement,
                        boolean arrayType)
                        throws Exception
Creates a datatype from an XML description.

Throws:
Exception

createValidationRule

ValidationRule createValidationRule(Element validationRuleElement)
                                    throws Exception
Creates a validation rule from an XML description. This will usually be used by the DatatypeBuilders while building a Datatype.

Throws:
Exception

createConvertor

Convertor createConvertor(String dataTypeName,
                          Element convertorElement)
                          throws Exception
Creates a convertor based on an XML description.

Throws:
Exception


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