/** * Main entry point. */ void postprocessSchema(MutablePrismSchema prismSchema, boolean isRuntime, boolean allowDelayedItemDefinitions, String shortDescription) throws SchemaException { this.schema = prismSchema; this.isRuntime = isRuntime; this.allowDelayedItemDefinitions = allowDelayedItemDefinitions; this.shortDescription = shortDescription; // Create ComplexTypeDefinitions from all top-level complexType // definition in the XSD processComplexTypeDefinitions(xsSchemaSet); // Create SimpleTypeDefinitions from all top-level simpleType // definition in the XSD processSimpleTypeDefinitions(xsSchemaSet); // Create PropertyContainer (and possibly also Property) definition from // the top-level elements in XSD // This also creates ResourceObjectDefinition in some cases createDefinitionsFromElements(xsSchemaSet); }