public class SGTypes
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
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 | Description |
---|---|
SGTypes() |
Modifier and Type | Method | Description |
---|---|---|
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. |
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 IO_EXCEPTION
JClass
instance of type 'java.io.IOException'.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 enumerationpublic 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 enumerationpublic 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 Iterator
public 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
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com