org.exolab.castor.util

Class Configuration.Property

public static class Configuration.Property extends Object

Names of properties used in the configuration file.
Field Summary
static StringDebug
Property specifying whether to run in debug mode.
static StringFileName
The name of the configuration file.
static StringIndent
Property specifying whether XML documents should be indented by default.
static StringMarshallingValidation
Property specifying whether to use validation in the Marshalling Framework
 org.exolab.castor.marshalling.validation
 
static StringNamespacePackages
Property specifying Namespace to Package Mappings
 org.exolab.castor.xml.nspackages
 
static StringNamespaces
Property specifying whether to support Namespaces by default.
static StringNaming
Property specifying the implementation of the naming conventions to use.
static StringParser
Property specifying the class name of the XML parser to use.
static StringParserFeatures
Property specifying additional features for the parser.
static StringParserFeatureSeparator
static StringParserValidation
Property specifying whether to perform document validation by default.
static StringPrimitiveNodeType
Property specifying the type of node to use for primitive values, either "element" or "attribute"
 org.exolab.castor.xml.introspector.primitive.nodetype
 
static StringRegExp
Property specifying the regular expression validator to use.
static StringResourceName
static StringSaveMapKeys
Property specifying whether or not to save the "keys" of a Hashtable or Map during marshalling.
static StringSerializer
Property specifying the class name of the XML serializer to use.
static StringStrictElements
Property specifying whether to apply strictness to elements when unmarshalling.

Field Detail

Debug

public static final String Debug
Property specifying whether to run in debug mode.
 org.exolab.castor.debug
 

FileName

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

Indent

public static final String Indent
Property specifying whether XML documents should be indented by default.
 org.exolab.castor.indent
 

MarshallingValidation

public static final String MarshallingValidation
Property specifying whether to use validation in the Marshalling Framework
 org.exolab.castor.marshalling.validation
 

NamespacePackages

public static final String NamespacePackages
Property specifying Namespace to Package Mappings
 org.exolab.castor.xml.nspackages
 

Namespaces

public static final String Namespaces
Property specifying whether to support Namespaces by default.
 org.exolab.castor.SAXParser.namespaces
 

Naming

public static final String Naming
Property specifying the implementation of the naming conventions to use. Values of this property must be either "mixed", "lower", or the name of a class which extends org.exolab.castor.xml.XMLNaming.
 org.exolab.castor.xml.naming
 

Parser

public static final String Parser
Property specifying the class name of the XML parser to use.
 org.exolab.castor.parser
 

ParserFeatures

public static final String ParserFeatures
Property specifying additional features for the parser. This value contains a comma separated list of features that might or might not be supported by the specified parser.
 org.exolab.castor.sax.features
 

ParserFeatureSeparator

public static final String ParserFeatureSeparator

ParserValidation

public static final String ParserValidation
Property specifying whether to perform document validation by default.
 org.exolab.castor.SAXParser.validation
 

PrimitiveNodeType

public static final String PrimitiveNodeType
Property specifying the type of node to use for primitive values, either "element" or "attribute"
 org.exolab.castor.xml.introspector.primitive.nodetype
 

RegExp

public static final String RegExp
Property specifying the regular expression validator to use. This specified class must implement org.exolab.castor.xml.validators.RegExpValidator
 org.exolab.castor.regexp
 

ResourceName

static final String ResourceName

SaveMapKeys

public static final String SaveMapKeys
Property specifying whether or not to save the "keys" of a Hashtable or Map during marshalling. By default this is true.
 org.exolab.castor.xml.saveMapKeys
 

Since: 0.9.5.3

Serializer

public static final String Serializer
Property specifying the class name of the XML serializer to use.
 org.exolab.castor.serializer
 

StrictElements

public static final String StrictElements
Property specifying whether to apply strictness to elements when unmarshalling. Default is true which means that elements appearing in the XML Documnt which cannot be mapped to a class cause a SAXException to be thrown. If set to false, these 'unknown' elements are ignored
 org.exolab.castor.strictelements
 
Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com