Uses of Class
org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.SimpleNamespaceResolver
-
Packages that use SimpleNamespaceResolver Package Description org.codehaus.mojo.jaxb2.schemageneration 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 SimpleNamespaceResolver Modifier and Type Method Description static java.util.Map<java.lang.String,SimpleNamespaceResolver>
XsdGeneratorHelper. getFileNameToResolverMap(java.io.File outputDirectory)
Acquires a map relating generated schema filename to its SimpleNamespaceResolver.Methods in org.codehaus.mojo.jaxb2.schemageneration with parameters of type SimpleNamespaceResolver Modifier and Type Method Description private static void
XsdGeneratorHelper. validatePrefixSubstitutionIsPossible(java.lang.String oldPrefix, java.lang.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 SimpleNamespaceResolver Modifier and Type Method Description static void
XsdGeneratorHelper. renameGeneratedSchemaFiles(java.util.Map<java.lang.String,SimpleNamespaceResolver> resolverMap, java.util.List<TransformSchema> configuredTransformSchemas, org.apache.maven.plugin.logging.Log mavenLog, java.io.File schemaDirectory, java.lang.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(java.util.Map<java.lang.String,SimpleNamespaceResolver> resolverMap, java.util.List<TransformSchema> configuredTransformSchemas, org.apache.maven.plugin.logging.Log mavenLog, java.io.File schemaDirectory, java.lang.String encoding)
Replaces all namespaces within generated schema files, as instructed by the configured Schema instances.
-