org.exolab.castor.builder.factory
Class EnumerationFactory

java.lang.Object
  extended by org.exolab.castor.builder.factory.BaseFactory
      extended by org.exolab.castor.builder.factory.EnumerationFactory

public final class EnumerationFactory
extends BaseFactory

This class creates the Java sources for XML Schema components that define an enumeration.

Version:
$Revision: 6287 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
Author:
Werner Guttmann

Constructor Summary
EnumerationFactory(BuilderConfiguration config, GroupNaming groupNaming, SourceGenerator sourceGenerator)
          Creates a new EnumerationFactory for the builder configuration given.
 
Method Summary
 void setCaseInsensitive(boolean caseInsensitive)
          Set to true if enumerated type lookups should be performed in a case insensitive manner.
 
Methods inherited from class org.exolab.castor.builder.factory.BaseFactory
createComment, extractCommentsFromAnnotations, getConfig, getGroupNaming, getInfoFactory, getJavaNaming, getSourceGenerator, normalize, setGroupNaming
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumerationFactory

public EnumerationFactory(BuilderConfiguration config,
                          GroupNaming groupNaming,
                          SourceGenerator sourceGenerator)
Creates a new EnumerationFactory for the builder configuration given.

Parameters:
config - the current BuilderConfiguration instance.
groupNaming - The group naming scheme to be used.
sourceGenerator - the calling source generator.
Method Detail

setCaseInsensitive

public void setCaseInsensitive(boolean caseInsensitive)
Set to true if enumerated type lookups should be performed in a case insensitive manner.

Parameters:
caseInsensitive - when true


Copyright © 2011. All Rights Reserved.