|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.builder.info.XMLInfo
org.exolab.castor.builder.info.FieldInfo
org.exolab.castor.builder.info.CollectionInfo
org.exolab.castor.builder.info.CollectionInfoODMG30
public final class CollectionInfoODMG30
A helper used for generating source that deals with 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 |
---|
READ_METHOD, READ_WRITE_METHODS, WRITE_METHOD |
Fields inherited from class org.exolab.castor.builder.info.XMLInfo |
---|
ATTRIBUTE_TYPE, CHOICE_NODE_NAME_ERROR_INDICATION, ELEMENT_TYPE, TEXT_TYPE |
Constructor Summary | |
---|---|
CollectionInfoODMG30(XSType contentType,
java.lang.String name,
java.lang.String elementName,
boolean useJava50)
Creates a new CollectionInfoODMG30. |
Method Summary | |
---|---|
protected void |
createEnumerateMethod(JClass jClass,
boolean useJava50)
|
void |
generateInitializerCode(JSourceCode jsc)
Creates code for initialization of this Member. |
Methods inherited from class org.exolab.castor.builder.info.XMLInfo |
---|
getNamespacePrefix, getNamespaceURI, getNodeName, getNodeType, getNodeTypeName, getSchemaType, isElementDefinition, isRequired, setElementDefinition, setMultivalued, setNamespacePrefix, setNamespaceURI, setNodeName, setNodeType, setRequired, setSchemaType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionInfoODMG30(XSType contentType, java.lang.String name, java.lang.String elementName, boolean useJava50)
contentType
- the content type of the collection, ie. the type of
objects that the collection will containname
- the name of the CollectionelementName
- the element name for each element in collectionuseJava50
- true if code is supposed to be generated for Java 5Method Detail |
---|
public void generateInitializerCode(JSourceCode jsc)
generateInitializerCode
in class CollectionInfo
jsc
- the JSourceCode in which to add the source to#generateInitializerCode(org.exolab.javasource.JSourceCode)
protected void createEnumerateMethod(JClass jClass, boolean useJava50)
createEnumerateMethod
in class CollectionInfo
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |