Package org.bndly.schema.beans
Class XmlSchemaBeanGeneratorMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.bndly.schema.beans.AbstractSchemaBasedBeanGeneratorMojo
-
- org.bndly.schema.beans.XmlSchemaBeanGeneratorMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generateXmlBeans") public class XmlSchemaBeanGeneratorMojo extends AbstractSchemaBasedBeanGeneratorMojo
Generates Schema Beans from a predefined Schema
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanprefixingEnabledThe target folder for generated files-
Fields inherited from class org.bndly.schema.beans.AbstractSchemaBasedBeanGeneratorMojo
importStateHolder, schemaExtensions, schemaProviderClass, schemaRoot, targetFolder, targetPackage
-
-
Constructor Summary
Constructors Constructor Description XmlSchemaBeanGeneratorMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoCodeGenerationWithSchema(org.bndly.schema.model.Schema schema, org.bndly.code.common.CodeGenerationContext ctx, File targetPath)-
Methods inherited from class org.bndly.schema.beans.AbstractSchemaBasedBeanGeneratorMojo
execute, writeCodeToFile, writeCodeToFile, writeCodeToFile
-
-
-
-
Method Detail
-
doCodeGenerationWithSchema
protected void doCodeGenerationWithSchema(org.bndly.schema.model.Schema schema, org.bndly.code.common.CodeGenerationContext ctx, File targetPath) throws IOException, org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
doCodeGenerationWithSchemain classAbstractSchemaBasedBeanGeneratorMojo- Throws:
IOExceptionorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
-