public class Refactory extends Object
public access, they are intended
for use only by the JiBX developers and may change from one release to the next. To make use of this class from your
own code, call the main(String[]) method with an appropriate argument list.| Constructor and Description |
|---|
Refactory(RefactoryCommandLine parms)
Constructor.
|
Refactory(SchemasetCustom custom,
ValidationContext vctx)
Constructor used by tests.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyAndNormalize()
Apply extensions and normalize all schemas.
|
boolean |
customizeSchemas()
Validate and apply customizations to loaded schemas.
|
static void |
main(String[] args)
Run the schema refactoring using command line parameters.
|
void |
pruneDefinitions()
Processes the schemas to remove unused global definitions.
|
void |
validateSchemas(SchemaElement[] schemas)
Validate the schemas.
|
public Refactory(RefactoryCommandLine parms)
parms - command line parameterspublic Refactory(SchemasetCustom custom, ValidationContext vctx)
custom - vctx - public void validateSchemas(SchemaElement[] schemas)
schemas - schemas to be validatedpublic boolean customizeSchemas()
true if successful, false if errorpublic void applyAndNormalize()
public void pruneDefinitions()
Copyright © 2005-2014 jibx.org. All Rights Reserved.