Uses of Interface
com.thoughtworks.qdox.library.ClassLibraryBuilder
Packages that use ClassLibraryBuilder
Package
Description
Provides classes to start constructing a java project
Provides classes to construct a classloader-like structure of libraries
There are two types of ClassLibraryBuilders:
SortedClassLibraryBuilder
, which bundles the libraries by type
OrderedClassLibraryBuilder
, which respects the order of added libraries
There are four types of ClassLibraries:
ClassLoaderLibrary
, which uses the classpath to search for sources or binaries
SourceLibrary
, which uses a specific sourcefile
SourceFolderLibrary
, which tries to locate sourcefiles by translating the package to folders
ClassNameLibrary
, which generates an anonymous class, as if it would exist
-
Uses of ClassLibraryBuilder in com.thoughtworks.qdox
Fields in com.thoughtworks.qdox declared as ClassLibraryBuilderModifier and TypeFieldDescriptionprivate final ClassLibraryBuilder
JavaProjectBuilder.classLibraryBuilder
Constructors in com.thoughtworks.qdox with parameters of type ClassLibraryBuilderModifierConstructorDescriptionJavaProjectBuilder
(ClassLibraryBuilder classLibraryBuilder) Custom constructor, so another resource loading strategy can be defined -
Uses of ClassLibraryBuilder in com.thoughtworks.qdox.library
Classes in com.thoughtworks.qdox.library that implement ClassLibraryBuilderModifier and TypeClassDescriptionclass
This library resolves JavaClasses in the order in which class sources are added.class
Methods in com.thoughtworks.qdox.library that return ClassLibraryBuilderModifier and TypeMethodDescriptionClassLibraryBuilder.appendClassLoader
(ClassLoader classLoader) Append a classloader and return itselfOrderedClassLibraryBuilder.appendClassLoader
(ClassLoader classLoader) SortedClassLibraryBuilder.appendClassLoader
(ClassLoader classLoader) ClassLibraryBuilder.appendDefaultClassLoaders()
Add the defaultClassLoaders and return itseOrderedClassLibraryBuilder.appendDefaultClassLoaders()
SortedClassLibraryBuilder.appendDefaultClassLoaders()
ClassLibraryBuilder.appendSource
(File file) ClassLibraryBuilder.appendSource
(InputStream stream) ClassLibraryBuilder.appendSource
(Reader reader) ClassLibraryBuilder.appendSource
(URL url) OrderedClassLibraryBuilder.appendSource
(File file) OrderedClassLibraryBuilder.appendSource
(InputStream stream) OrderedClassLibraryBuilder.appendSource
(Reader reader) OrderedClassLibraryBuilder.appendSource
(URL url) SortedClassLibraryBuilder.appendSource
(File file) SortedClassLibraryBuilder.appendSource
(InputStream stream) SortedClassLibraryBuilder.appendSource
(Reader reader) SortedClassLibraryBuilder.appendSource
(URL url) ClassLibraryBuilder.appendSourceFolder
(File sourceFolder) OrderedClassLibraryBuilder.appendSourceFolder
(File sourceFolder) SortedClassLibraryBuilder.appendSourceFolder
(File sourceFolder) ClassLibraryBuilder.setDebugLexer
(boolean debugLexer) Set totrue
to enable debug logging for the lexerOrderedClassLibraryBuilder.setDebugLexer
(boolean debugLexer) SortedClassLibraryBuilder.setDebugLexer
(boolean debugLexer) ClassLibraryBuilder.setDebugParser
(boolean debugParser) Set totrue
to enable debug logging for the parserOrderedClassLibraryBuilder.setDebugParser
(boolean debugParser) SortedClassLibraryBuilder.setDebugParser
(boolean debugParser) ClassLibraryBuilder.setEncoding
(String encoding) OrderedClassLibraryBuilder.setEncoding
(String encoding) SortedClassLibraryBuilder.setEncoding
(String encoding) ClassLibraryBuilder.setErrorHander
(ErrorHandler errorHandler) Can handle ParseExceptions instead of crashing.OrderedClassLibraryBuilder.setErrorHander
(ErrorHandler errorHandler) SortedClassLibraryBuilder.setErrorHander
(ErrorHandler errorHandler) ClassLibraryBuilder.setModelBuilderFactory
(ModelBuilderFactory factory) Define theModelBuilderFactory
which the parsers should use to construct the JavaModel ObjectsOrderedClassLibraryBuilder.setModelBuilderFactory
(ModelBuilderFactory modelBuilderFactory) SortedClassLibraryBuilder.setModelBuilderFactory
(ModelBuilderFactory factory) ClassLibraryBuilder.setModelWriterFactory
(ModelWriterFactory factory) Define theModelWriterFactory
which is used by the classes when calling for the codeBlock.OrderedClassLibraryBuilder.setModelWriterFactory
(ModelWriterFactory modelWriterFactory) SortedClassLibraryBuilder.setModelWriterFactory
(ModelWriterFactory modelWriterFactory)