org.exolab.castor.builder

Class BuilderConfiguration.Property

Enclosing Class:
BuilderConfiguration

public static class BuilderConfiguration.Property
extends java.lang.Object

Names of properties used in the configuration file.

Field Summary

static String
AUTOMATIC_CONFLICT_RESOLUTION
Property specifying whether automatic class name conflict resolution should be used or not; defaults to false.
static 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'.
static String
BOUND_PROPERTIES
Property specifying whether or not to generate source code for bound properties.
static 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.
static String
CONFIG_FILENAME_PROPERTY
The name of the configuration file.
static String
ENUM_TYPE_ACCESS_INTERFACE
Property specifying whether to implement EnumeratedTypeAccess interface for all generated enumerated type classes.
static String
EQUALS_METHOD
Property specifying if we want to have the equals method generated for each generated class.
static String
EXTRA_COLLECTION_METHODS
Property specifying whether or not to generate source code for extra collection methods.
static 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
 
static 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.
static String
JAVA_CLASS_MAPPING
Property specifying how element's and type's are mapped into a Java class hierarchy by the Source Generator.
static String
JAVA_VERSION
Property specifying whether the Java sources generated should be 1.4 or 5.0 compliant.
static String
JCLASSPRINTER_TYPES
Property enlisting the supported JClassPrinter instances available for writing out JClass instances to the file system Either "writer" or "template".
static String
MAX_CONSTANTS_PROPERTY
Maximum number of constant definitions within one file.
static String
NAMESPACE_PACKAGES
Property listing mapping between XML namespaces and Java packages.
static String
NAMESPACE_PACKAGES_OLD
Property listing mapping between XML namespaces and Java packages.
static String
NAME_CONFLICT_STRATEGIES
Registered class name conflict resolution strategies.
(package private) static String
RESOURCE_NAME
Resource to load from the JAR file to load our defaults.
static String
SUPER_CLASS
Property specifying the super class for all generated classes.
static String
WRAPPER
Property specifying if we want to use Wrapper Objects instead of primitives (eg java.lang.Float instead of float).

Field Details

AUTOMATIC_CONFLICT_RESOLUTION

public static final 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
 

AUTOMATIC_CONFLICT_RESOLUTION_TYPE_SUFFIX

public static final 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
 

BOUND_PROPERTIES

public static final 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
 

CLASS_DESC_FIELD_NAMES

public static final 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.

CONFIG_FILENAME_PROPERTY

public static final String CONFIG_FILENAME_PROPERTY
The name of the configuration file.
 castor.properties
 

ENUM_TYPE_ACCESS_INTERFACE

public static final String ENUM_TYPE_ACCESS_INTERFACE
Property specifying whether to implement EnumeratedTypeAccess interface for all generated enumerated type classes.
 org.exolab.castor.builder.enumTypeAccessInterface
 

EQUALS_METHOD

public static final String EQUALS_METHOD
Property specifying if we want to have the equals method generated for each generated class.

EXTRA_COLLECTION_METHODS

public static final String EXTRA_COLLECTION_METHODS
Property specifying whether or not to generate source code for extra collection methods.
 org.exolab.castor.builder.extraCollectionMethods
 

EXTRA_DOCUMENTATION_METHODS

public static final 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
 

FORCE_JAVA4_ENUMS

public static final 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.

JAVA_CLASS_MAPPING

public static final 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
 

JAVA_VERSION

public static final String JAVA_VERSION
Property specifying whether the Java sources generated should be 1.4 or 5.0 compliant.

JCLASSPRINTER_TYPES

public static final String JCLASSPRINTER_TYPES
Property enlisting the supported JClassPrinter instances available for writing out JClass instances to the file system Either "writer" or "template".

MAX_CONSTANTS_PROPERTY

public static final 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
 

NAMESPACE_PACKAGES

public static final String NAMESPACE_PACKAGES
Property listing mapping between XML namespaces and Java packages.

NAMESPACE_PACKAGES_OLD

public static final String NAMESPACE_PACKAGES_OLD
Property listing mapping between XML namespaces and Java packages.

NAME_CONFLICT_STRATEGIES

public static final String NAME_CONFLICT_STRATEGIES
Registered class name conflict resolution strategies.
 org.exolab.castor.builder.nameConflictStrategies
 

RESOURCE_NAME

(package private) static final String RESOURCE_NAME
Resource to load from the JAR file to load our defaults.

SUPER_CLASS

public static final String SUPER_CLASS
Property specifying the super class for all generated classes.
 org.exolab.castor.builder.superclass
 

WRAPPER

public static final String WRAPPER
Property specifying if we want to use Wrapper Objects instead of primitives (eg java.lang.Float instead of float).

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com