@Named(value="net.sf.mmm.util.lang.api.DatatypeDetector") public class DatatypeDetectorImpl extends AbstractDatatypeDetector
DatatypeDetector.CDI_NAME| Constructor and Description |
|---|
DatatypeDetectorImpl()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDatatype(Class<?> type)
|
isJavaStandardDatatype, registerCustomDatatype, registerCustomDatatype, registerDefaultDatatypes, registerJavaTimeDatatypes, registerJavaUtilDateCalendarDatatypes, registerNumberDatatypes, registerStandardDatatype, registerStandardDatatype, setExtraDatatypescreateLogger, doInitialize, getLoggerdoInitialized, getInitializationState, initializepublic boolean isDatatype(Class<?> type)
Class reflects an (immutable)
Datatype. It will return true if the given
value is a String, Boolean, Character, anything derived from
Number, an Enum, an instance of Datatype, a
Date (even though not immutable) or anything similar.isDatatype in interface DatatypeDetectorisDatatype in class AbstractDatatypeDetectortype - is the Class to check.true if the given Class represents a
Datatype, false otherwise.Copyright © 2001–2015 mmm-Team. All rights reserved.