org.exolab.castor.builder

Class FieldInfoFactory


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.1.1.1 $ $Date: 2003/03/03 07:07:43 $
Authors:
Frank Thelen
Arnaud Blandin

Constructor Summary

FieldInfoFactory()
Creates a new FieldInfoFactory.
FieldInfoFactory(String collectionName)

Method Summary

CollectionInfo
createCollection(XSType contentType, String name, String elementName)
CollectionInfo
createCollection(XSType contentType, String name, String elementName, String collectionName)
FieldInfo
createFieldInfo(XSType type, String name)
IdentityInfo
createIdentity(String name)

Constructor Details

FieldInfoFactory

public FieldInfoFactory()
Creates a new FieldInfoFactory. The default collection used will be Java 1 type.

FieldInfoFactory

public FieldInfoFactory(String collectionName)

Method Details

createCollection

public CollectionInfo createCollection(XSType contentType,
                                       String name,
                                       String elementName)

createCollection

public CollectionInfo createCollection(XSType contentType,
                                       String name,
                                       String elementName,
                                       String collectionName)

createFieldInfo

public FieldInfo createFieldInfo(XSType type,
                                 String name)

createIdentity

public IdentityInfo createIdentity(String name)

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