| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
package org.dozer.util; |
| 17 | |
|
| 18 | |
import org.dozer.classmap.RelationshipType; |
| 19 | |
import org.dozer.factory.XMLBeanFactory; |
| 20 | |
import org.dozer.fieldmap.DozerField; |
| 21 | |
|
| 22 | |
|
| 23 | |
|
| 24 | |
|
| 25 | |
|
| 26 | |
|
| 27 | |
|
| 28 | |
|
| 29 | |
|
| 30 | |
|
| 31 | |
|
| 32 | |
public final class DozerConstants { |
| 33 | |
|
| 34 | 0 | private DozerConstants() {} |
| 35 | |
|
| 36 | |
public static final String CURRENT_VERSION = "5.5.1"; |
| 37 | |
|
| 38 | |
public static final boolean DEFAULT_WILDCARD_POLICY = true; |
| 39 | |
public static final boolean DEFAULT_ERROR_POLICY = true; |
| 40 | |
public static final boolean DEFAULT_MAP_NULL_POLICY = true; |
| 41 | |
public static final boolean DEFAULT_MAP_EMPTY_STRING_POLICY = true; |
| 42 | |
public static final boolean DEFAULT_TRIM_STRINGS_POLICY = false; |
| 43 | |
public static final int DEFAULT_CONVERTER_BY_DEST_TYPE_CACHE_MAX_SIZE = 10000; |
| 44 | |
public static final int DEFAULT_SUPER_TYPE_CHECK_CACHE_MAX_SIZE = 10000; |
| 45 | 1 | public static final RelationshipType DEFAULT_RELATIONSHIP_TYPE_POLICY = RelationshipType.CUMULATIVE; |
| 46 | |
public static final String DEFAULT_CONFIG_FILE = "dozer.properties"; |
| 47 | |
public static final String DEFAULT_MAPPING_FILE = "dozerBeanMapping.xml"; |
| 48 | |
public static final boolean DEFAULT_AUTOREGISTER_JMX_BEANS = true; |
| 49 | |
public static final boolean DEFAULT_STATISTICS_ENABLED = false; |
| 50 | |
public static final boolean DEFAULT_EL_ENABLED = false; |
| 51 | |
|
| 52 | |
public static final String XSD_NAME = "beanmapping.xsd"; |
| 53 | |
public static final String CONFIG_FILE_SYS_PROP = "dozer.configuration"; |
| 54 | |
public static final String DEBUG_SYS_PROP = "dozer.debug"; |
| 55 | |
public static final String ITERATE = "iterate"; |
| 56 | |
public static final String DEEP_FIELD_DELIMITER = "."; |
| 57 | |
public static final String DEEP_FIELD_DELIMITER_REGEXP = "\\."; |
| 58 | |
|
| 59 | |
|
| 60 | |
|
| 61 | |
|
| 62 | |
public static final String SELF_KEYWORD = "this"; |
| 63 | |
public static final String CGLIB_ID = "$$EnhancerByCGLIB$$"; |
| 64 | 1 | public static final String BASE_CLASS = Object.class.getName(); |
| 65 | 1 | public static final String XML_BEAN_FACTORY = XMLBeanFactory.class.getName(); |
| 66 | |
|
| 67 | 1 | public static final String DEFAULT_CLASS_LOADER_BEAN = DefaultClassLoader.class.getName(); |
| 68 | 1 | public static final String DEFAULT_PROXY_RESOLVER_BEAN = DefaultProxyResolver.class.getName(); |
| 69 | |
|
| 70 | |
public static final String JAVASSIST_PACKAGE = "org.javassist.tmp."; |
| 71 | |
public static final String JAVASSIST_SYMBOL = "_$$_javassist_"; |
| 72 | |
|
| 73 | |
} |