|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.builder.SGTypes
public class 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.
| Field Summary | |
|---|---|
static JClass |
CLASS
Represents a JClass instance of type 'java.lang.Class'. |
static JClass |
INDEX_OUT_OF_BOUNDS_EXCEPTION
Represents a JClass instance of type 'java.lang.IndexOutOfBoundsException'. |
static JClass |
IO_EXCEPTION
Represents a JClass instance of type 'java.io.IOException'. |
static JClass |
MARSHAL_EXCEPTION
Represents a JClass instance of type 'org.exolab.castor.xml.MarshalException'. |
static JClass |
OBJECT
Represents a JClass instance of type 'java.lang.Object'. |
static JClass |
PROPERTY_CHANGE_SUPPORT
Represents a JClass instance of type 'java.beans.PropertyChangeSupport'. |
static JClass |
READER
Represents a JClass instance of type 'java.io.Reader'. |
static JClass |
STRING
Represents a JClass instance of type 'java.lang.String'. |
static JClass |
VALIDATION_EXCEPTION
Represents a JClass instance of type
'org.exolab.castor.xml.ValidationException'. |
static JClass |
WRITER
Represents a JClass instance of type 'java.lang.Writer'. |
| Constructor Summary | |
|---|---|
SGTypes()
|
|
| Method Summary | |
|---|---|
static JType |
createEnumeration(JType jType,
boolean usejava50)
Factory method for creating a JCollectionType instance representing
an enumeration. |
static JType |
createEnumeration(JType jType,
boolean usejava50,
boolean useExtends)
Factory method for creating a JCollectionType instance representing
an enumeration. |
static JType |
createHashtable(boolean useJava50)
Factory method for creating a JCollectionType instance representing
an Hashtable instance. |
static JType |
createIterator(JType jType,
boolean usejava50)
Factory method for creating a JCollectionType instance representing
an Iterator instance. |
static JType |
createIterator(JType jType,
boolean usejava50,
boolean useExtends)
Factory method for creating a JCollectionType instance representing
an Iterator instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final JClass MARSHAL_EXCEPTION
JClass instance of type 'org.exolab.castor.xml.MarshalException'.
public static final JClass VALIDATION_EXCEPTION
JClass instance of type
'org.exolab.castor.xml.ValidationException'.
public static final JClass INDEX_OUT_OF_BOUNDS_EXCEPTION
JClass instance of type 'java.lang.IndexOutOfBoundsException'.
public static final JClass CLASS
JClass instance of type 'java.lang.Class'.
public static final JClass OBJECT
JClass instance of type 'java.lang.Object'.
public static final JClass STRING
JClass instance of type 'java.lang.String'.
public static final JClass IO_EXCEPTION
JClass instance of type 'java.io.IOException'.
public static final JClass READER
JClass instance of type 'java.io.Reader'.
public static final JClass WRITER
JClass instance of type 'java.lang.Writer'.
public static final JClass PROPERTY_CHANGE_SUPPORT
JClass instance of type 'java.beans.PropertyChangeSupport'.
| Constructor Detail |
|---|
public SGTypes()
| Method Detail |
|---|
public static final JType createEnumeration(JType jType,
boolean usejava50)
JCollectionType instance representing
an enumeration.
jType - The content type of the collection.usejava50 - Whether Java 5.0 is the target JVM.
JCollectionType instance representing an enumeration
public static final JType createEnumeration(JType jType,
boolean usejava50,
boolean useExtends)
JCollectionType instance representing
an enumeration.
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).
JCollectionType instance representing an enumeration
public static final JType createIterator(JType jType,
boolean usejava50)
JCollectionType instance representing
an Iterator instance.
jType - The content type of the collection.usejava50 - Whether Java 5.0 is the target JVM.
JCollectionType instance representing an Iterator
public static final JType createIterator(JType jType,
boolean usejava50,
boolean useExtends)
JCollectionType instance representing
an Iterator instance.
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).
JCollectionType instance representing an Iteratorpublic static final JType createHashtable(boolean useJava50)
JCollectionType instance representing
an Hashtable instance.
useJava50 - Whether Java 5.0 is the target JVM.
JCollectionType instance representing a Hashtable
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||