Uses of Class
org.exolab.javasource.JClass
Packages that use JClass
Package
Description
Castor XML code generator
This package contains classes that represent Java Source objects for Castor XML
code generator.
-
Uses of JClass in org.exolab.castor.builder
Fields in org.exolab.castor.builder declared as JClassModifier and TypeFieldDescriptionstatic final JClass
SGTypes.CLASS
Represents aJClass
instance of type 'java.lang.Class'.static final JClass
SGTypes.INDEX_OUT_OF_BOUNDS_EXCEPTION
Represents aJClass
instance of type 'java.lang.IndexOutOfBoundsException'.static final JClass
SGTypes.IO_EXCEPTION
Represents aJClass
instance of type 'java.io.IOException'.static final JClass
SGTypes.MARSHAL_EXCEPTION
Represents aJClass
instance of type 'org.exolab.castor.xml.MarshalException'.static final JClass
SGTypes.OBJECT
Represents aJClass
instance of type 'java.lang.Object'.static final JClass
SGTypes.PROPERTY_CHANGE_SUPPORT
Represents aJClass
instance of type 'java.beans.PropertyChangeSupport'.static final JClass
SGTypes.READER
Represents aJClass
instance of type 'java.io.Reader'.static final JClass
SGTypes.STRING
Represents aJClass
instance of type 'java.lang.String'.static final JClass
SGTypes.VALIDATION_EXCEPTION
Represents aJClass
instance of type 'org.exolab.castor.xml.ValidationException'.static final JClass
SGTypes.WRITER
Represents aJClass
instance of type 'java.lang.Writer'.Methods in org.exolab.castor.builder that return JClassModifier and TypeMethodDescriptionSGStateInfo.getImportedSourceCode
(String className) Returns the JClass with the given name or null if no bindings have been specified for a JClass with the name.final JClass
FactoryState.getJClass()
Get JClass for which we are currently generating code.SGStateInfo.getSourceCode
(String className) Returns the JClass with the given name or null if no bindings have been specified for a JClass with the name.JClass[]
SGStateInfo.getSourceCode
(Annotated annotated) Returns the array of JClass for the given Annotated structure or null if no bindings have been specified for the given Structure.Methods in org.exolab.castor.builder that return types with arguments of type JClassModifier and TypeMethodDescriptionSGStateInfo.getImportedSourcesByName()
Returns the sources as generated through XML schema imports.SGStateInfo.getSourcesByName()
Returns the sources as generated through XML schema imports.Methods in org.exolab.castor.builder with parameters of type JClassModifier and TypeMethodDescriptionvoid
AnnotationBuilder.addClassAnnotations
(ClassInfo classInfo, JClass jClass) add annotations to a JClass.void
JClassRegistry.bind
(JClass jClass, XMLBindingComponent component, String mode) Registers aJClass
instance for a given XPATH.void
SGStateInfo.bindSourceCode
(Annotated annotated, JClass[] classes) Binds the given Annotated structure with its generated source classes.Method parameters in org.exolab.castor.builder with type arguments of type JClassModifier and TypeMethodDescriptionvoid
SGStateInfo.storeImportedSourcesByName
(Map<String, JClass> importedSourcesByName) Stores generated sources as processed within an imported schema. -
Uses of JClass in org.exolab.castor.builder.conflict.strategy
Methods in org.exolab.castor.builder.conflict.strategy with parameters of type JClassModifier and TypeMethodDescriptionabstract void
BaseClassNameConflictResolver.changeClassInfoAsResultOfConflict
(JClass jClass, String xpath, String typedXPath, Annotated annotated) Changes the JClass' internal class name, as a result of an XPATH expression uniquely identifying an XML artefact within an XML schema.void
ClassNameConflictResolver.changeClassInfoAsResultOfConflict
(JClass jClass, String xpath, String typedXPath, Annotated annotated) Changes the JClass' internal class name, as a result of an XPATH expression uniquely identifying an XML artefact within an XML schema.void
TypeClassNameConflictResolver.changeClassInfoAsResultOfConflict
(JClass jClass, String xpath, String typedXPath, Annotated annotated) Changes the JClass' internal class name, appedning a type suffix to the suggested class name.void
XPATHClassNameConflictResolver.changeClassInfoAsResultOfConflict
(JClass jClass, String xpath, String typedXPath, Annotated annotated) Changes the JClass' internal class name, as a result of an XPATH expression uniquely identifying an XML artefact within an XML schema. -
Uses of JClass in org.exolab.castor.builder.conflictresolution
Methods in org.exolab.castor.builder.conflictresolution with parameters of type JClassModifier and TypeMethodDescriptionClassNameCRStrategy.dealWithClassNameConflict
(SGStateInfo state, ClassInfo newClassInfo, JClass conflict) Implements a specific strategy for dealing with class name conflicts.InformViaLogClassNameCRStrategy.dealWithClassNameConflict
(SGStateInfo state, ClassInfo newClassInfo, JClass conflict) Handle a class name conflict between newClassInfo and conflict.WarningViaDialogClassNameCRStrategy.dealWithClassNameConflict
(SGStateInfo state, ClassInfo newClassInfo, JClass conflict) Handle a class name conflict between newClassInfo and conflict. -
Uses of JClass in org.exolab.castor.builder.descriptors
Subclasses of JClass in org.exolab.castor.builder.descriptorsModifier and TypeClassDescriptionfinal class
A class which defines the necessary methods for generating ClassDescriptor source files.final class
A class which defines the necessary methods for creating the JDO-specific descriptor source files.Methods in org.exolab.castor.builder.descriptors that return JClassModifier and TypeMethodDescriptionDescriptorSourceFactory.createSource
(ClassInfo classInfo) Creates the Source code of a MarshalInfo for a given XML Schema element declaration.JDOClassDescriptorFactory.createSource
(ClassInfo classInfo) Creates the Source code of a ClassInfo for a given XML Schema element declaration.Constructors in org.exolab.castor.builder.descriptors with parameters of type JClassModifierConstructorDescriptionDescriptorJClass
(BuilderConfiguration config, String className, JClass type) Constructs a DescriptorJClass.JDODescriptorJClass
(BuilderConfiguration config, String className, JClass type) Constructs a JDODescriptorJClass. -
Uses of JClass in org.exolab.castor.builder.factory
Methods in org.exolab.castor.builder.factory that return JClassModifier and TypeMethodDescriptionSourceFactory.createSourceCode
(ExtendedBinding binding, SimpleType simpleType, SGStateInfo sgState) Creates the Java source code to support the given Simpletype.JClass[]
SourceFactory.createSourceCode
(XMLBindingComponent component, SGStateInfo sgState) Creates a new ClassInfo for the given XMLBindingComponent.Methods in org.exolab.castor.builder.factory with parameters of type JClassModifier and TypeMethodDescriptionfinal void
CollectionMemberAndAccessorFactory.createAccessMethods
(FieldInfo fieldInfo, JClass jClass, boolean useJava50, AnnotationBuilder[] annotationBuilders) Adds the getter/setter for this field to the jClass.void
FieldMemberAndAccessorFactory.createAccessMethods
(FieldInfo fieldInfo, JClass jClass, boolean useJava50, AnnotationBuilder[] annotationBuilders) Adds the getter/setter for this field to the jClass.protected void
CollectionJ2NoIndexMemberAndAccessorFactory.createAddByIndexMethod
(CollectionInfo fieldInfo, JClass jClass) Creates the add by index method.protected void
CollectionMemberAndAccessorFactory.createAddByIndexMethod
(CollectionInfo fieldInfo, JClass jClass) Creates the add by index method.protected final void
CollectionJ2MemberAndAccessorFactory.createAddMethod
(CollectionInfo fieldInfo, JClass jClass) Creates the add method for this collection.protected void
CollectionMemberAndAccessorFactory.createAddMethod
(CollectionInfo fieldInfo, JClass jClass) Creates the add method for this collection.protected final void
CollectionJ2MemberAndAccessorFactory.createCollectionIterationMethods
(CollectionInfo fieldInfo, JClass jClass, boolean useJava50) Generate methods for iterating over the objects in the collection.protected void
CollectionMemberAndAccessorFactory.createCollectionIterationMethods
(CollectionInfo fieldInfo, JClass jClass, boolean useJava50) Generate methods for iterating over the objects in the collection.protected final void
CollectionJ2MemberAndAccessorFactory.createEnumerateMethod
(CollectionInfo fieldInfo, JClass jClass, boolean useJava50) Creates the enumerate method.protected void
CollectionMemberAndAccessorFactory.createEnumerateMethod
(CollectionInfo fieldInfo, JClass jClass, boolean useJava50) Creates the enumerate method.protected void
CollectionODMG30MemberAndAccessorFactory.createEnumerateMethod
(CollectionInfo fieldInfo, JClass jClass, boolean useJava50) Creates the enumerate method.void
SourceFactory.createEqualsMethod
(JClass jclass) Create an 'equals' method on the given JClass.protected void
CollectionJ2NoIndexMemberAndAccessorFactory.createGetByIndexMethod
(CollectionInfo fieldInfo, JClass jClass) supresses the method creationprotected void
CollectionMemberAndAccessorFactory.createGetByIndexMethod
(CollectionInfo fieldInfo, JClass jClass, boolean useJava50) Creates the get by index method.void
SourceFactory.createHashCodeMethod
(JClass jclass) Create an "hashCode" method on the given JClass.protected void
CollectionMemberAndAccessorFactory.createIteratorMethod
(CollectionInfo fieldInfo, JClass jClass, boolean useJava50) Creates the iterate method.final void
FieldMemberAndAccessorFactory.createJavaField
(FieldInfo fieldInfo, JClass jClass) Adds the suitable JField to the JClass.protected void
CollectionJ2NoIndexMemberAndAccessorFactory.createRemoveByIndexMethod
(CollectionInfo fieldInfo, JClass jClass) Creates the remove by index method.protected void
CollectionMemberAndAccessorFactory.createRemoveByIndexMethod
(CollectionInfo fieldInfo, JClass jClass) Creates the remove by index method.protected void
CollectionJ2NoIndexMemberAndAccessorFactory.createSetByIndexMethod
(CollectionInfo fieldInfo, JClass jClass) Creates the set by index method.protected void
CollectionMemberAndAccessorFactory.createSetByIndexMethod
(CollectionInfo fieldInfo, JClass jClass) Creates the set by index method.void
SourceFactory.createTestableMethods
(JClass jclass, FactoryState state) Implement org.castor.xmlctf.CastorTestable im the given JClass. -
Uses of JClass in org.exolab.castor.builder.info
Methods in org.exolab.castor.builder.info that return JClassModifier and TypeMethodDescriptionClassInfo.getJClass()
Returns the JClass described by this ClassInfo.Methods in org.exolab.castor.builder.info with parameters of type JClassModifier and TypeMethodDescriptionprotected void
CollectionInfoJ2SortedSet.createAddByIndexMethod
(JClass jClass) protected void
CollectionInfoJ2SortedSet.createGetByIndexMethod
(JClass jClass) protected void
CollectionInfoJ2SortedSet.createRemoveByIndexMethod
(JClass jClass) protected void
CollectionInfoJ2SortedSet.createSetByIndexMethod
(JClass jClass) Constructors in org.exolab.castor.builder.info with parameters of type JClass -
Uses of JClass in org.exolab.castor.builder.printing
Methods in org.exolab.castor.builder.printing with parameters of type JClassModifier and TypeMethodDescriptionboolean
Returns true if theJClass
instance is instance of JEnum.void
JClassPrinter.printClass
(JClass jClass, String outputDir, String lineSeparator, String header) Prints the givenJClass
instance to the given output directory.void
TemplateJClassPrinter.printClass
(JClass jClass, String outputDir, String lineSeparator, String header) Prints the givenJClass
instance to the given output directory.void
WriterJClassPrinter.printClass
(JClass jClass, String outputDir, String lineSeparator, String header) Prints the givenJClass
instance to the given output directory. -
Uses of JClass in org.exolab.castor.builder.types
Constructors in org.exolab.castor.builder.types with parameters of type JClass -
Uses of JClass in org.exolab.javasource
Subclasses of JClass in org.exolab.javasourceModifier and TypeClassDescriptionfinal class
Describes the definition of a enum type class.class
A representation of the Java Source code for a Java inner class.Methods in org.exolab.javasource that return JClassModifier and TypeMethodDescriptionfinal JClass
AbstractJClass.createInnerClass
(String localname) Creates and returns an inner-class for this JClass.AbstractJField.getDeclaringClass()
Returns the class in which this JField has been declared.JClass[]
JConstructor.getExceptions()
Returns the exceptions that this JConstructor lists in its throws clause.JClass[]
JMethod.getExceptions()
Returns the exceptions that this JMethod throws.JClass[]
JMethodSignature.getExceptions()
Returns the exceptions that this JMethodSignature lists in its throws clause.final JClass[]
AbstractJClass.getInnerClasses()
Returns an array of JClass (the inner classes) contained within this JClass.Methods in org.exolab.javasource with parameters of type JClassModifier and TypeMethodDescriptionvoid
Adds a JClass to be printed in this file.void
JConstructor.addException
(JClass exp) Adds the given Exception to this JConstructor's throws clause.void
JMethod.addException
(JClass exp, String description) Adds the given Exception to this JMethod's throws clause.void
JMethodSignature.addException
(JClass exp) Adds the given Exception to this JMethodSignature's throws clause.final boolean
AbstractJClass.removeInnerClass
(JClass jClass) Removes the given inner-class (JClass) from this JClass.protected void
AbstractJField.setDeclaringClass
(JClass declaringClass) Sets the class that declares this JField.Constructors in org.exolab.javasource with parameters of type JClass