public final class ConfigReader
extends java.lang.Object
Constructor and Description |
---|
ConfigReader(javax.annotation.processing.ProcessingEnvironment env,
java.util.Collection<? extends javax.lang.model.element.TypeElement> classes,
java.io.File xmlFile,
org.xml.sax.ErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
java.util.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
|
javax.xml.bind.SchemaOutputResolver |
getSchemaOutputResolver()
This returns the SchemaOutputResolver to generate the schemas
|
public ConfigReader(javax.annotation.processing.ProcessingEnvironment env, java.util.Collection<? extends javax.lang.model.element.TypeElement> classes, java.io.File xmlFile, org.xml.sax.ErrorHandler errorHandler) throws org.xml.sax.SAXException, java.io.IOException
classes
- The set of classes passed to the AnnotationProcessorxmlFile
- The configuration file.org.xml.sax.SAXException
- If this is thrown, the error has already been reported.java.io.IOException
- If any IO errors occur.public java.util.Collection<Reference> getClassesToBeIncluded()
public javax.xml.bind.SchemaOutputResolver getSchemaOutputResolver()