Uses of Class
org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.SimpleNamespaceResolver
Packages that use SimpleNamespaceResolver
Package
Description
The jaxb2-maven-plugin wraps and adapts the JAXB reference implementation
to be useful within the Maven build process.
-
Uses of SimpleNamespaceResolver in org.codehaus.mojo.jaxb2.schemageneration
Methods in org.codehaus.mojo.jaxb2.schemageneration that return types with arguments of type SimpleNamespaceResolverModifier and TypeMethodDescriptionstatic Map
<String, SimpleNamespaceResolver> XsdGeneratorHelper.getFileNameToResolverMap
(File outputDirectory) Acquires a map relating generated schema filename to its SimpleNamespaceResolver.Methods in org.codehaus.mojo.jaxb2.schemageneration with parameters of type SimpleNamespaceResolverModifier and TypeMethodDescriptionprivate static void
XsdGeneratorHelper.validatePrefixSubstitutionIsPossible
(String oldPrefix, String newPrefix, SimpleNamespaceResolver currentResolver) Validates that the transformation fromoldPrefix
tonewPrefix
is possible, in thatnewPrefix
is not already used by a schema file.Method parameters in org.codehaus.mojo.jaxb2.schemageneration with type arguments of type SimpleNamespaceResolverModifier and TypeMethodDescriptionstatic void
XsdGeneratorHelper.renameGeneratedSchemaFiles
(Map<String, SimpleNamespaceResolver> resolverMap, List<TransformSchema> configuredTransformSchemas, org.apache.maven.plugin.logging.Log mavenLog, File schemaDirectory, String charsetName) Updates all schemaLocation attributes within the generated schema files to match the 'file' properties within the Schemas read from the plugin configuration.static void
XsdGeneratorHelper.replaceNamespacePrefixes
(Map<String, SimpleNamespaceResolver> resolverMap, List<TransformSchema> configuredTransformSchemas, org.apache.maven.plugin.logging.Log mavenLog, File schemaDirectory, String encoding) Replaces all namespaces within generated schema files, as instructed by the configured Schema instances.