public class DmoCompactSchemaFormatter extends Object
| Constructor and Description |
|---|
DmoCompactSchemaFormatter(PrintStream p) |
| Modifier and Type | Method and Description |
|---|---|
void |
dumpSchema(SchemaManager sm,
SchemaDefinition sd,
String dmodir)
For all AttributeDefinitions in the schema, this method dumps a [schema]ASAG
to the DMO subdirectory.
|
void |
dumpSchema(String sn,
String schemaPackage,
TreeMap<String,DmcUncheckedObject> classes,
TreeMap<String,DmcUncheckedObject> attributes,
TreeMap<String,DmcUncheckedObject> types,
ArrayList<DmcUncheckedObject> rules,
String dmodir,
int baseID,
int idRange)
For all AttributeDefinitions in the schema, this method dumps a [schema]ASAG
to the DMO subdirectory.
|
void |
getAllMustAndMay(DmcUncheckedObject uco,
TreeSet<String> must,
TreeSet<String> may,
TreeMap<String,DmcUncheckedObject> classDefs) |
public DmoCompactSchemaFormatter(PrintStream p)
public void dumpSchema(SchemaManager sm, SchemaDefinition sd, String dmodir) throws IOException, ResultException, DmcNameClashException, IllegalArgumentException, DmcValueException
sd - The schema.dmodir - The output directory.IOExceptionIOExceptionResultExceptionDmcNameClashExceptionDmcValueExceptionIllegalArgumentExceptionpublic void dumpSchema(String sn, String schemaPackage, TreeMap<String,DmcUncheckedObject> classes, TreeMap<String,DmcUncheckedObject> attributes, TreeMap<String,DmcUncheckedObject> types, ArrayList<DmcUncheckedObject> rules, String dmodir, int baseID, int idRange) throws IOException, ResultException
sn - The schema name.schemaPackage - The schema package prefix.classes - the class definitions.attributes - the attribute definitions.types - the type definitions.dmodir - The output directory.baseID - the base ID for the schemaidRange - the range of IDs permissibleIOExceptionIOExceptionResultExceptionResultExceptionpublic void getAllMustAndMay(DmcUncheckedObject uco, TreeSet<String> must, TreeSet<String> may, TreeMap<String,DmcUncheckedObject> classDefs) throws ResultException
ResultExceptionCopyright © 2023. All rights reserved.