|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.builder.info.FieldInfo
org.exolab.castor.builder.info.CollectionInfo
org.exolab.castor.builder.info.CollectionInfoJ2
public class CollectionInfoJ2
A helper used for generating source that deals with Java 2 Collections.
Field Summary |
---|
Fields inherited from class org.exolab.castor.builder.info.CollectionInfo |
---|
DEFAULT_REFERENCE_SUFFIX, REFERENCE_SUFFIX_PROPERTY |
Fields inherited from class org.exolab.castor.builder.info.FieldInfo |
---|
METHOD_PREFIX_ADD, METHOD_PREFIX_DELETE, METHOD_PREFIX_GET, METHOD_PREFIX_HAS, METHOD_PREFIX_IS, METHOD_PREFIX_SET, READ_METHOD, READ_WRITE_METHODS, WRITE_METHOD |
Fields inherited from interface org.exolab.castor.builder.info.XMLInfo |
---|
CHOICE_NODE_NAME_ERROR_INDICATION |
Constructor Summary | |
---|---|
CollectionInfoJ2(XSType contentType,
java.lang.String name,
java.lang.String elementName,
java.lang.String collectionType,
boolean useJava50,
FieldMemberAndAccessorFactory memberAndAccessorFactory,
FieldMemberAndAccessorFactory contentMemberAndAccessorFactory)
|
Method Summary |
---|
Methods inherited from class org.exolab.castor.builder.info.CollectionInfo |
---|
getContent, getContentName, getContentType, getElementName, getMethodSuffix, getParameterPrefix, getReferenceMethodSuffix, getReferenceSuffix, getXSList, isExtraMethods, setCreateExtraMethods, setReferenceMethodSuffix |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionInfoJ2(XSType contentType, java.lang.String name, java.lang.String elementName, java.lang.String collectionType, boolean useJava50, FieldMemberAndAccessorFactory memberAndAccessorFactory, FieldMemberAndAccessorFactory contentMemberAndAccessorFactory)
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 5memberAndAccessorFactory
- the FieldMemberAndAccessorFactory to be used
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |