org.exolab.castor.builder
public class CollectionInfoJ2 extends CollectionInfo
Version: $Revision: 6302 $ $Date: 2006-02-23 01:08:24 -0700 (Thu, 23 Feb 2006) $
Constructor Summary | |
---|---|
CollectionInfoJ2(XSType contentType, String name, String elementName, String collectionType, boolean useJava50) |
Method Summary | |
---|---|
protected void | createAddMethod(JClass jClass) |
protected void | createCollectionIterationMethods(JClass jClass, boolean useJava50)
{@inheritDoc }
To the Java-1 collection iterators, we add the Java-2 Iterator.
|
protected void | createEnumerateMethod(JClass jClass, boolean useJava50)
{@inheritDoc }
|
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. collectionType Java type (e.g., 'arraylist') to use to store the collection. The name is NOT fully specified and is all lowercase. Currently, any value but "arraylist" does not work. See ARRAY_LIST useJava50 true if source code is supposed to be generated for Java 5
See Also: CollectionInfo
See Also: CollectionInfo