org.exolab.castor.builder

Class CollectionInfoODMG30

public class CollectionInfoODMG30 extends CollectionInfo

A helper used for generating source that deals with Collections.

Version: $Revision: 6302 $ $Date: 2006-02-23 01:08:24 -0700 (Thu, 23 Feb 2006) $

Author: Frank Thelen Bernd Deichmann

Constructor Summary
CollectionInfoODMG30(XSType contentType, String name, String elementName, boolean useJava50)
Creates a new CollectionInfoODMG30
Method Summary
protected voidcreateEnumerateMethod(JClass jClass, boolean useJava50)
voidgenerateInitializerCode(JSourceCode jsc)
Creates code for initialization of this Member

Constructor Detail

CollectionInfoODMG30

public CollectionInfoODMG30(XSType contentType, String name, String elementName, boolean useJava50)
Creates a new CollectionInfoODMG30

Parameters: contentType the content type of the collection, ie. the type of objects that the collection will contain name the name of the Collection elementName the element name for each element in collection useJava50 true if source code is supposed to be generated for Java 5

Method Detail

createEnumerateMethod

protected void createEnumerateMethod(JClass jClass, boolean useJava50)

generateInitializerCode

public void generateInitializerCode(JSourceCode jsc)
Creates code for initialization of this Member

Parameters: jsc the JSourceCode in which to add the source to

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