Package | Description |
---|---|
com.thoughtworks.qdox.model.impl |
Provides the default implementation of the classes reflecting the Java model elements.
|
com.thoughtworks.qdox.writer |
Provides classes to write Java model elements in any style
|
com.thoughtworks.qdox.writer.impl |
Provides the default implementation of classes to write Java model elements in any style.
|
Modifier and Type | Method | Description |
---|---|---|
ModelWriter |
AbstractJavaModel.getModelWriter() |
Modifier and Type | Method | Description |
---|---|---|
ModelWriter |
ModelWriterFactory.newInstance() |
When called, a new instance must be returned.
|
ModelWriter |
ModelWriter.writeAnnotation(JavaAnnotation ann) |
Write the java annotation
A standard annotation writer should write:
the annotation signature
|
ModelWriter |
ModelWriter.writeClass(JavaClass cls) |
Write the java class
A standard class writer should write:
the javadoc
the annotations
the class signature, containing:
the fields
the constructors
the methods
|
ModelWriter |
ModelWriter.writeConstructor(JavaConstructor cns) |
Write the java constructor.
|
ModelWriter |
ModelWriter.writeField(JavaField fld) |
Write the java field
A standard field writer should write:
the javadoc
the annotations
the field signature
|
ModelWriter |
ModelWriter.writeInitializer(JavaInitializer init) |
Write the initializer.
|
ModelWriter |
ModelWriter.writeMethod(JavaMethod mth) |
Write the java method
A standard method writer should write:
the javadoc
the annotations
the method signature, containing:
the parameters
|
ModelWriter |
ModelWriter.writeModuleDescriptor(JavaModuleDescriptor descriptor) |
Write the module descriptor
A standard module descriptor writer should write:
the javadoc
the annotations
the module signature, containing:
the requires statements
the exports statements
the opens statements
the uses statements
the provides statements
|
ModelWriter |
ModelWriter.writeModuleExports(JavaModuleDescriptor.JavaExports exports) |
Write the module descriptors exports
|
ModelWriter |
ModelWriter.writeModuleOpens(JavaModuleDescriptor.JavaOpens opens) |
Write the module descriptors opens
|
ModelWriter |
ModelWriter.writeModuleProvides(JavaModuleDescriptor.JavaProvides provides) |
Write the module descriptors provides
|
ModelWriter |
ModelWriter.writeModuleRequires(JavaModuleDescriptor.JavaRequires requires) |
Write the module descriptors requires
|
ModelWriter |
ModelWriter.writeModuleUses(JavaModuleDescriptor.JavaUses uses) |
Write the module descriptors uses
|
ModelWriter |
ModelWriter.writePackage(JavaPackage pkg) |
Write the java package
A standard package writer should write:
the javadoc
the annotations
the package signature
|
ModelWriter |
ModelWriter.writeParameter(JavaParameter prm) |
Write the java parameter
A standard parameter writer should write:
the javadoc
the annotations
the parameter signature
|
ModelWriter |
ModelWriter.writeSource(JavaSource src) |
Write the complete source file
A standard source writer should write:
the package
the imports
the classes
|
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultModelWriter |
Modifier and Type | Method | Description |
---|---|---|
ModelWriter |
DefaultModelWriter.writeAnnotation(JavaAnnotation annotation) |
Write the java annotation
A standard annotation writer should write:
the annotation signature
|
ModelWriter |
DefaultModelWriter.writeClass(JavaClass cls) |
Write the java class
A standard class writer should write:
the javadoc
the annotations
the class signature, containing:
the fields
the constructors
the methods
|
ModelWriter |
DefaultModelWriter.writeConstructor(JavaConstructor constructor) |
Write the java constructor.
|
ModelWriter |
DefaultModelWriter.writeField(JavaField field) |
Write the java field
A standard field writer should write:
the javadoc
the annotations
the field signature
|
ModelWriter |
DefaultModelWriter.writeInitializer(JavaInitializer init) |
Write the initializer.
|
ModelWriter |
DefaultModelWriter.writeMethod(JavaMethod method) |
Write the java method
A standard method writer should write:
the javadoc
the annotations
the method signature, containing:
the parameters
|
ModelWriter |
DefaultModelWriter.writeModuleDescriptor(JavaModuleDescriptor descriptor) |
Write the module descriptor
A standard module descriptor writer should write:
the javadoc
the annotations
the module signature, containing:
the requires statements
the exports statements
the opens statements
the uses statements
the provides statements
|
ModelWriter |
DefaultModelWriter.writeModuleExports(JavaModuleDescriptor.JavaExports exports) |
Write the module descriptors exports
|
ModelWriter |
DefaultModelWriter.writeModuleOpens(JavaModuleDescriptor.JavaOpens opens) |
Write the module descriptors opens
|
ModelWriter |
DefaultModelWriter.writeModuleProvides(JavaModuleDescriptor.JavaProvides provides) |
Write the module descriptors provides
|
ModelWriter |
DefaultModelWriter.writeModuleRequires(JavaModuleDescriptor.JavaRequires requires) |
Write the module descriptors requires
|
ModelWriter |
DefaultModelWriter.writeModuleUses(JavaModuleDescriptor.JavaUses uses) |
Write the module descriptors uses
|
ModelWriter |
DefaultModelWriter.writePackage(JavaPackage pckg) |
Write the java package
A standard package writer should write:
the javadoc
the annotations
the package signature
|
ModelWriter |
DefaultModelWriter.writeParameter(JavaParameter parameter) |
Write the java parameter
A standard parameter writer should write:
the javadoc
the annotations
the parameter signature
|
ModelWriter |
DefaultModelWriter.writeSource(JavaSource source) |
Write the complete source file
A standard source writer should write:
the package
the imports
the classes
|
Copyright © 2002–2018. All rights reserved.