|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.custom.CustomizationCommandLineBase
org.jibx.custom.classes.ClassCustomizationBase
public abstract class ClassCustomizationBase
Command line processor for customizable tools working with Java classes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jibx.custom.CustomizationCommandLineBase |
---|
CustomizationCommandLineBase.ArgList |
Field Summary | |
---|---|
private static java.lang.String[] |
BASE_USAGE_LINES
Ordered array of usage lines. |
private java.util.List |
m_classPaths
List of class paths. |
private java.util.List |
m_sourcePaths
List of source paths. |
Fields inherited from class org.jibx.custom.CustomizationCommandLineBase |
---|
STRING_PARAMETER_ARRAY, STRING_UNMARSHALLER_PARAMETER_ARRAY |
Constructor Summary | |
---|---|
protected |
ClassCustomizationBase(java.lang.String[] lines)
Constructor. |
Method Summary | |
---|---|
protected boolean |
checkParameter(CustomizationCommandLineBase.ArgList alist)
Check if an extension parameter is recognized. |
protected void |
finishParameters(CustomizationCommandLineBase.ArgList alist)
Finish processing of command line parameters. |
protected boolean |
loadCustomizations(java.lang.String path)
Load the customizations file. |
protected abstract void |
loadCustomizations(java.lang.String path,
IClassLocator loc,
ValidationContext vctx)
Load the customizations file. |
private static void |
splitItems(java.lang.String text,
java.util.List values)
Split items from a comma-delimited list. |
protected void |
verboseDetails()
Print any extension details. |
Methods inherited from class org.jibx.custom.CustomizationCommandLineBase |
---|
applyKeyValueMap, applyOverrides, getExtraArgs, getGeneratePath, getUsageLines, isVerbose, mergeUsageLines, printUsage, processArgs, putKeyValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String[] BASE_USAGE_LINES
private java.util.List m_classPaths
private java.util.List m_sourcePaths
Constructor Detail |
---|
protected ClassCustomizationBase(java.lang.String[] lines)
lines
- Method Detail |
---|
private static void splitItems(java.lang.String text, java.util.List values)
text
- comma-delimited listvalues
- target list of item valuesprotected boolean checkParameter(CustomizationCommandLineBase.ArgList alist)
false
..
checkParameter
in class CustomizationCommandLineBase
alist
- argument list
true
if parameter processed, false
if unknownprotected void finishParameters(CustomizationCommandLineBase.ArgList alist)
finishParameters
in class CustomizationCommandLineBase
alist
- protected void verboseDetails()
verboseDetails
in class CustomizationCommandLineBase
protected boolean loadCustomizations(java.lang.String path) throws JiBXException, java.io.IOException
loadCustomizations
in class CustomizationCommandLineBase
path
- customization file path
true
if successful, false
if an error
JiBXException
java.io.IOException
protected abstract void loadCustomizations(java.lang.String path, IClassLocator loc, ValidationContext vctx) throws JiBXException, java.io.IOException
path
- customizations file path, null
if noneloc
- class locatorvctx
- validation context
JiBXException
java.io.IOException
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |