|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo
org.jibx.schema.plugin.BaseJibxProjectBuilder
public abstract class BaseJibxProjectBuilder
Runs the open-oasis catalog to schema-library plugin.
| Field Summary | |
|---|---|
static String |
STRING_ENCODING
|
static String |
URL_ENCODING
|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
BaseJibxProjectBuilder()
|
|
| Method Summary | |
|---|---|
void |
execute()
Run |
Object |
getBindingFromStream(Class<?> bindingClass,
InputStream inStream)
Read the template into the model. |
String |
schemaLocationToPackage(String schemaLocation,
StringBuilder sbGroupId)
Calculate the groupId and artifactId. |
String |
stringToPackageName(String packageName)
Make this string a valid package name. |
boolean |
writeThisModel(Model message,
OutputStream out)
Write this model to this outstream. |
void |
writeThisModel(String artifactId,
Model model)
Write this model using this project name. |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.plugin.ContextEnabled |
|---|
getPluginContext, setPluginContext |
| Field Detail |
|---|
public static final String URL_ENCODING
public static final String STRING_ENCODING
| Constructor Detail |
|---|
public BaseJibxProjectBuilder()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojoorg.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public String schemaLocationToPackage(String schemaLocation,
StringBuilder sbGroupId)
schemaLocation - sbGroupId -
public String stringToPackageName(String packageName)
packageName -
public Object getBindingFromStream(Class<?> bindingClass,
InputStream inStream)
public void writeThisModel(String artifactId,
Model model)
artifactId - model -
public boolean writeThisModel(Model message,
OutputStream out)
message - out -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||