Class SGTypes
java.lang.Object
org.exolab.castor.builder.SGTypes
A collection of type definitions and factory methods to create those types, as used
by the XML code generator of Castor during code generation.
- Version:
- $Revision: 7479 $ $Date: 2005-10-10 06:35:52 -0600 (Mon, 10 Oct 2005) $
- Author:
- Keith Visco
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JClassRepresents aJClassinstance of type 'java.lang.Class'.static final JClassRepresents aJClassinstance of type 'java.lang.IndexOutOfBoundsException'.static final JClassRepresents aJClassinstance of type 'java.io.IOException'.static final JClassRepresents aJClassinstance of type 'org.exolab.castor.xml.MarshalException'.static final JClassRepresents aJClassinstance of type 'java.lang.Object'.static final JClassRepresents aJClassinstance of type 'java.beans.PropertyChangeSupport'.static final JClassRepresents aJClassinstance of type 'java.io.Reader'.static final JClassRepresents aJClassinstance of type 'java.lang.String'.static final JClassRepresents aJClassinstance of type 'org.exolab.castor.xml.ValidationException'.static final JClassRepresents aJClassinstance of type 'java.lang.Writer'. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final JTypecreateEnumeration(JType jType, boolean usejava50) Factory method for creating aJCollectionTypeinstance representing an enumeration.static final JTypecreateEnumeration(JType jType, boolean usejava50, boolean useExtends) Factory method for creating aJCollectionTypeinstance representing an enumeration.static final JTypecreateHashtable(boolean useJava50) Factory method for creating aJCollectionTypeinstance representing aninstance.invalid reference
Hashtablestatic final JTypecreateIterator(JType jType, boolean usejava50) Factory method for creating aJCollectionTypeinstance representing aninstance.invalid reference
Iteratorstatic final JTypecreateIterator(JType jType, boolean usejava50, boolean useExtends) Factory method for creating aJCollectionTypeinstance representing aninstance.invalid reference
Iterator
-
Field Details
-
MARSHAL_EXCEPTION
-
VALIDATION_EXCEPTION
-
INDEX_OUT_OF_BOUNDS_EXCEPTION
-
CLASS
-
OBJECT
-
STRING
-
IO_EXCEPTION
-
READER
-
WRITER
-
PROPERTY_CHANGE_SUPPORT
-
-
Constructor Details
-
SGTypes
public SGTypes()
-
-
Method Details
-
createEnumeration
Factory method for creating aJCollectionTypeinstance representing an enumeration.- Parameters:
jType- The content type of the collection.usejava50- Whether Java 5.0 is the target JVM.- Returns:
JCollectionTypeinstance representing an enumeration
-
createEnumeration
Factory method for creating aJCollectionTypeinstance representing an enumeration.- Parameters:
jType- The content type of the collection.usejava50- Whether Java 5.0 is the target JVM.useExtends- True if '? extends' should be emitted for generics (Java 5.0 ff only).- Returns:
JCollectionTypeinstance representing an enumeration
-
createIterator
Factory method for creating aJCollectionTypeinstance representing aninstance.invalid reference
Iterator- Parameters:
jType- The content type of the collection.usejava50- Whether Java 5.0 is the target JVM.- Returns:
JCollectionTypeinstance representing aninvalid reference
Iterator
-
createIterator
Factory method for creating aJCollectionTypeinstance representing aninstance.invalid reference
Iterator- Parameters:
jType- The content type of the collection.usejava50- Whether Java 5.0 is the target JVM.useExtends- True if '? extends' should be emitted for generics (Java 5.0 ff only).- Returns:
JCollectionTypeinstance representing aninvalid reference
Iterator
-
createHashtable
Factory method for creating aJCollectionTypeinstance representing aninstance.invalid reference
Hashtable- Parameters:
useJava50- Whether Java 5.0 is the target JVM.- Returns:
JCollectionTypeinstance representing ainvalid reference
Hashtable
-