org.exolab.castor.builder
Class FieldInfoFactory

java.lang.Object
  extended byorg.exolab.castor.builder.FieldInfoFactory
Direct Known Subclasses:
FieldInfoFactoryJ2, FieldInfoFactoryODMG30

public class FieldInfoFactory
extends java.lang.Object

This class is used as a factory to create all the FieldInfo objects used by the source generator. You may override the FieldInfo classes and this factory for specific adaptions.

Version:
$Revision: 1.2 $ $Date: 2000/11/04 01:31:00 $
Author:
Frank Thelen

Constructor Summary
FieldInfoFactory()
          Creates a new FieldInfoFactory
 
Method Summary
 CollectionInfo createCollection(XSType contentType, java.lang.String name, java.lang.String elementName)
           
 FieldInfo createFieldInfo(XSType type, java.lang.String name)
           
 IdentityInfo createIdentity(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldInfoFactory

public FieldInfoFactory()
Creates a new FieldInfoFactory

Method Detail

createIdentity

public IdentityInfo createIdentity(java.lang.String name)

createCollection

public CollectionInfo createCollection(XSType contentType,
                                       java.lang.String name,
                                       java.lang.String elementName)

createFieldInfo

public FieldInfo createFieldInfo(XSType type,
                                 java.lang.String name)


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