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 JClassSGTypes.CLASSRepresents aJClassinstance of type 'java.lang.Class'.static final JClassSGTypes.INDEX_OUT_OF_BOUNDS_EXCEPTIONRepresents aJClassinstance of type 'java.lang.IndexOutOfBoundsException'.static final JClassSGTypes.IO_EXCEPTIONRepresents aJClassinstance of type 'java.io.IOException'.static final JClassSGTypes.MARSHAL_EXCEPTIONRepresents aJClassinstance of type 'org.exolab.castor.xml.MarshalException'.static final JClassSGTypes.OBJECTRepresents aJClassinstance of type 'java.lang.Object'.static final JClassSGTypes.PROPERTY_CHANGE_SUPPORTRepresents aJClassinstance of type 'java.beans.PropertyChangeSupport'.static final JClassSGTypes.READERRepresents aJClassinstance of type 'java.io.Reader'.static final JClassSGTypes.STRINGRepresents aJClassinstance of type 'java.lang.String'.static final JClassSGTypes.VALIDATION_EXCEPTIONRepresents aJClassinstance of type 'org.exolab.castor.xml.ValidationException'.static final JClassSGTypes.WRITERRepresents aJClassinstance 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 JClassFactoryState.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 TypeMethodDescriptionvoidAnnotationBuilder.addClassAnnotations(ClassInfo classInfo, JClass jClass) add annotations to a JClass.voidJClassRegistry.bind(JClass jClass, XMLBindingComponent component, String mode) Registers aJClassinstance for a given XPATH.voidSGStateInfo.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 TypeMethodDescriptionvoidSGStateInfo.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 voidBaseClassNameConflictResolver.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.voidClassNameConflictResolver.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.voidTypeClassNameConflictResolver.changeClassInfoAsResultOfConflict(JClass jClass, String xpath, String typedXPath, Annotated annotated) Changes the JClass' internal class name, appedning a type suffix to the suggested class name.voidXPATHClassNameConflictResolver.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 classA class which defines the necessary methods for generating ClassDescriptor source files.final classA 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 voidCollectionMemberAndAccessorFactory.createAccessMethods(FieldInfo fieldInfo, JClass jClass, boolean useJava50, AnnotationBuilder[] annotationBuilders) Adds the getter/setter for this field to the jClass.voidFieldMemberAndAccessorFactory.createAccessMethods(FieldInfo fieldInfo, JClass jClass, boolean useJava50, AnnotationBuilder[] annotationBuilders) Adds the getter/setter for this field to the jClass.protected voidCollectionJ2NoIndexMemberAndAccessorFactory.createAddByIndexMethod(CollectionInfo fieldInfo, JClass jClass) Creates the add by index method.protected voidCollectionMemberAndAccessorFactory.createAddByIndexMethod(CollectionInfo fieldInfo, JClass jClass) Creates the add by index method.protected final voidCollectionJ2MemberAndAccessorFactory.createAddMethod(CollectionInfo fieldInfo, JClass jClass) Creates the add method for this collection.protected voidCollectionMemberAndAccessorFactory.createAddMethod(CollectionInfo fieldInfo, JClass jClass) Creates the add method for this collection.protected final voidCollectionJ2MemberAndAccessorFactory.createCollectionIterationMethods(CollectionInfo fieldInfo, JClass jClass, boolean useJava50) Generate methods for iterating over the objects in the collection.protected voidCollectionMemberAndAccessorFactory.createCollectionIterationMethods(CollectionInfo fieldInfo, JClass jClass, boolean useJava50) Generate methods for iterating over the objects in the collection.protected final voidCollectionJ2MemberAndAccessorFactory.createEnumerateMethod(CollectionInfo fieldInfo, JClass jClass, boolean useJava50) Creates the enumerate method.protected voidCollectionMemberAndAccessorFactory.createEnumerateMethod(CollectionInfo fieldInfo, JClass jClass, boolean useJava50) Creates the enumerate method.protected voidCollectionODMG30MemberAndAccessorFactory.createEnumerateMethod(CollectionInfo fieldInfo, JClass jClass, boolean useJava50) Creates the enumerate method.voidSourceFactory.createEqualsMethod(JClass jclass) Create an 'equals' method on the given JClass.protected voidCollectionJ2NoIndexMemberAndAccessorFactory.createGetByIndexMethod(CollectionInfo fieldInfo, JClass jClass) supresses the method creationprotected voidCollectionMemberAndAccessorFactory.createGetByIndexMethod(CollectionInfo fieldInfo, JClass jClass, boolean useJava50) Creates the get by index method.voidSourceFactory.createHashCodeMethod(JClass jclass) Create an "hashCode" method on the given JClass.protected voidCollectionMemberAndAccessorFactory.createIteratorMethod(CollectionInfo fieldInfo, JClass jClass, boolean useJava50) Creates the iterate method.final voidFieldMemberAndAccessorFactory.createJavaField(FieldInfo fieldInfo, JClass jClass) Adds the suitable JField to the JClass.protected voidCollectionJ2NoIndexMemberAndAccessorFactory.createRemoveByIndexMethod(CollectionInfo fieldInfo, JClass jClass) Creates the remove by index method.protected voidCollectionMemberAndAccessorFactory.createRemoveByIndexMethod(CollectionInfo fieldInfo, JClass jClass) Creates the remove by index method.protected voidCollectionJ2NoIndexMemberAndAccessorFactory.createSetByIndexMethod(CollectionInfo fieldInfo, JClass jClass) Creates the set by index method.protected voidCollectionMemberAndAccessorFactory.createSetByIndexMethod(CollectionInfo fieldInfo, JClass jClass) Creates the set by index method.voidSourceFactory.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 voidCollectionInfoJ2SortedSet.createAddByIndexMethod(JClass jClass) protected voidCollectionInfoJ2SortedSet.createGetByIndexMethod(JClass jClass) protected voidCollectionInfoJ2SortedSet.createRemoveByIndexMethod(JClass jClass) protected voidCollectionInfoJ2SortedSet.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 TypeMethodDescriptionbooleanReturns true if theJClassinstance is instance of JEnum.voidJClassPrinter.printClass(JClass jClass, String outputDir, String lineSeparator, String header) Prints the givenJClassinstance to the given output directory.voidTemplateJClassPrinter.printClass(JClass jClass, String outputDir, String lineSeparator, String header) Prints the givenJClassinstance to the given output directory.voidWriterJClassPrinter.printClass(JClass jClass, String outputDir, String lineSeparator, String header) Prints the givenJClassinstance 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 classDescribes the definition of a enum type class.classA representation of the Java Source code for a Java inner class.Methods in org.exolab.javasource that return JClassModifier and TypeMethodDescriptionfinal JClassAbstractJClass.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 TypeMethodDescriptionvoidAdds a JClass to be printed in this file.voidJConstructor.addException(JClass exp) Adds the given Exception to this JConstructor's throws clause.voidJMethod.addException(JClass exp, String description) Adds the given Exception to this JMethod's throws clause.voidJMethodSignature.addException(JClass exp) Adds the given Exception to this JMethodSignature's throws clause.final booleanAbstractJClass.removeInnerClass(JClass jClass) Removes the given inner-class (JClass) from this JClass.protected voidAbstractJField.setDeclaringClass(JClass declaringClass) Sets the class that declares this JField.Constructors in org.exolab.javasource with parameters of type JClass