|
||||||||
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.CollectionInfoJ2
org.exolab.castor.builder.info.CollectionInfoJ2SortedSet
public final class CollectionInfoJ2SortedSet
A helper used for generating source that deals with Java 2 Collections of type 'java.util.SortedSet'.
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 | |
---|---|
CollectionInfoJ2SortedSet(XSType contentType,
java.lang.String name,
java.lang.String elementName,
boolean useJava50)
Creates an instance of this class that represents information about a Java collection type of type 'java.util.SortedSet'. |
Method Summary | |
---|---|
protected void |
createAddByIndexMethod(JClass jClass)
|
protected void |
createGetByIndexMethod(JClass jClass)
|
protected void |
createRemoveByIndexMethod(JClass jClass)
Creates implementation of remove(int i) method. |
protected void |
createSetByIndexMethod(JClass jClass)
|
Methods inherited from class org.exolab.castor.builder.info.CollectionInfoJ2 |
---|
createAddMethod, createCollectionIterationMethods, createEnumerateMethod |
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 CollectionInfoJ2SortedSet(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 contain.name
- The name of the Collection.elementName
- The element name for each element in collection.useJava50
- true if code is supposed to be generated for Java 5Method Detail |
---|
protected void createAddByIndexMethod(JClass jClass)
createAddByIndexMethod
in class CollectionInfo
protected void createGetByIndexMethod(JClass jClass)
createGetByIndexMethod
in class CollectionInfo
protected void createSetByIndexMethod(JClass jClass)
createSetByIndexMethod
in class CollectionInfo
protected void createRemoveByIndexMethod(JClass jClass)
createRemoveByIndexMethod
in class CollectionInfo
jClass
- the JClass to which we add this method
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |