Package org.exolab.castor.builder
Class BuilderConfiguration.Property
- java.lang.Object
-
- org.exolab.castor.builder.BuilderConfiguration.Property
-
- Enclosing class:
- BuilderConfiguration
public static class BuilderConfiguration.Property extends java.lang.ObjectNames of properties used in the configuration file.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAUTOMATIC_CONFLICT_RESOLUTIONProperty specifying whether automatic class name conflict resolution should be used or not; defaults to false.static java.lang.StringAUTOMATIC_CONFLICT_RESOLUTION_TYPE_SUFFIXProperty specifying the 'string' used in type strategy to be inserted between the actual element name and the type name (during automatic class name conflict resolution); defaults to 'By'.static java.lang.StringBOUND_PROPERTIESProperty specifying whether or not to generate source code for bound properties.static java.lang.StringCLASS_DESC_FIELD_NAMESProperty specifying if we want to have a 'public static final String' generated for each attribute and element name used within a class descriptor.static java.lang.StringCONFIG_FILENAME_PROPERTYThe name of the configuration file.static java.lang.StringENUM_TYPE_ACCESS_INTERFACEProperty specifying whether to implement EnumeratedTypeAccess interface for all generated enumerated type classes.static java.lang.StringEQUALS_METHODProperty specifying if we want to have the equals method generated for each generated class.static java.lang.StringEXTRA_COLLECTION_METHODSProperty specifying whether or not to generate source code for extra collection methods.static java.lang.StringEXTRA_DOCUMENTATION_METHODSProperty specifying whether extra members/methods for extracting XML schema documentation should be made available; defaults to false.static java.lang.StringFORCE_JAVA4_ENUMSForces the code generator to create 'old' Java 1.4 enumeration classes instead of Java 5 enums for <simpleType> enumerations, even in Java 5 mode.static java.lang.StringJAVA_CLASS_MAPPINGProperty specifying how element's and type's are mapped into a Java class hierarchy by the Source Generator.static java.lang.StringJAVA_VERSIONProperty specifying whether the Java sources generated should be 1.4 or 5.0 compliant.static java.lang.StringJCLASSPRINTER_FACTORIESProperty enlisting the supportedJClassPrinterFactoryinstances available for creatingJClassPrinterinstances.static java.lang.StringMAX_CONSTANTS_PROPERTYMaximum number of constant definitions within one file.static java.lang.StringNAME_CONFLICT_STRATEGIESRegistered class name conflict resolution strategies.static java.lang.StringNAMESPACE_PACKAGESProperty listing mapping between XML namespaces and Java packages.static java.lang.StringNAMESPACE_PACKAGES_OLDProperty listing mapping between XML namespaces and Java packages.(package private) static java.lang.StringRESOURCE_NAMEResource to load from the JAR file to load our defaults.static java.lang.StringSUPER_CLASSProperty specifying the super class for all generated classes.static java.lang.StringUSE_CYCLE_BREAKERProperty specifying whether cycle breaker code should be added to generated methods 'equals' and 'hashcode'; defaults to true.static java.lang.StringWRAPPERProperty specifying if we want to use Wrapper Objects instead of primitives (eg java.lang.Float instead of float).
-
Constructor Summary
Constructors Constructor Description Property()
-
-
-
Field Detail
-
BOUND_PROPERTIES
public static final java.lang.String BOUND_PROPERTIES
Property specifying whether or not to generate source code for bound properties. Currently all properties will be treated as bound properties if this flag is set to true. A value of 'true' enables bound properties.org.exolab.castor.builder.boundproperties
- See Also:
- Constant Field Values
-
ENUM_TYPE_ACCESS_INTERFACE
public static final java.lang.String ENUM_TYPE_ACCESS_INTERFACE
Property specifying whether to implement EnumeratedTypeAccess interface for all generated enumerated type classes.org.exolab.castor.builder.enumTypeAccessInterface
- See Also:
- Constant Field Values
-
EXTRA_COLLECTION_METHODS
public static final java.lang.String EXTRA_COLLECTION_METHODS
Property specifying whether or not to generate source code for extra collection methods.org.exolab.castor.builder.extraCollectionMethods
- See Also:
- Constant Field Values
-
SUPER_CLASS
public static final java.lang.String SUPER_CLASS
Property specifying the super class for all generated classes.org.exolab.castor.builder.superclass
- See Also:
- Constant Field Values
-
JAVA_CLASS_MAPPING
public static final java.lang.String JAVA_CLASS_MAPPING
Property specifying how element's and type's are mapped into a Java class hierarchy by the Source Generator. The value must contain one of the following. 'element' outputs a Java class hierarchy based on element names used in the XML Schema. This is the default. 'type' outputs a Java class hierarchy based on the type information defined in the XML Schema.org.exolab.castor.builder.javaclassmapping
- See Also:
- Constant Field Values
-
NAMESPACE_PACKAGES_OLD
public static final java.lang.String NAMESPACE_PACKAGES_OLD
Property listing mapping between XML namespaces and Java packages.- See Also:
- Constant Field Values
-
NAMESPACE_PACKAGES
public static final java.lang.String NAMESPACE_PACKAGES
Property listing mapping between XML namespaces and Java packages.- See Also:
- Constant Field Values
-
EQUALS_METHOD
public static final java.lang.String EQUALS_METHOD
Property specifying if we want to have the equals method generated for each generated class.- See Also:
- Constant Field Values
-
WRAPPER
public static final java.lang.String WRAPPER
Property specifying if we want to use Wrapper Objects instead of primitives (eg java.lang.Float instead of float).- See Also:
- Constant Field Values
-
CLASS_DESC_FIELD_NAMES
public static final java.lang.String CLASS_DESC_FIELD_NAMES
Property specifying if we want to have a 'public static final String' generated for each attribute and element name used within a class descriptor.- See Also:
- Constant Field Values
-
JAVA_VERSION
public static final java.lang.String JAVA_VERSION
Property specifying whether the Java sources generated should be 1.4 or 5.0 compliant.- See Also:
- Constant Field Values
-
FORCE_JAVA4_ENUMS
public static final java.lang.String FORCE_JAVA4_ENUMS
Forces the code generator to create 'old' Java 1.4 enumeration classes instead of Java 5 enums for <simpleType> enumerations, even in Java 5 mode.- See Also:
- Constant Field Values
-
CONFIG_FILENAME_PROPERTY
public static final java.lang.String CONFIG_FILENAME_PROPERTY
The name of the configuration file.castor.properties
- See Also:
- Constant Field Values
-
MAX_CONSTANTS_PROPERTY
public static final java.lang.String MAX_CONSTANTS_PROPERTY
Maximum number of constant definitions within one file. This property is used to allow the user to configure the maximum number of constant definitions (within a Java class as generated as a result of an enumeration); default is 1000. Is this number if exceeded, no constants will be generated anymore.org.exolab.castor.builder.maxNumberOfConstants
- See Also:
- Constant Field Values
-
RESOURCE_NAME
static final java.lang.String RESOURCE_NAME
Resource to load from the JAR file to load our defaults.- See Also:
- Constant Field Values
-
NAME_CONFLICT_STRATEGIES
public static final java.lang.String NAME_CONFLICT_STRATEGIES
Registered class name conflict resolution strategies.org.exolab.castor.builder.nameConflictStrategies
- See Also:
- Constant Field Values
-
AUTOMATIC_CONFLICT_RESOLUTION
public static final java.lang.String AUTOMATIC_CONFLICT_RESOLUTION
Property specifying whether automatic class name conflict resolution should be used or not; defaults to false.org.exolab.castor.builder.automaticConflictResolution
- See Also:
- Constant Field Values
-
AUTOMATIC_CONFLICT_RESOLUTION_TYPE_SUFFIX
public static final java.lang.String AUTOMATIC_CONFLICT_RESOLUTION_TYPE_SUFFIX
Property specifying the 'string' used in type strategy to be inserted between the actual element name and the type name (during automatic class name conflict resolution); defaults to 'By'.org.exolab.castor.builder.automaticConflictResolutionTypeSuffix
- See Also:
- Constant Field Values
-
JCLASSPRINTER_FACTORIES
public static final java.lang.String JCLASSPRINTER_FACTORIES
Property enlisting the supportedJClassPrinterFactoryinstances available for creatingJClassPrinterinstances.- See Also:
- Constant Field Values
-
EXTRA_DOCUMENTATION_METHODS
public static final java.lang.String EXTRA_DOCUMENTATION_METHODS
Property specifying whether extra members/methods for extracting XML schema documentation should be made available; defaults to false.org.exolab.castor.builder.extraDocumentationMethods=false
- See Also:
- Constant Field Values
-
USE_CYCLE_BREAKER
public static final java.lang.String USE_CYCLE_BREAKER
Property specifying whether cycle breaker code should be added to generated methods 'equals' and 'hashcode'; defaults to true.org.exolab.castor.builder.useCycleBreaker = true
- See Also:
- Constant Field Values
-
-