org.outerj.xreporter.datatype
Interface DataTypeManager

All Known Implementing Classes:
DataTypeManagerImpl

public interface DataTypeManager

Manages a catalog of data types and is a factory for creating new types.


Field Summary
static java.lang.String ROLE
           
 
Method Summary
 DataType createExtendedType(java.lang.String id, org.apache.avalon.framework.configuration.Configuration conf)
          Creates a new, anonymous data type based on an existing data type and the additional configuration information that is passed.
 DataType createType(org.apache.avalon.framework.configuration.Configuration configuration)
          Creates a new, anonymous data type based on the provided configuration.
 DataType getDataType(java.lang.String id)
          Get a data type from the data type catalog.
 

Field Detail

ROLE

public static final java.lang.String ROLE
See Also:
Constant Field Values
Method Detail

getDataType

public DataType getDataType(java.lang.String id)
                     throws UnknownDataTypeIdException
Get a data type from the data type catalog.

Throws:
UnknownDataTypeIdException

createExtendedType

public DataType createExtendedType(java.lang.String id,
                                   org.apache.avalon.framework.configuration.Configuration conf)
                            throws java.lang.Exception
Creates a new, anonymous data type based on an existing data type and the additional configuration information that is passed.

Throws:
java.lang.Exception

createType

public DataType createType(org.apache.avalon.framework.configuration.Configuration configuration)
                    throws java.lang.Exception
Creates a new, anonymous data type based on the provided configuration.

Throws:
java.lang.Exception