org.hl7.meta
Interface DatatypeMetadataFactory

All Known Implementing Classes:
DatatypeMetadataFactoryImpl

public interface DatatypeMetadataFactory

Creates descendants of Datatype based on the passed string.

Author:
Skirmantas Kligys

Method Summary
 Datatype create(java.lang.String s)
           
 Datatype create(java.lang.String s, java.util.List<Datatype> parameters)
           
 Datatype createByXsiType(java.lang.String s)
           
 Datatype createFromValue(ANY value)
           
 

Method Detail

create

Datatype create(java.lang.String s)
                throws UnknownDatatypeException
Throws:
UnknownDatatypeException

create

Datatype create(java.lang.String s,
                java.util.List<Datatype> parameters)
                throws UnknownDatatypeException
Throws:
UnknownDatatypeException

createByXsiType

Datatype createByXsiType(java.lang.String s)
                         throws UnknownDatatypeException
Throws:
UnknownDatatypeException

createFromValue

Datatype createFromValue(ANY value)
                         throws DatatypeAnalyzer.AnalysisException,
                                UnknownDatatypeException
Throws:
DatatypeAnalyzer.AnalysisException
UnknownDatatypeException