public final class ConfigReader extends Object
| Constructor and Description |
|---|
ConfigReader(ProcessingEnvironment env,
Collection<? extends TypeElement> classes,
File xmlFile,
ErrorHandler errorHandler) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Reference> |
getClassesToBeIncluded()
This creates a regular expression
for the user pattern , matches the input classes
passed by the user and returns the final
list of classes that need to be included for a config file
after applying those patterns
|
SchemaOutputResolver |
getSchemaOutputResolver()
This returns the SchemaOutputResolver to generate the schemas
|
public ConfigReader(ProcessingEnvironment env, Collection<? extends TypeElement> classes, File xmlFile, ErrorHandler errorHandler) throws SAXException, IOException
classes - The set of classes passed to the AnnotationProcessorxmlFile - The configuration file.SAXException - If this is thrown, the error has already been reported.IOException - If any IO errors occur.public Collection<Reference> getClassesToBeIncluded()
public SchemaOutputResolver getSchemaOutputResolver()
Copyright © 2017 JBoss by Red Hat. All rights reserved.