|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.builder.factory.FieldMemberAndAccessorFactory
org.exolab.castor.builder.factory.CollectionMemberAndAccessorFactory
org.exolab.castor.builder.factory.CollectionJ2MemberAndAccessorFactory
public class CollectionJ2MemberAndAccessorFactory
The Factory for Java2 Collections.
| Constructor Summary | |
|---|---|
CollectionJ2MemberAndAccessorFactory(JavaNaming naming)
Creates a new CollectionJ2MemberAndAccessorFactory. |
|
| Method Summary | |
|---|---|
protected void |
createAddMethod(CollectionInfo fieldInfo,
JClass jClass)
Creates the add method for this collection. |
protected void |
createCollectionIterationMethods(CollectionInfo fieldInfo,
JClass jClass,
boolean useJava50)
Generate methods for iterating over the objects in the collection. |
protected void |
createEnumerateMethod(CollectionInfo fieldInfo,
JClass jClass,
boolean useJava50)
Creates the enumerate method. |
| Methods inherited from class org.exolab.castor.builder.factory.CollectionMemberAndAccessorFactory |
|---|
addMaxSizeCheck, createAccessMethods, createAddByIndexMethod, createBoundPropertyCode, createGetByIndexMethod, createIteratorMethod, createRemoveByIndexMethod, createSetByIndexMethod, generateInitializerCode |
| Methods inherited from class org.exolab.castor.builder.factory.FieldMemberAndAccessorFactory |
|---|
createJavaField, getJavaNaming |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionJ2MemberAndAccessorFactory(JavaNaming naming)
naming - the javaNaming to use| Method Detail |
|---|
protected final void createCollectionIterationMethods(CollectionInfo fieldInfo,
JClass jClass,
boolean useJava50)
createCollectionIterationMethods in class CollectionMemberAndAccessorFactoryfieldInfo - the collectionI to translatejClass - the JClass to which we add this methoduseJava50 - true if source code is supposed to be generated for Java 5
protected final void createEnumerateMethod(CollectionInfo fieldInfo,
JClass jClass,
boolean useJava50)
createEnumerateMethod in class CollectionMemberAndAccessorFactoryfieldInfo - the collectionInfo to translatejClass - the jClass to add the method to.useJava50 - java version flag
protected final void createAddMethod(CollectionInfo fieldInfo,
JClass jClass)
createAddMethod in class CollectionMemberAndAccessorFactoryfieldInfo - the collectionInfo to translatejClass - the jClass to add the method to.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||