Package | Description |
---|---|
org.exolab.castor.builder |
Castor XML code generator
|
org.exolab.castor.builder.descriptors | |
org.exolab.castor.builder.types | |
org.exolab.javasource |
This package contains classes that represent Java Source objects for Castor XML
code generator.
|
Modifier and Type | Method and Description |
---|---|
static JType |
SGTypes.createEnumeration(JType jType,
boolean usejava50)
Factory method for creating a
JCollectionType instance representing
an enumeration. |
static JType |
SGTypes.createEnumeration(JType jType,
boolean usejava50,
boolean useExtends)
Factory method for creating a
JCollectionType instance representing
an enumeration. |
static JType |
SGTypes.createHashtable(boolean useJava50)
Factory method for creating a
JCollectionType instance representing
an Hashtable instance. |
static JType |
SGTypes.createIterator(JType jType,
boolean usejava50)
Factory method for creating a
JCollectionType instance representing
an Iterator instance. |
static JType |
SGTypes.createIterator(JType jType,
boolean usejava50,
boolean useExtends)
Factory method for creating a
JCollectionType instance representing
an Iterator instance. |
Modifier and Type | Method and Description |
---|---|
static JType |
SGTypes.createEnumeration(JType jType,
boolean usejava50)
Factory method for creating a
JCollectionType instance representing
an enumeration. |
static JType |
SGTypes.createEnumeration(JType jType,
boolean usejava50,
boolean useExtends)
Factory method for creating a
JCollectionType instance representing
an enumeration. |
static JType |
SGTypes.createIterator(JType jType,
boolean usejava50)
Factory method for creating a
JCollectionType instance representing
an Iterator instance. |
static JType |
SGTypes.createIterator(JType jType,
boolean usejava50,
boolean useExtends)
Factory method for creating a
JCollectionType instance representing
an Iterator instance. |
Modifier and Type | Class and Description |
---|---|
class |
DescriptorJClass
A class which defines the necessary methods for generating ClassDescriptor
source files.
|
class |
JDODescriptorJClass
A class which defines the necessary methods for creating the JDO-specific
descriptor source files.
|
Modifier and Type | Method and Description |
---|---|
abstract JType |
XSType.getJType()
Returns the JType that this XSType represents.
|
JType |
XSGYearMonth.getJType()
Returns the JType that this XSType represents.
|
JType |
XSGDay.getJType()
Returns the JType that this XSType represents.
|
JType |
XSHexBinary.getJType()
Returns the JType that this XSType represents.
|
JType |
XSAnyURI.getJType()
Returns the JType that this XSType represents.
|
JType |
XSDate.getJType()
Returns the JType that this XSType represents.
|
JType |
XSDuration.getJType()
Returns the JType that this XSType represents.
|
JType |
XSIdRef.getJType()
Returns the JType that this XSType represents.
|
JType |
XSTime.getJType()
Returns the JType that this XSType represents.
|
JType |
XSNonPositiveInteger.getJType()
Returns the JType that this XSType represents.
|
JType |
XSListType.getJType()
Returns the JType that this XSType represents.
|
JType |
XSString.getJType()
Returns the JType that this XSType represents.
|
JType |
XSNMToken.getJType()
Returns the JType that this XSType represents.
|
JType |
XSGMonthDay.getJType()
Returns the JType that this XSType represents.
|
JType |
XSInt.getJType()
Returns the JType that this XSType represents.
|
JType |
XSFloat.getJType()
Returns the JType that this XSType represents.
|
JType |
XSUnsignedShort.getJType()
Returns the JType that this XSType represents.
|
JType |
XSId.getJType()
Returns the JType that this XSType represents.
|
JType |
XSNegativeInteger.getJType()
Returns the JType that this XSType represents.
|
JType |
XSUnsignedInt.getJType()
Returns the JType that this XSType represents.
|
JType |
XSUnsignedByte.getJType()
Returns the JType that this XSType represents.
|
JType |
XSLong.getJType()
Returns the JType that this XSType represents.
|
JType |
XSBase64Binary.getJType()
Returns the JType that this XSType represents.
|
JType |
XSInteger.getJType()
Returns the JType that this XSType represents.
|
JType |
XSShort.getJType()
Returns the JType that this XSType represents.
|
JType |
XSNonNegativeInteger.getJType()
Returns the JType that this XSType represents.
|
JType |
XSNormalizedString.getJType()
Returns the JType that this XSType represents.
|
JType |
XSByte.getJType()
Returns the JType that this XSType represents.
|
JType |
XSGMonth.getJType()
Returns the JType that this XSType represents.
|
JType |
XSPositiveInteger.getJType()
Returns the JType that this XSType represents.
|
JType |
XSNCName.getJType()
Returns the JType that this XSType represents.
|
JType |
XSDecimal.getJType()
Returns the JType that this XSType represents.
|
JType |
XSUnsignedLong.getJType() |
JType |
XSClass.getJType()
Returns the JType that this XSType represents.
|
JType |
XSGYear.getJType()
Returns the JType that this XSType represents.
|
JType |
XSDateTime.getJType()
Returns the JType that this XSType represents.
|
JType |
XSDouble.getJType()
Returns the JType that this XSType represents.
|
JType |
XSBoolean.getJType()
Returns the JType that this XSType represents.
|
JType |
XSQName.getJType()
Returns the JType that this XSType represents.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractJClass
A abstract base class for representations of the Java Source code for a Java Class.
|
class |
JAnnotationType
Describes the definition of a annotation type class.
|
class |
JArrayType
JType sub-class for Arrays.
|
class |
JClass
A representation of the Java Source code for a Java Class.
|
class |
JCollectionType
JType sub-class for collections.
|
class |
JComponentizedType
JType sub-class for componentized types, such as array as collections.
|
class |
JEnum
Describes the definition of a enum type class.
|
class |
JInnerClass
A representation of the Java Source code for a Java inner class.
|
class |
JInterface
A representation of the Java Source code for a Java Interface.
|
class |
JPrimitiveType
JType sub-class for java primitives.
|
class |
JStructure
This class represents the basic Java "structure" for a Java source file.
|
Modifier and Type | Method and Description |
---|---|
JType |
JComponentizedType.getComponentType()
Returns the component type.
|
JType |
JMethodSignature.getReturnType()
Returns the JType that represents the return type for the method
signature.
|
JType |
JMethod.getReturnType()
Returns the JType that represents the return type of the JMethod.
|
JType |
JAnnotationTypeElement.getType()
Returns the JType representing the type of this JAnnotationTypeElement.
|
JType |
JParameter.getType()
Returns the parameter type.
|
JType |
AbstractJField.getType()
Returns the JType representing the type of this JField.
|
Modifier and Type | Method and Description |
---|---|
void |
JParameter.setType(JType type)
Sets the type of this parameter.
|
Constructor and Description |
---|
AbstractJField(JType type,
String name)
Creates a new JField.
|
JAnnotationTypeElement(String name,
JType type)
Constructs a JAnnotationTypeElement with a given name and type.
|
JArrayType(JType componentType,
boolean useJava50)
Creates an instance of a array type, of type 'name'.
|
JCollectionType(String typeName,
JType componentType,
boolean useJava50)
Creates an instance of a collection type, of type 'collectionName'.
|
JCollectionType(String typeName,
JType componentType,
boolean useJava50,
boolean useExtends)
Creates an instance of a collection type, of type 'collectionName'.
|
JCollectionType(String typeName,
String instanceName,
JType componentType,
boolean useJava50)
Creates an instance of a collection type, of type 'collectionName'.
|
JComponentizedType(String name,
JType componentType,
boolean useJava50)
Creates an instance of a componentized type, of type 'name'.
|
JConstant(JType type,
String name)
Creates a new JConstant.
|
JConstant(JType type,
String name,
boolean makePrivate)
Creates a new JConstant.
|
JField(JType type,
String name)
Creates a new JField.
|
JField(JType type,
String name,
String comment) |
JMethod(String name,
JType returnType,
String returnDoc)
Creates a new JMethod with the given name and returnType.
|
JMethodSignature(String name,
JType returnType)
Creates a new method with the given name and return type.
|
JParameter(JType type,
String name)
Creates a new JParameter with the given type, and name.
|
Copyright © 2022. All rights reserved.