Class CollectionInfoJ2

    • Constructor Detail

      • CollectionInfoJ2

        public CollectionInfoJ2​(XSType contentType,
                                java.lang.String name,
                                java.lang.String elementName,
                                java.lang.String collectionType,
                                boolean useJava50,
                                FieldMemberAndAccessorFactory memberAndAccessorFactory,
                                FieldMemberAndAccessorFactory contentMemberAndAccessorFactory)
        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 org.exolab.castor.builder.FieldInfoFactory#ARRAY_LIST
        useJava50 - true if code is supposed to be generated for Java 5
        memberAndAccessorFactory - the FieldMemberAndAccessorFactory to be used