Class SchemaParsingUtil
java.lang.Object
com.evolveum.midpoint.prism.impl.schema.SchemaParsingUtil
Temporary home for a bunch of "build me" methods.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PrismSchemaImpl
createAndParse
(@NotNull Element sourceXsdElement, boolean isRuntime, String shortDescription) A convenience method for schemas with no potential for circular item definitions.static PrismSchemaImpl
createAndParse
(@NotNull Element sourceXsdElement, boolean isRuntime, String shortDescription, boolean allowDelayedItemDefinitions) static void
parse
(@NotNull SchemaBuilder schemaBuilder, @NotNull Element sourceXsdElement, boolean isRuntime, String shortDescription, boolean allowDelayedItemDefinitions)
-
Constructor Details
-
SchemaParsingUtil
public SchemaParsingUtil()
-
-
Method Details
-
createAndParse
public static PrismSchemaImpl createAndParse(@NotNull @NotNull Element sourceXsdElement, boolean isRuntime, String shortDescription) throws SchemaException A convenience method for schemas with no potential for circular item definitions.- Throws:
SchemaException
-
createAndParse
public static PrismSchemaImpl createAndParse(@NotNull @NotNull Element sourceXsdElement, boolean isRuntime, String shortDescription, boolean allowDelayedItemDefinitions) throws SchemaException - Throws:
SchemaException
-
parse
public static void parse(@NotNull @NotNull SchemaBuilder schemaBuilder, @NotNull @NotNull Element sourceXsdElement, boolean isRuntime, String shortDescription, boolean allowDelayedItemDefinitions) throws SchemaException - Throws:
SchemaException
-