A B C D E F G H I J L M N O P Q R S T V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractFilter<T> - Class in org.codehaus.mojo.jaxb2.shared.filters
-
Abstract Filter implementation which handles separating
null
candidate values from non-null ones, and delegates processing to concrete subclass implementations. - AbstractFilter() - Constructor for class org.codehaus.mojo.jaxb2.shared.filters.AbstractFilter
-
Convenience constructor which creates an AbstractFilter which does not process null values.
- AbstractJavaGeneratorMojo - Class in org.codehaus.mojo.jaxb2.javageneration
-
Abstract superclass for Mojos generating Java source or binaries from XML schema(s) by invoking the JAXB XJC binding compiler.
- AbstractJavaGeneratorMojo() - Constructor for class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
- AbstractJaxbMojo - Class in org.codehaus.mojo.jaxb2
-
Abstract Mojo which collects common infrastructure, required and needed by all subclass Mojos in the JAXB2 maven plugin codebase.
- AbstractJaxbMojo() - Constructor for class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
- AbstractLogAwareFacet - Class in org.codehaus.mojo.jaxb2.shared.environment
-
Abstract EnvironmentFacet which sports a non-null Maven Log for use by subclasses.
- AbstractLogAwareFacet(Log) - Constructor for class org.codehaus.mojo.jaxb2.shared.environment.AbstractLogAwareFacet
-
Creates an AbstractLogAwareFacet wrapping the supplied, non-null Log.
- AbstractPatternFilter<T> - Class in org.codehaus.mojo.jaxb2.shared.filters.pattern
-
AbstractFilter implementation containing a Java Pattern which should be used to determine if candidate T objects match any of the supplied regularExpressions.
- AbstractPatternFilter() - Constructor for class org.codehaus.mojo.jaxb2.shared.filters.pattern.AbstractPatternFilter
-
DI-friendly constructor.
- AbstractXsdGeneratorMojo - Class in org.codehaus.mojo.jaxb2.schemageneration
-
Abstract superclass for Mojos that generate XSD files from annotated Java Sources.
- AbstractXsdGeneratorMojo() - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
- accept(Node) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.XsdAnnotationProcessor
-
Defines if this visitor should process the provided node.
- accept(Node) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.XsdEnumerationAnnotationProcessor
-
Only accept simpleTypes which are restrictions to either
xs:string
orxs:integer
. - accept(Node) - Method in interface org.codehaus.mojo.jaxb2.schemageneration.postprocessing.NodeProcessor
-
Defines if this visitor should process the provided node.
- accept(Node) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.ChangeFilenameProcessor
-
Defines if this visitor should process the provided node.
- accept(Node) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.ChangeNamespacePrefixProcessor
-
Defines if this visitor should process the provided node.
- accept(T) - Method in class org.codehaus.mojo.jaxb2.shared.filters.AbstractFilter
-
Method that is invoked to determine if a candidate instance should be accepted or not.
- accept(T) - Method in interface org.codehaus.mojo.jaxb2.shared.filters.Filter
-
Method that is invoked to determine if a candidate instance should be accepted or not.
- adapt(List<Filter<File>>) - Static method in class org.codehaus.mojo.jaxb2.shared.filters.Filters
-
Adapts the supplied List of Filter specifications to a List of FileFilters.
- adapt(Filter<File>) - Static method in class org.codehaus.mojo.jaxb2.shared.filters.Filters
-
Adapts the Filter specification to the FileFilter interface, to enable immediate use for filtering File lists.
- add(EnvironmentFacet) - Method in class org.codehaus.mojo.jaxb2.shared.environment.ToolExecutionEnvironment
-
Adds the supplied EnvironmentFacet to this ToolExecutionEnvironment.
- ADD - org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertyChangeEnvironmentFacet.ChangeType
-
Indicates that a System property should be added during
setup()
and removed duringrestore()
. - addDelayedLogMessage(String, String) - Method in class org.codehaus.mojo.jaxb2.shared.filters.AbstractFilter
-
Adds a log message to be emitted when this AbstractFilter is initialized (and the Log is made available to it).
- addGeneratedAnnotation - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Corresponding XJC parameter:
mark-generated
. - addGeneratedSourcesToProjectSourceRoot() - Method in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Adds any directories containing the generated XJC classes to the appropriate Project compilation sources; either
TestCompileSourceRoot
orCompileSourceRoot
depending on the exact Mojo implementation of this AbstractJavaGeneratorMojo. - addGeneratedSourcesToProjectSourceRoot() - Method in class org.codehaus.mojo.jaxb2.javageneration.TestXjcMojo
-
Adds any directories containing the generated XJC classes to the appropriate Project compilation sources; either
TestCompileSourceRoot
orCompileSourceRoot
depending on the exact Mojo implementation of this AbstractJavaGeneratorMojo. - addGeneratedSourcesToProjectSourceRoot() - Method in class org.codehaus.mojo.jaxb2.javageneration.XjcMojo
-
Adds any directories containing the generated XJC classes to the appropriate Project compilation sources; either
TestCompileSourceRoot
orCompileSourceRoot
depending on the exact Mojo implementation of this AbstractJavaGeneratorMojo. - addOrChange(String, String) - Method in class org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertyChangeEnvironmentFacet.SystemPropertyChangesBuilder
-
Adds a SystemPropertyChange which adds or changes the named System property.
- addPath(String) - Method in class org.codehaus.mojo.jaxb2.shared.environment.classloading.ThreadContextClassLoaderBuilder
-
Converts the supplied path to an URL and adds it to this ThreadContextClassLoaderBuilder.
- addPaths(List<String>) - Method in class org.codehaus.mojo.jaxb2.shared.environment.classloading.ThreadContextClassLoaderBuilder
-
Converts the supplied path to an URL and adds it to this ThreadContextClassLoaderBuilder.
- addResource(Resource) - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Adds the supplied Resource to the project using the appropriate scope (i.e.
- addResource(Resource) - Method in class org.codehaus.mojo.jaxb2.javageneration.TestXjcMojo
-
Adds the supplied Resource to the project using the appropriate scope (i.e.
- addResource(Resource) - Method in class org.codehaus.mojo.jaxb2.javageneration.XjcMojo
-
Adds the supplied Resource to the project using the appropriate scope (i.e.
- addResource(Resource) - Method in class org.codehaus.mojo.jaxb2.schemageneration.SchemaGenerationMojo
-
Adds the supplied Resource to the project using the appropriate scope (i.e.
- addResource(Resource) - Method in class org.codehaus.mojo.jaxb2.schemageneration.TestSchemaGenerationMojo
-
Adds the supplied Resource to the project using the appropriate scope (i.e.
- addSourceFiles(List<File>) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.JavaDocExtractor
-
Adds the supplied sourceCodeFiles for processing by this JavaDocExtractor.
- addSourceURLs(List<URL>) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.JavaDocExtractor
-
Adds the supplied sourceCodeFiles for processing by this JavaDocExtractor.
- addURL(URL) - Method in class org.codehaus.mojo.jaxb2.shared.environment.classloading.ThreadContextClassLoaderBuilder
-
Adds the supplied anURL to the list of internal URLs which should be used to build an URLClassLoader.
- addXmlDocumentAnnotationTo(Node, String) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
Adds the given formattedDocumentation within an XML documentation annotation under the supplied Node.
- ANNOTATION_ELEMENT_NAME - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
The name of the annotation element.
- ArgumentBuilder - Class in org.codehaus.mojo.jaxb2.shared.arguments
-
Utility class to build an array containing method arguments, as received from a command-line invocation of a tool.
- ArgumentBuilder() - Constructor for class org.codehaus.mojo.jaxb2.shared.arguments.ArgumentBuilder
- arguments - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Deprecated.This should be removed in the 2.0+ release, as all arguments should be handled by other parameters.
B
- build() - Method in class org.codehaus.mojo.jaxb2.shared.arguments.ArgumentBuilder
-
Retrieves all arguments as a string array, usable by a method accepting a String[] for argument.
- build() - Method in class org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertyChangeEnvironmentFacet.SystemPropertyChangesBuilder
- buildAndSet() - Method in class org.codehaus.mojo.jaxb2.shared.environment.classloading.ThreadContextClassLoaderBuilder
-
This method performs 2 things in order:
- BUILDTIME_KEY - Static variable in class org.codehaus.mojo.jaxb2.shared.version.DependsFileParser
-
The key where the build time as found within the dependencies.properties file is found.
C
- catalog - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Corresponding XJC parameter:
catalog
. - CHANGE - org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertyChangeEnvironmentFacet.ChangeType
-
Indicates that a System property should be altered during
setup()
and restored duringrestore()
- ChangeFilenameProcessor - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement
-
NodeProcessor which alters the filename for generated XML schema files.
- ChangeFilenameProcessor(Map<String, String>) - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.ChangeFilenameProcessor
-
Creates a new ChangeFilenameProcessor using the provided map relating namespace URIs to desired new file names.
- ChangeNamespacePrefixProcessor - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement
-
NodeProcessor
which alters the namespace prefix for all relevant Nodes within an XML document Node. - ChangeNamespacePrefixProcessor(String, String) - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.ChangeNamespacePrefixProcessor
-
Creates a new ChangeNamespacePrefixProcessor providing the oldPrefix which should be replaced by the newPrefix.
- CLASS_FIELD_METHOD_ELEMENT_NAMES - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
The names of DOM Elements corresponding to Java class Fields or Methods.
- CLASS_INCLUDE_FILTERS - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
-
Filter list containing a PatternFileFilter including ".class" files.
- ClassLocation - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location
-
Comparable path structure to locate a particular class within compilation unit.
- ClassLocation(String, String, String) - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.ClassLocation
-
Creates a new ClassLocation with the supplied package and class names.
- clearOutputDir - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Removes all files from the output directory before running XJC.
- clearOutputDir - Variable in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
-
Removes all files from the output directory before running SchemaGenerator.
- close() - Method in class org.codehaus.mojo.jaxb2.shared.environment.logging.MavenLogHandler
- compareTo(SortableLocation) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.PackageLocation
-
Compares the string representations of this PackageLocation and the supplied SortableLocation.
- compareTo(DependencyInfo) - Method in class org.codehaus.mojo.jaxb2.shared.version.DependencyInfo
- CONTAINS_WHITESPACE - Static variable in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Pattern matching strings containing whitespace (or consisting only of whitespace).
- ContextClassLoaderEnvironmentFacet - Class in org.codehaus.mojo.jaxb2.shared.environment.classloading
-
Adapter converting a ThreadContextClassLoaderHolder to the standard lifecycle defined within the EnvironmentFacet.
- ContextClassLoaderEnvironmentFacet(Log, ThreadContextClassLoaderBuilder) - Constructor for class org.codehaus.mojo.jaxb2.shared.environment.classloading.ContextClassLoaderEnvironmentFacet
-
Compound constructor creating a ContextClassLoaderEnvironmentFacet wrapping the supplied data.
- convert(List<String>, String) - Static method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.AbstractPatternFilter
-
Collects a List containing
java.text.Pattern
objects by concatenatingprepend + current_pattern_string
and Pattern-compiling the result. - convert(T) - Method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.AbstractPatternFilter
-
Method implementation which converts a non-null T object to a String to be matched by the Java Regexp Pattern contained within this AbstractPatternFilter implementation.
- convert(T) - Method in interface org.codehaus.mojo.jaxb2.shared.filters.pattern.StringConverter
-
Converts the supplied T object to a String.
- convert(T) - Method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.ToStringConverter
-
Converts the supplied T object to a String.
- create(Log, Class<? extends AbstractJaxbMojo>, String) - Static method in class org.codehaus.mojo.jaxb2.shared.environment.logging.LoggingHandlerEnvironmentFacet
-
Factory method creating a new LoggingHandlerEnvironmentFacet wrapping the supplied properties.
- createDependencyInfoMap(SortedMap<String, String>) - Static method in class org.codehaus.mojo.jaxb2.shared.version.DependsFileParser
-
Converts a SortedMap received from a
getVersionMap
call to hold DependencyInfo values, and keys on the formgroupId/artifactId
. - createDirectory(File, boolean) - Static method in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
Convenience method to successfully create a directory - or throw an exception if failing to create it.
- createExcludeFilterList(Log, String...) - Static method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternFileFilter
-
Creates a new List containing an exclude-mode PatternFileFilter using the supplied patternStrings which are interpreted as file suffixes.
- createFor(Class<?>, Log, String) - Static method in class org.codehaus.mojo.jaxb2.shared.environment.classloading.ThreadContextClassLoaderBuilder
-
Creates a new ThreadContextClassLoaderBuilder using the original ClassLoader from the supplied Class, as well as the given Maven Log.
- createFor(ClassLoader, Log, String) - Static method in class org.codehaus.mojo.jaxb2.shared.environment.classloading.ThreadContextClassLoaderBuilder
-
Creates a new ThreadContextClassLoaderBuilder using the supplied original classLoader, as well as the supplied Maven Log.
- createFor(String, Log) - Static method in class org.codehaus.mojo.jaxb2.shared.environment.locale.LocaleFacet
-
Helper method used to parse a locale configuration string into a Locale instance.
- createIncludeFilterList(Log, String...) - Static method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternFileFilter
-
Creates a new List containing an include-mode PatternFileFilter using the supplied patternStrings which are interpreted as file suffixes.
- createJavaDocAnnotations - Variable in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
-
If
true
, Elements or Attributes in the generated XSD files will be annotated with any JavaDoc found for their respective properties.
D
- DEFAULT_LOGGER_NAMES - Static variable in class org.codehaus.mojo.jaxb2.shared.environment.logging.LoggingHandlerEnvironmentFacet
-
Standard logger names/categories for the java.util.Logger.
- DefaultJavaDocRenderer - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc
-
Default JavaDocRenderer implementation which provides a plain JavaDocData rendering, on the form:
- DefaultJavaDocRenderer() - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DefaultJavaDocRenderer
- DependencyInfo - Class in org.codehaus.mojo.jaxb2.shared.version
-
Trivial holder class for dependency information, as found within a dependencies.properties file.
- DependencyInfo(String, String, String) - Constructor for class org.codehaus.mojo.jaxb2.shared.version.DependencyInfo
- DependsFileParser - Class in org.codehaus.mojo.jaxb2.shared.version
-
Trivial parser to handle depends-plugin-style files.
- DOCUMENTATION_ELEMENT_NAME - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
The name of the documentation element.
- DomHelper - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc
-
Helper class stashing commonly used algorithms to work with DOM documents.
- dtd - org.codehaus.mojo.jaxb2.javageneration.SourceContentType
-
Treat input as DTDs (i.e.
- DTD - org.codehaus.mojo.jaxb2.javageneration.SourceContentType
-
Treat input as DTDs (i.e.
E
- EMPTY_NAMESPACE - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.TransformSchema
-
The empty XML Namespace.
- ENUMERATION_FIELD_METHOD_ELEMENT_NAMES - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
The names of DOM Elements corresponding to Java enum Fields or Methods.
- EnvironmentFacet - Interface in org.codehaus.mojo.jaxb2.shared.environment
-
Specification for an Environment controller, which can infer a temporary and reversible change to the environment of an executing task.
- episodeFileName - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Corresponding XJC parameter:
episode
. - episodeFileName - Variable in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
-
Corresponding SchemaGen parameter:
episode
. - equals(Object) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.PackageLocation
- error(SAXParseException) - Method in class org.codehaus.mojo.jaxb2.javageneration.XjcLogAdapter
- execute() - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
- execute() - Method in class org.codehaus.mojo.jaxb2.schemageneration.HelpMojo
- EXISTING_DIRECTORY - Static variable in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
FileFilter which accepts Files that exist and for which
File.isDirectory()
istrue
. - EXISTING_FILE - Static variable in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
FileFilter which accepts Files that exist and for which
File.isFile()
istrue
. - extension - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Corresponding XJC parameter:
extension
. - externalEntityProcessing - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
If set to
true
, the system propertyenableExternalEntityProcessing
is set for the duration of the Java generation by this plugin, permitting DTD sources to use external entity URIs such asfile://
. - extraFacets - Variable in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Defines a set of extra EnvironmentFacet instances which are used to further configure the ToolExecutionEnvironment used by this plugin to fire XJC or SchemaGen.
F
- failOnNoSchemas - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Fails the Mojo execution if no XSDs/schemas are found.
- fatalError(SAXParseException) - Method in class org.codehaus.mojo.jaxb2.javageneration.XjcLogAdapter
- FieldLocation - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location
-
Comparable path structure to locate a particular field within compilation unit.
- FieldLocation(String, String, String, String, String) - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.FieldLocation
-
Creates a new FieldLocation with the supplied package, class and member names.
- FILE_PATH_CONVERTER - Static variable in class org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternFileFilter
-
Converter returning the canonical and absolute path for a File.
- FileFilterAdapter - Class in org.codehaus.mojo.jaxb2.shared.filters.pattern
-
Filter implementation adapting a FileFilter instance to the Filter interface.
- FileFilterAdapter(FileFilter) - Constructor for class org.codehaus.mojo.jaxb2.shared.filters.pattern.FileFilterAdapter
-
Compound constructor, creating a FileFilterAdapter using the supplied
FileFilter
to determine if candidate Files should be accepted. - FileSystemUtilities - Class in org.codehaus.mojo.jaxb2.shared
-
The Jaxb2 Maven Plugin needs to fiddle with the filesystem a great deal, to create and optionally prune directories or detect/create various files.
- Filter<T> - Interface in org.codehaus.mojo.jaxb2.shared.filters
-
Generic Filter specification, whose implementations define if candidate objects should be accepted or not.
- filterFiles(File, List<String>, String, Log, String, List<Filter<File>>) - Static method in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
Filters files found either in the sources paths (or in the standardDirectory if no explicit sources are given), and retrieves a List holding those files that do not match any of the supplied Java Regular Expression excludePatterns.
- filterFiles(File, List<String>, List<String>, Log, String, List<Filter<File>>) - Static method in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
Filters files found either in the sources paths (or in the standardDirectory if no explicit sources are given), and retrieves a List holding those files that do not match any of the supplied Java Regular Expression excludePatterns.
- filterFiles(List<File>, Filter<File>, Log) - Static method in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
Filters all supplied files using the provided
acceptFilter
. - Filters - Class in org.codehaus.mojo.jaxb2.shared.filters
-
Algorithm definitions for common operations using Filters.
- Filters() - Constructor for class org.codehaus.mojo.jaxb2.shared.filters.Filters
- findOptimumLocale(String, String, String) - Static method in class org.codehaus.mojo.jaxb2.shared.environment.locale.LocaleFacet
-
Helper method to find the best matching locale, implying a workaround for problematic case-sensitive Locale detection within the JDK.
- flush() - Method in class org.codehaus.mojo.jaxb2.shared.environment.logging.MavenLogHandler
G
- generatedFile(String, int, int) - Method in class org.codehaus.mojo.jaxb2.javageneration.XjcLogAdapter
- generateEpisode - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Deprecated.
- generateEpisode - Variable in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
-
Deprecated.
- getAll() - Method in interface org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.SearchableDocumentation
-
The full map relating each SortableLocation subclass to its corresponding JavaDocData.
- getAll(Class<T>) - Method in interface org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.SearchableDocumentation
-
Convenience method which retrieves a SortedMap relating all SortableLocations of a particular type to their JavaDocData, respectively.
- getAnnotationRenamedTo() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.ClassLocation
-
Note: Packages cannot be renamed from a JAXB annotation.
- getAnnotationRenamedTo() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.FieldLocation
-
Note: Packages cannot be renamed from a JAXB annotation.
- getAnnotationRenamedTo() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.PackageLocation
-
Note: Packages cannot be renamed from a JAXB annotation.
- getAnnotationRenamedTo() - Method in interface org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.SortableLocation
-
Retrieves the value of the name attribute provided by a JAXB annotation, implying that the XSD type should use another name than the default.
- getArtifactId() - Method in class org.codehaus.mojo.jaxb2.shared.version.DependencyInfo
- getBuildContext() - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
The Plexus BuildContext is used to identify files or directories modified since last build, implying functionality used to define if java generation must be performed again.
- getBuilder(Log) - Static method in class org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertyChangeEnvironmentFacet
-
Creates a SystemPropertyChangesBuilder which uses the supplied active Maven Log.
- getCanonicalFile(File) - Static method in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
Acquires the canonical File for the supplied file.
- getCanonicalPath(File) - Static method in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
Acquires the canonical path for the supplied file.
- getClassLocation(Node, Set<ClassLocation>) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
Retrieves the ClassLocation for the supplied aNode.
- getClassName() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.ClassLocation
-
Retrieves the simple class name for the class potentially holding JavaDoc.
- getClasspath() - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Retrieves the configured List of paths from which this AbstractJaxbMojo and its internal toolset (XJC or SchemaGen) should read bytecode classes.
- getClasspath() - Method in class org.codehaus.mojo.jaxb2.javageneration.TestXjcMojo
-
Retrieves the configured List of paths from which this AbstractJaxbMojo and its internal toolset (XJC or SchemaGen) should read bytecode classes.
- getClasspath() - Method in class org.codehaus.mojo.jaxb2.javageneration.XjcMojo
-
Retrieves the configured List of paths from which this AbstractJaxbMojo and its internal toolset (XJC or SchemaGen) should read bytecode classes.
- getClasspath() - Method in class org.codehaus.mojo.jaxb2.schemageneration.SchemaGenerationMojo
-
Retrieves the configured List of paths from which this AbstractJaxbMojo and its internal toolset (XJC or SchemaGen) should read bytecode classes.
- getClasspath() - Method in class org.codehaus.mojo.jaxb2.schemageneration.TestSchemaGenerationMojo
-
Retrieves the configured List of paths from which this AbstractJaxbMojo and its internal toolset (XJC or SchemaGen) should read bytecode classes.
- getClassPathAsArgument() - Method in class org.codehaus.mojo.jaxb2.shared.environment.classloading.ContextClassLoaderEnvironmentFacet
-
Delegate method retrieving the classpath as argument from the underlying ThreadContextClassLoaderHolder.
- getClassPathAsArgument() - Method in interface org.codehaus.mojo.jaxb2.shared.environment.classloading.ThreadContextClassLoaderHolder
-
Retrieves the ClassPath held by this ThreadContextClassLoaderHolder as a
File.pathSeparatorChar
-separated string. - getClassPathAsArgument() - Method in class org.codehaus.mojo.jaxb2.shared.environment.ToolExecutionEnvironment
-
Delegate method retrieving the classpath as argument from the underlying ThreadContextClassLoaderHolder.
- getClassPathElement(URL, String) - Static method in class org.codehaus.mojo.jaxb2.shared.environment.classloading.ThreadContextClassLoaderBuilder
-
Converts the supplied URL to a class path element.
- getComment() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.JavaDocData
-
Retrieves the comment/text in the JavaDoc structure, minus the names and values of any given JavaDoc tags.
- getCompiledClassNames() - Method in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
-
Finds a List containing URLs to compiled bytecode files within this Compilation Unit.
- getCompiledClassNames() - Method in class org.codehaus.mojo.jaxb2.schemageneration.SchemaGenerationMojo
-
Finds a List containing URLs to compiled bytecode files within this Compilation Unit.
- getCompiledClassNames() - Method in class org.codehaus.mojo.jaxb2.schemageneration.TestSchemaGenerationMojo
-
Finds a List containing URLs to compiled bytecode files within this Compilation Unit.
- getElementTagName(Node) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
Retrieves the TagName for the supplied Node if it is an Element, and null otherwise.
- getEncoding(boolean) - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
The algorithm for finding the encoding to use is as follows (where the first non-null value found is used for encoding):
- getEpisodeFile(String) - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Retrieves a File to the JAXB Episode (which is normally written during the XJC process).
- getExecution() - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
- getExistingFile(String, File) - Static method in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
Retrieves the canonical File matching the supplied path in the following order or priority:
- getFieldLocation(Node, Set<FieldLocation>) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
Retrieves a FieldLocation from the supplied Set, provided that the FieldLocation matches the supplied Node.
- getFieldOrMethodLocationIfValid(Node, Node, Set<? extends FieldLocation>) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
Retrieves a FieldLocation or MethodLocation from the supplied Set of Field- or MethodLocations, provided that the supplied Node has the given containing Node corresponding to a Class or an Enum.
- getFileFor(URL, String) - Static method in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
Acquires the file for a supplied URL, provided that its protocol is is either a file or a jar.
- getFileNameToResolverMap(File) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.XsdGeneratorHelper
-
Acquires a map relating generated schema filename to its SimpleNamespaceResolver.
- getGroupArtifactKey() - Method in class org.codehaus.mojo.jaxb2.shared.version.DependencyInfo
- getGroupId() - Method in class org.codehaus.mojo.jaxb2.shared.version.DependencyInfo
- getHumanReadableXml(Node) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.XsdGeneratorHelper
-
Converts the provided DOM Node to a pretty-printed XML-formatted string.
- getJavaDoc(String) - Method in interface org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.SearchableDocumentation
-
Convenience method to acquire the JavaDocData for a SortableLocation with the supplied path.
- getJavaMajorVersion() - Static method in class org.codehaus.mojo.jaxb2.shared.JavaVersion
-
Retrieves the major java runtime version as an integer.
- getJavaUtilLoggingLevelFor(Log) - Static method in class org.codehaus.mojo.jaxb2.shared.environment.logging.MavenLogHandler
-
Retrieves the JUL Level matching the supplied Maven Log.
- getLocalNamespaceURI() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.SimpleNamespaceResolver
- getLocation(String) - Method in interface org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.SearchableDocumentation
-
Convenience method to acquire the SortableLocation corresponding to the given path.
- getLoggingFilter(String...) - Static method in class org.codehaus.mojo.jaxb2.shared.environment.logging.MavenLogHandler
-
Retrieves a java.util.Logging filter used to ensure that only LogRecords whose logger names start with any of the required prefixes are logged.
- getMemberName() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.FieldLocation
-
Retrieves the name of the member (i.e.
- getMethodLocation(Node, Set<MethodLocation>) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
Finds the MethodLocation within the given Set, which corresponds to the supplied DOM Node.
- getNameAttribute(Node) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
Retrieves the value of the
name
attribute of the supplied Node. - getNamespaceURI(String) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.SimpleNamespaceResolver
- getNamespaceURI2PrefixMap() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.SimpleNamespaceResolver
- getOutputDirectory() - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Retrieves the directory where the generated files should be written to.
- getOutputDirectory() - Method in class org.codehaus.mojo.jaxb2.javageneration.TestXjcMojo
-
Retrieves the directory where the generated files should be written to.
- getOutputDirectory() - Method in class org.codehaus.mojo.jaxb2.javageneration.XjcMojo
-
Retrieves the directory where the generated files should be written to.
- getOutputDirectory() - Method in class org.codehaus.mojo.jaxb2.schemageneration.SchemaGenerationMojo
-
Retrieves the directory where the generated files should be written to.
- getOutputDirectory() - Method in class org.codehaus.mojo.jaxb2.schemageneration.TestSchemaGenerationMojo
-
Retrieves the directory where the generated files should be written to.
- getPackageName() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.PackageLocation
-
Retrieves the name of the package potentially holding JavaDoc.
- getParametersAsString() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.MethodLocation
- getPath() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.ClassLocation
-
Always appends the effective className to the path from the superclass
PackageLocation
. - getPath() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.FieldLocation
-
Always appends the effective className to the path from the superclass
PackageLocation
. - getPath() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.MethodLocation
-
Always appends the effective className to the path from the superclass
PackageLocation
. - getPath() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.PackageLocation
-
Retrieves the path of this SortableLocation.
- getPath() - Method in interface org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.SortableLocation
-
Retrieves the path of this SortableLocation.
- getPaths() - Method in interface org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.SearchableDocumentation
-
Retrieves all unique SortableLocation paths within this SearchableDocumentation.
- getPrefix(String) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.SimpleNamespaceResolver
- getPrefixes(String) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.SimpleNamespaceResolver
- getProject() - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
- getScope() - Method in class org.codehaus.mojo.jaxb2.shared.version.DependencyInfo
- getSourceFilename() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.SimpleNamespaceResolver
- getSources() - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Override this method to acquire a List holding all URLs to the sources which this AbstractJaxbMojo should use to produce its output (XSDs files for AbstractXsdGeneratorMojos and Java Source Code for AbstractJavaGeneratorMojos).
- getSources() - Method in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Override this method to acquire a List holding all URLs to the JAXB sources for which this AbstractJavaGeneratorMojo should generate Java files.
- getSources() - Method in class org.codehaus.mojo.jaxb2.javageneration.TestXjcMojo
-
Override this method to acquire a List holding all URLs to the JAXB sources for which this AbstractJavaGeneratorMojo should generate Java files.
- getSources() - Method in class org.codehaus.mojo.jaxb2.javageneration.XjcMojo
-
Override this method to acquire a List holding all URLs to the JAXB sources for which this AbstractJavaGeneratorMojo should generate Java files.
- getSources() - Method in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
-
Override this method to acquire a List holding all URLs to the SchemaGen Java sources for which this AbstractXsdGeneratorMojo should generate Xml Schema Descriptor files.
- getSources() - Method in class org.codehaus.mojo.jaxb2.schemageneration.SchemaGenerationMojo
-
Override this method to acquire a List holding all URLs to the SchemaGen Java sources for which this AbstractXsdGeneratorMojo should generate Xml Schema Descriptor files.
- getSources() - Method in class org.codehaus.mojo.jaxb2.schemageneration.TestSchemaGenerationMojo
-
Override this method to acquire a List holding all URLs to the SchemaGen Java sources for which this AbstractXsdGeneratorMojo should generate Xml Schema Descriptor files.
- getSourceXJBs() - Method in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Override this method to retrieve a list of Files to all XJB files for which this AbstractJavaGeneratorMojo should generate Java files.
- getSourceXJBs() - Method in class org.codehaus.mojo.jaxb2.javageneration.TestXjcMojo
-
Override this method to retrieve a list of Files to all XJB files for which this AbstractJavaGeneratorMojo should generate Java files.
- getSourceXJBs() - Method in class org.codehaus.mojo.jaxb2.javageneration.XjcMojo
-
Override this method to retrieve a list of Files to all XJB files for which this AbstractJavaGeneratorMojo should generate Java files.
- getStaleFile() - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Acquires the staleFile for this execution
- getStaleFileName() - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Retrieves the last name part of the stale file.
- getStaleFileName() - Method in class org.codehaus.mojo.jaxb2.javageneration.TestXjcMojo
-
Retrieves the last name part of the stale file.
- getStaleFileName() - Method in class org.codehaus.mojo.jaxb2.javageneration.XjcMojo
-
Retrieves the last name part of the stale file.
- getStaleFileName() - Method in class org.codehaus.mojo.jaxb2.schemageneration.SchemaGenerationMojo
-
Retrieves the last name part of the stale file.
- getStaleFileName() - Method in class org.codehaus.mojo.jaxb2.schemageneration.TestSchemaGenerationMojo
-
Retrieves the last name part of the stale file.
- getTag2ValueMap() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.JavaDocData
-
Retrieves the names and values of all JavaDoc tags found.
- getToFile() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.TransformSchema
- getToPrefix() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.TransformSchema
- getType() - Method in class org.codehaus.mojo.jaxb2.shared.version.DependencyInfo
- getUri() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.TransformSchema
- getUrlFor(File) - Static method in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
Retrieves the URL for the supplied File.
- getValueAttribute(Node) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
Retrieves the value of the
value
attribute of the supplied Node. - getVersion() - Method in class org.codehaus.mojo.jaxb2.shared.version.DependencyInfo
- getVersionMap(String) - Static method in class org.codehaus.mojo.jaxb2.shared.version.DependsFileParser
-
Extracts all build-time dependency information from a dependencies.properties file embedded in this plugin's JAR.
- getVersionMap(URL) - Static method in class org.codehaus.mojo.jaxb2.shared.version.DependsFileParser
-
Extracts all build-time dependency information from a dependencies.properties file embedded in this plugin's JAR.
- getWorkDirectory() - Method in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
- getWorkDirectory() - Method in class org.codehaus.mojo.jaxb2.schemageneration.SchemaGenerationMojo
- getWorkDirectory() - Method in class org.codehaus.mojo.jaxb2.schemageneration.TestSchemaGenerationMojo
- getXjcArgument() - Method in enum org.codehaus.mojo.jaxb2.javageneration.SourceContentType
- getXPathFor(Node) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
Retrieves the XPath for the supplied Node within its document.
H
- harmonizeNewlines(String) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DefaultJavaDocRenderer
-
Squashes newline characters into
- hashCode() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.ClassLocation
- hashCode() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.FieldLocation
- hashCode() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.MethodLocation
- hashCode() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.PackageLocation
- hashCode() - Method in class org.codehaus.mojo.jaxb2.shared.version.DependencyInfo
- hasNoParameters() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.MethodLocation
- HelpMojo - Class in org.codehaus.mojo.jaxb2.schemageneration
-
Display help information on jaxb2-maven-plugin.
Callmvn jaxb2:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details. - HelpMojo() - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.HelpMojo
I
- info(SAXParseException) - Method in class org.codehaus.mojo.jaxb2.javageneration.XjcLogAdapter
- initialize(Log) - Method in class org.codehaus.mojo.jaxb2.shared.filters.AbstractFilter
-
Initializes this Filter, and assigns the supplied Log for use by this Filter.
- initialize(Log) - Method in interface org.codehaus.mojo.jaxb2.shared.filters.Filter
-
Initializes this Filter, and assigns the supplied Log for use by this Filter.
- initialize(Log, List<Filter<T>>) - Static method in class org.codehaus.mojo.jaxb2.shared.filters.Filters
-
Initializes the supplied Filters by assigning the given Log.
- initialize(Log, Filter<T>...) - Static method in class org.codehaus.mojo.jaxb2.shared.filters.Filters
-
Initializes the supplied Filters by assigning the given Log.
- insertJavaDocAsAnnotations(Log, String, File, SearchableDocumentation, JavaDocRenderer) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.XsdGeneratorHelper
-
Inserts XML documentation annotations into all generated XSD files found within the supplied outputDir.
- insertXmlDocumentationAnnotationsFor(Node, SortedMap<ClassLocation, JavaDocData>, SortedMap<FieldLocation, JavaDocData>, SortedMap<MethodLocation, JavaDocData>, JavaDocRenderer) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
Processes the supplied DOM Node, inserting XML Documentation annotations if applicable.
- isEqualToPath(String) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.PackageLocation
-
Validates if the supplied path is equal to this SortableLocation.
- isEqualToPath(String) - Method in interface org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.SortableLocation
-
Validates if the supplied path is equal to this SortableLocation.
- isInitialized() - Method in class org.codehaus.mojo.jaxb2.shared.filters.AbstractFilter
- isInitialized() - Method in interface org.codehaus.mojo.jaxb2.shared.filters.Filter
- isInitialized() - Method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.FileFilterAdapter
- isJdk8OrLower() - Static method in class org.codehaus.mojo.jaxb2.shared.JavaVersion
-
Checks if the runtime java version is JDK 8 or lower.
- isNamedElement(Node) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
Checks if the supplied DOM Node is a DOM Element having a defined "name" attribute.
- isReGenerationRequired() - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
- isReGenerationRequired() - Method in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Java generation is required if any of the file products is outdated/stale.
- isReGenerationRequired() - Method in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
- isTrue(boolean, String) - Static method in class org.codehaus.mojo.jaxb2.shared.Validate
-
Validates that the supplied condition is true, and throws an IllegalArgumentException otherwise.
J
- JavaDocData - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc
-
Simplified structure containing comments and tags read from a JavaDoc comment block.
- JavaDocData(String, List<DocletTag>) - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.JavaDocData
-
Creates a JavaDocData for a particular entry with the supplied JavaDoc comment and List of DocletTags.
- JavaDocExtractor - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc
-
The schemagen tool operates on compiled bytecode, where JavaDoc comments are not present.
- JavaDocExtractor(Log) - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.JavaDocExtractor
-
Creates a JavaDocExtractor wrapping the supplied Maven Log.
- javaDocRenderer - Variable in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
-
A renderer used to create XML annotation text from JavaDoc comments found within the source code.
- JavaDocRenderer - Interface in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc
-
Specification for how to convert/render JavaDocData into an XML annotation.
- JavaVersion - Class in org.codehaus.mojo.jaxb2.shared
-
Helper to extract the runtime Java version from the System.properties.
- JavaVersion() - Constructor for class org.codehaus.mojo.jaxb2.shared.JavaVersion
L
- laxSchemaValidation - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Corresponding XJC parameter:
nv
. - listFiles(File, List<Filter<File>>, boolean, Log) - Static method in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
If the supplied fileOrDir is a File, it is added to the returned List if any of the filters Match.
- listFiles(File, List<Filter<File>>, Log) - Static method in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
If the supplied fileOrDir is a File, it is added to the returned List if any of the filters Match.
- locale - Variable in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
A Locale definition to create and set the system (default) Locale when the XJB or SchemaGen tools executes.
- LocaleFacet - Class in org.codehaus.mojo.jaxb2.shared.environment.locale
-
EnvironmentFacet implementation which alters the default Locale for the remainder of the tool execution.
- LocaleFacet(Log, Locale) - Constructor for class org.codehaus.mojo.jaxb2.shared.environment.locale.LocaleFacet
-
Compound constructor creating a LocaleFacet wrapping the supplied instances.
- log - Variable in class org.codehaus.mojo.jaxb2.shared.environment.AbstractLogAwareFacet
- log - Variable in class org.codehaus.mojo.jaxb2.shared.filters.AbstractFilter
- logAndReturnToolArguments(String[], String) - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
- LoggingHandlerEnvironmentFacet - Class in org.codehaus.mojo.jaxb2.shared.environment.logging
-
EnvironmentFacet for replacing Handlers from Java Util Logging with a Maven Log.
- LoggingHandlerEnvironmentFacet(String, Log, String, String[]) - Constructor for class org.codehaus.mojo.jaxb2.shared.environment.logging.LoggingHandlerEnvironmentFacet
-
Creates a new JavaLoggingEnvironment, using the supplied variables to set up a MavenLogHandler.
- logSystemPropertiesAndBasedir() - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Prints out the system properties to the Maven Log at Debug level.
M
- matchAtLeastOnce(T, List<Filter<T>>) - Static method in class org.codehaus.mojo.jaxb2.shared.filters.Filters
-
Algorithms for accepting the supplied object if at least one of the supplied Filters accepts it.
- MavenLogHandler - Class in org.codehaus.mojo.jaxb2.shared.environment.logging
-
Handler implementation which delegates its actual logging to an internal Maven log.
- MavenLogHandler(Log, String, String, String[]) - Constructor for class org.codehaus.mojo.jaxb2.shared.environment.logging.MavenLogHandler
-
Creates a new MavenLogHandler which adapts a
Handler
to emit log messages onto a Maven Log. - MethodLocation - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location
-
Comparable path structure to locate a particular method within compilation unit.
- MethodLocation(String, String, String, String, String, List<JavaParameter>) - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.MethodLocation
-
Creates a new MethodLocation with the supplied package, class and member names.
N
- NEWLINE - Static variable in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Platform-independent newline control string.
- NO_COMMENT - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.JavaDocData
-
Substitution value for when no JavaDoc comment text was found within a JavaDoc comment block.
- NO_PARAMETERS - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.MethodLocation
-
Signature for a method without any parameters.
- NoAuthorJavaDocRenderer - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc
-
Default JavaDocRenderer implementation which provides a plain JavaDocData rendering, while skipping output from the
author
tag, on the form: - NoAuthorJavaDocRenderer() - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.NoAuthorJavaDocRenderer
- NodeProcessor - Interface in org.codehaus.mojo.jaxb2.schemageneration.postprocessing
-
Processor/visitor pattern specification for DOM Nodes.
- noFilterMatches(T, List<Filter<T>>) - Static method in class org.codehaus.mojo.jaxb2.shared.filters.Filters
-
Algorithms for rejecting the supplied object if at least one of the supplied Filters rejects it.
- noGeneratedHeaderComments - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Corresponding XJC parameter:
no-header
. - noPackageLevelAnnotations - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Corresponding XJC parameter:
npa
. - NORMALIZED_URL_CONVERTER - Static variable in class org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternURLFilter
-
Converter returning each URL's
toString()
form, after normalizing it, using the algorithmtoConvert.toURI().normalize().toURL().toString();
- NoSchemasException - Exception in org.codehaus.mojo.jaxb2
- NoSchemasException() - Constructor for exception org.codehaus.mojo.jaxb2.NoSchemasException
- notEmpty(String, String) - Static method in class org.codehaus.mojo.jaxb2.shared.Validate
-
Validates that the supplied object is not null, and throws an IllegalArgumentException otherwise.
- notNull(Object, String) - Static method in class org.codehaus.mojo.jaxb2.shared.Validate
-
Validates that the supplied object is not null, and throws a NullPointerException otherwise.
O
- onCandidate(File) - Method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.FileFilterAdapter
-
Method that is invoked to determine if a candidate instance should be accepted or not.
- onCandidate(T) - Method in class org.codehaus.mojo.jaxb2.shared.filters.AbstractFilter
-
Method that is invoked to determine if a candidate instance should be accepted or not.
- onCandidate(T) - Method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.AbstractPatternFilter
-
Each nonNullCandidate is matched against all Patterns supplied to this AbstractPatternFilter.
- onInitialize() - Method in class org.codehaus.mojo.jaxb2.shared.filters.AbstractFilter
-
Override this method to perform some custom action after standard initialization is complete.
- onInitialize() - Method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.AbstractPatternFilter
-
Compiles the List of Patterns used by this AbstractPatternFilter to match candidates.
- onNullCandidate() - Method in class org.codehaus.mojo.jaxb2.shared.filters.AbstractFilter
-
Override this to perform an action other than debug logging whenever this AbstractFilter receives a null candidate.
- org.codehaus.mojo.jaxb2 - package org.codehaus.mojo.jaxb2
-
The jaxb2-maven-plugin wraps and adapts the JAXB reference implementation to be useful within the Maven build process.
- org.codehaus.mojo.jaxb2.javageneration - package org.codehaus.mojo.jaxb2.javageneration
-
The jaxb2-maven-plugin wraps and adapts the JAXB reference implementation to be useful within the Maven build process.
- org.codehaus.mojo.jaxb2.schemageneration - package org.codehaus.mojo.jaxb2.schemageneration
-
The jaxb2-maven-plugin wraps and adapts the JAXB reference implementation to be useful within the Maven build process.
- org.codehaus.mojo.jaxb2.schemageneration.postprocessing - package org.codehaus.mojo.jaxb2.schemageneration.postprocessing
- org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc - package org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc
- org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location - package org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location
- org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement - package org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement
- org.codehaus.mojo.jaxb2.shared - package org.codehaus.mojo.jaxb2.shared
-
The jaxb2-maven-plugin wraps and adapts the JAXB reference implementation to be useful within the Maven build process.
- org.codehaus.mojo.jaxb2.shared.arguments - package org.codehaus.mojo.jaxb2.shared.arguments
- org.codehaus.mojo.jaxb2.shared.environment - package org.codehaus.mojo.jaxb2.shared.environment
- org.codehaus.mojo.jaxb2.shared.environment.classloading - package org.codehaus.mojo.jaxb2.shared.environment.classloading
- org.codehaus.mojo.jaxb2.shared.environment.locale - package org.codehaus.mojo.jaxb2.shared.environment.locale
- org.codehaus.mojo.jaxb2.shared.environment.logging - package org.codehaus.mojo.jaxb2.shared.environment.logging
- org.codehaus.mojo.jaxb2.shared.environment.sysprops - package org.codehaus.mojo.jaxb2.shared.environment.sysprops
- org.codehaus.mojo.jaxb2.shared.filters - package org.codehaus.mojo.jaxb2.shared.filters
- org.codehaus.mojo.jaxb2.shared.filters.pattern - package org.codehaus.mojo.jaxb2.shared.filters.pattern
- org.codehaus.mojo.jaxb2.shared.version - package org.codehaus.mojo.jaxb2.shared.version
- OWN_ARTIFACTID_KEY - Static variable in class org.codehaus.mojo.jaxb2.shared.version.DependsFileParser
-
The key holding the artifactId of this plugin (within the dependencies.properties file).
- OWN_GROUPID_KEY - Static variable in class org.codehaus.mojo.jaxb2.shared.version.DependsFileParser
-
The key holding the groupId of this plugin (within the dependencies.properties file).
- OWN_VERSION_KEY - Static variable in class org.codehaus.mojo.jaxb2.shared.version.DependsFileParser
-
The key holding the version of this plugin (within the dependencies.properties file).
P
- PACKAGE_INFO_FILENAME - Static variable in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Standard name of the package-info.java file which may contain JAXB annotations and Package JavaDoc.
- PackageLocation - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location
-
Comparable path structure to locate a particular package within compilation unit.
- PackageLocation(String) - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.PackageLocation
-
Creates a new PackageLocation with the supplied package name.
- packageName - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Corresponding XJC parameter:
p
. - PARAMETER_SEPARATOR - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.MethodLocation
-
Separator for a method's parameters.
- parseXmlStream(Reader) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.XsdGeneratorHelper
-
Parses the provided InputStream to create a dom Document.
- PATTERN_LETTER_DIGIT_PUNCT - Static variable in class org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternFileFilter
-
Java RegExp pattern matching one or more letters/digits/punctuation characters.
- PatternFileFilter - Class in org.codehaus.mojo.jaxb2.shared.filters.pattern
-
AbstractPatternFilter and FileFilter combination, using a set of Regular expressions to accept the canonical absolute paths to Files.
- PatternFileFilter() - Constructor for class org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternFileFilter
-
Creates a new PatternFileFilter with no patternStrings List, implying that calling this constructor must be followed by a call to the
#setPatterns
method. - PatternFileFilter(boolean, String, List<String>, StringConverter<File>, boolean) - Constructor for class org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternFileFilter
-
Compound constructor creating an PatternFileFilter from the supplied parameters.
- PatternFileFilter(List<String>) - Constructor for class org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternFileFilter
-
Creates a new PatternFileFilter using the supplied patternStrings which are interpreted as file suffixes.
- PatternFileFilter(List<String>, boolean) - Constructor for class org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternFileFilter
-
Creates a new PatternFileFilter using the supplied patternStrings which are interpreted as file suffixes.
- PatternURLFilter - Class in org.codehaus.mojo.jaxb2.shared.filters.pattern
-
AbstractPatternFilter matching the string of URLs with to a set of Regular expressions.
- PatternURLFilter(boolean, String, List<String>, StringConverter<URL>, boolean) - Constructor for class org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternURLFilter
-
Compound constructor creating an ExclusionRegularExpressionURLFilter from the supplied parameters.
- PatternURLFilter(List<String>) - Constructor for class org.codehaus.mojo.jaxb2.shared.filters.pattern.PatternURLFilter
-
Creates a new ExclusionRegularExpressionURLFilter using the supplied patternStrings which are matched against each full - normalized - URL.
- performExecution() - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Implement this method to perform this Mojo's execution.
- performExecution() - Method in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Implement this method to perform this Mojo's execution.
- performExecution() - Method in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
-
Implement this method to perform this Mojo's execution.
- process() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.JavaDocExtractor
-
Processes all supplied Java source Files and URLs to extract JavaDocData for all ClassLocations from which JavaDoc has been collected.
- process(Node) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.XsdAnnotationProcessor
-
Processes the provided DOM Node.
- process(Node) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.XsdEnumerationAnnotationProcessor
-
Processes the provided DOM Node.
- process(Node) - Method in interface org.codehaus.mojo.jaxb2.schemageneration.postprocessing.NodeProcessor
-
Processes the provided DOM Node.
- process(Node) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.ChangeFilenameProcessor
-
Processes the provided DOM Node.
- process(Node) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.ChangeNamespacePrefixProcessor
-
Processes the provided DOM Node.
- process(Node, boolean, NodeProcessor) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.XsdGeneratorHelper
-
Drives the supplied visitor to process the provided Node and all its children, should the recurseToChildren flag be set to
true
. - publish(LogRecord) - Method in class org.codehaus.mojo.jaxb2.shared.environment.logging.MavenLogHandler
Q
- quiet - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Corresponding XJC parameter:
quiet
.
R
- readOnly - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Corresponding XJC parameter:
readOnly
. - rejectAtLeastOnce(T, List<Filter<T>>) - Static method in class org.codehaus.mojo.jaxb2.shared.filters.Filters
-
Algorithms for rejecting the supplied object if at least one of the supplied Filters does not accept it.
- relativize(String, File, boolean) - Static method in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
If the supplied path refers to a file or directory below the supplied basedir, the returned path is identical to the part below the basedir.
- relaxng - org.codehaus.mojo.jaxb2.javageneration.SourceContentType
-
Treat input as Relax NG.
- RelaxNG - org.codehaus.mojo.jaxb2.javageneration.SourceContentType
-
Treat input as Relax NG.
- relaxng_compact - org.codehaus.mojo.jaxb2.javageneration.SourceContentType
-
Treat input as Relax NG with Compact syntax.
- relaxngcompact - org.codehaus.mojo.jaxb2.javageneration.SourceContentType
-
Treat input as Relax NG with Compact syntax.
- RelaxNGCompact - org.codehaus.mojo.jaxb2.javageneration.SourceContentType
-
Treat input as Relax NG with Compact syntax.
- remove(String) - Method in class org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertyChangeEnvironmentFacet.SystemPropertyChangesBuilder
-
Adds a SystemPropertyChange which removes the named System property.
- REMOVE - org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertyChangeEnvironmentFacet.ChangeType
-
Indicates that a System property should be removed during
setup()
and restored/re-added duringrestore()
- renameGeneratedSchemaFiles(Map<String, SimpleNamespaceResolver>, List<TransformSchema>, Log, File, String) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.XsdGeneratorHelper
-
Updates all schemaLocation attributes within the generated schema files to match the 'file' properties within the Schemas read from the plugin configuration.
- render(JavaDocData, SortableLocation) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DefaultJavaDocRenderer
-
Renders the supplied JavaDocData structure as text to be used within an XSD documentation annotation.
- render(JavaDocData, SortableLocation) - Method in interface org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.JavaDocRenderer
-
Renders the supplied JavaDocData structure as text to be used within an XSD documentation annotation.
- renderJavaDocComment(String, SortableLocation) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DefaultJavaDocRenderer
-
Override this method to yield another rendering of the javadoc comment.
- renderJavaDocTag(String, String, SortableLocation) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DefaultJavaDocRenderer
-
Override this method to yield another
- renderJavaDocTag(String, String, SortableLocation) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.NoAuthorJavaDocRenderer
-
Override this method to yield another
- replaceNamespacePrefixes(Map<String, SimpleNamespaceResolver>, List<TransformSchema>, Log, File, String) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.XsdGeneratorHelper
-
Replaces all namespaces within generated schema files, as instructed by the configured Schema instances.
- resolveRecursively(List<File>, List<Filter<File>>, Log) - Static method in class org.codehaus.mojo.jaxb2.shared.FileSystemUtilities
-
Retrieves a List of Files containing all the existing files within the supplied files List, including all files found in directories recursive to any directories provided in the files list.
- restore() - Method in class org.codehaus.mojo.jaxb2.shared.environment.classloading.ContextClassLoaderEnvironmentFacet
-
Restores the original Environment, implying that the change performed in
setup()
method are restored to the state before the setup method was called. - restore() - Method in interface org.codehaus.mojo.jaxb2.shared.environment.EnvironmentFacet
-
Restores the original Environment, implying that the change performed in
setup()
method are restored to the state before the setup method was called. - restore() - Method in class org.codehaus.mojo.jaxb2.shared.environment.locale.LocaleFacet
-
Restores the original Environment, implying that the change performed in
setup()
method are restored to the state before the setup method was called. - restore() - Method in class org.codehaus.mojo.jaxb2.shared.environment.logging.LoggingHandlerEnvironmentFacet
-
Restores the original root Logger state, including Level and Handlers.
- restore() - Method in class org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertyChangeEnvironmentFacet
-
Restores the original Environment, implying that the change performed in
setup()
method are restored to the state before the setup method was called. - restore() - Method in class org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertySaveEnvironmentFacet
-
Restores the original Environment, implying that the change performed in
setup()
method are restored to the state before the setup method was called. - restore() - Method in class org.codehaus.mojo.jaxb2.shared.environment.ToolExecutionEnvironment
-
Restores the original Environment, implying that the change performed in
setup()
method are restored to the state before the setup method was called. - restoreClassLoaderAndReleaseThread() - Method in interface org.codehaus.mojo.jaxb2.shared.environment.classloading.ThreadContextClassLoaderHolder
-
Restores the original ThreadContext ClassLoader, and nullifies any references to the Thread which had its ThreadContext ClassLoader altered.
S
- SCHEMAGEN_EMITTED_FILENAME - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
-
Pattern matching the names of files emitted by the JAXB/JDK SchemaGenerator.
- SchemaGenerationMojo - Class in org.codehaus.mojo.jaxb2.schemageneration
-
Mojo that creates XML schema(s) from compile-scope Java sources or binaries by invoking the JAXB SchemaGenerator.
- SchemaGenerationMojo() - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.SchemaGenerationMojo
- SearchableDocumentation - Interface in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc
-
Specification for a Map of SortableLocations correlated to their respective JavaDocData.
- setAcceptCandidateOnPatternMatch(boolean) - Method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.AbstractPatternFilter
-
Assigns the
acceptCandidateOnPatternMatch
parameter which defines the function of this AbstractPatternFilter's accept method. - setConverter(StringConverter<T>) - Method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.AbstractPatternFilter
-
Assigns the StringConverter used to convert T-type objects to Strings.
- setDelegate(FileFilter) - Method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.FileFilterAdapter
-
Assigns the supplied FileFilter delegate.
- setEncoding(String) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.JavaDocExtractor
-
Assigns the encoding of the underlying
JavaProjectBuilder
. - setPatternPrefix(String) - Method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.AbstractPatternFilter
-
Assigns a prefix to be prepended to any patterns submitted to this AbstractPatternFilter.
- setPatterns(List<String>) - Method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.AbstractPatternFilter
-
Injects a List of patterns complying with the Java Regexp
Pattern
specification. - setProcessNullValues(boolean) - Method in class org.codehaus.mojo.jaxb2.shared.filters.AbstractFilter
-
Assigns the
processNullValues
property which indicates if this AbstractFilter should process null values or not. - setScope(String) - Method in class org.codehaus.mojo.jaxb2.shared.version.DependencyInfo
-
Assigns the scope of this DependencyInfo.
- settings - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Sets the HTTP/HTTPS proxy to be used by the XJC, on the format
[user[:password]@]proxyHost[:proxyPort]
. - setToFile(String) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.TransformSchema
-
Assigns the the name of the target file if/when renamed.
- setToPrefix(String) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.TransformSchema
-
Assigns the namespace prefix of this Schema.
- setType(String) - Method in class org.codehaus.mojo.jaxb2.shared.version.DependencyInfo
-
Assigns the type of this DependencyInfo.
- setup() - Method in class org.codehaus.mojo.jaxb2.shared.environment.classloading.ContextClassLoaderEnvironmentFacet
-
Sets up this Environment, inferring temporary changes to environment variables or conditions.
- setup() - Method in interface org.codehaus.mojo.jaxb2.shared.environment.EnvironmentFacet
-
Sets up this Environment, inferring temporary changes to environment variables or conditions.
- setup() - Method in class org.codehaus.mojo.jaxb2.shared.environment.locale.LocaleFacet
-
Sets up this Environment, inferring temporary changes to environment variables or conditions.
- setup() - Method in class org.codehaus.mojo.jaxb2.shared.environment.logging.LoggingHandlerEnvironmentFacet
-
Sets up this Environment, inferring temporary changes to environment variables or conditions.
- setup() - Method in class org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertyChangeEnvironmentFacet
-
Sets up this Environment, inferring temporary changes to environment variables or conditions.
- setup() - Method in class org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertySaveEnvironmentFacet
-
Sets up this Environment, inferring temporary changes to environment variables or conditions.
- setup() - Method in class org.codehaus.mojo.jaxb2.shared.environment.ToolExecutionEnvironment
-
Sets up this Environment, inferring temporary changes to environment variables or conditions.
- setUri(String) - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.TransformSchema
-
Assigns the URI of this Schema, such as
http://www.jguru.se/some/namespace
. - shouldExecutionBeSkipped() - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Implement this method to check if this AbstractJaxbMojo should skip executing altogether.
- shouldExecutionBeSkipped() - Method in class org.codehaus.mojo.jaxb2.javageneration.TestXjcMojo
-
Implement this method to check if this AbstractJaxbMojo should skip executing altogether.
- shouldExecutionBeSkipped() - Method in class org.codehaus.mojo.jaxb2.javageneration.XjcMojo
-
Implement this method to check if this AbstractJaxbMojo should skip executing altogether.
- shouldExecutionBeSkipped() - Method in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
-
XSD schema files are not generated from POM projects or if no includes have been supplied.
- SimpleNamespaceResolver - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement
-
Namespace resolver for XML documents, which relates XML Namespace Prefixes to XML Namespace URIs.
- SimpleNamespaceResolver(File) - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.SimpleNamespaceResolver
-
Creates a new SimpleNamespaceResolver which collects namespace data from the provided XML file.
- SortableLocation - Interface in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc
-
Common specification for a JavaDoc location which can be compared and sorted.
- SourceContentType - Enum in org.codehaus.mojo.jaxb2.javageneration
-
The type of source input used by XJC.
- sourceType - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Defines the content type of sources for the XJC.
- STALE_FILENAME - Static variable in class org.codehaus.mojo.jaxb2.javageneration.TestXjcMojo
-
The last part of the stale fileName for this TestXjcMojo.
- STALE_FILENAME - Static variable in class org.codehaus.mojo.jaxb2.javageneration.XjcMojo
-
The last part of the stale fileName for this XjcMojo.
- STALE_FILENAME - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.SchemaGenerationMojo
-
The last part of the stale fileName for this SchemaGenerationMojo.
- STALE_FILENAME - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.TestSchemaGenerationMojo
-
The last part of the stale fileName for this TestSchemaGenerationMojo.
- staleFileDirectory - Variable in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
The directory where the staleFile is found.
- STANDARD_BYTECODE_EXCLUDE_FILTERS - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
-
Default exclude file name suffixes for testSources, used unless overridden by an explicit configuration in the
testSourceExcludeSuffixes
parameter. - STANDARD_EPISODE_FILENAME - Static variable in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Standard name of the generated JAXB episode file.
- STANDARD_EXCLUDE_FILTERS - Static variable in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Standard excludes Filters for all Java generator Mojos.
- STANDARD_JAVADOC_RENDERER - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
-
The default JavaDocRenderer used unless another JavaDocRenderer should be used.
- STANDARD_SOURCE_DIRECTORY - Static variable in class org.codehaus.mojo.jaxb2.javageneration.XjcMojo
-
Standard directory path (relative to basedir) searched recursively for source files (typically XSDs), unless overridden by an
sources
configuration element. - STANDARD_SOURCE_EXCLUDE_FILTERS - Static variable in class org.codehaus.mojo.jaxb2.javageneration.XjcMojo
-
Default exclude Filters for sources, used unless overridden by an explicit configuration in the
xjcSourceExcludeFilters
parameter. - STANDARD_SOURCE_EXCLUDE_FILTERS - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.SchemaGenerationMojo
-
Default exclude file name suffixes for sources, used unless overridden by an explicit configuration in the
sourceExcludeSuffixes
parameter. - STANDARD_TEST_SOURCE_DIRECTORY - Static variable in class org.codehaus.mojo.jaxb2.javageneration.TestXjcMojo
-
Standard directory path (relative to basedir) searched recursively for test source files (typically XSDs), unless overridden by a
testSources
configuration element. - STANDARD_TEST_SOURCE_EXCLUDE_FILTERS - Static variable in class org.codehaus.mojo.jaxb2.javageneration.TestXjcMojo
-
Default exclude Filters for test sources, used unless overridden by an explicit configuration in the
testSourceExcludeFilters
parameter. - STANDARD_TEST_SOURCE_EXCLUDE_FILTERS - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.TestSchemaGenerationMojo
-
Default exclude file name suffixes for testSources, used unless overridden by an explicit configuration in the
testSchemaSourceExcludeFilters
parameter. - STANDARD_TEST_XJB_DIRECTORY - Static variable in class org.codehaus.mojo.jaxb2.javageneration.TestXjcMojo
-
Standard directory path (relative to basedir) searched recursively for XJB files, unless overridden by an
testXjbSources
configuration element. - STANDARD_TEST_XJB_EXCLUDE_FILTERS - Static variable in class org.codehaus.mojo.jaxb2.javageneration.TestXjcMojo
-
Default List of exclude Filters for XJB files, unless overridden by providing an explicit configuration in the
testXjbExcludeFilters
parameter. - STANDARD_XJB_DIRECTORY - Static variable in class org.codehaus.mojo.jaxb2.javageneration.XjcMojo
-
Standard directory path (relative to basedir) searched recursively for XJB files, unless overridden by an
xjbSources
configuration element. - STANDARD_XJB_EXCLUDE_FILTERS - Static variable in class org.codehaus.mojo.jaxb2.javageneration.XjcMojo
-
Default List of exclude Filters for XJB files, unless overridden by providing an explicit configuration in the
xjbExcludeSuffixes
parameter. - StringConverter<T> - Interface in org.codehaus.mojo.jaxb2.shared.filters.pattern
-
Specification for a converter rendering a T object as a String.
- SYSTEM_TOOLS_CLASSLOADER_PACKAGES - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo
-
Specification for packages which must be loaded using the SystemToolClassLoader (and not in the plugin's ThreadContext ClassLoader).
- SystemPropertyChangeEnvironmentFacet - Class in org.codehaus.mojo.jaxb2.shared.environment.sysprops
-
EnvironmentFacet which changes the value of a system property for the duration of executing a tool.
- SystemPropertyChangeEnvironmentFacet.ChangeType - Enum in org.codehaus.mojo.jaxb2.shared.environment.sysprops
-
Operation definitions indicating how a System property should be changed by this EnvironmentFacet.
- SystemPropertyChangeEnvironmentFacet.SystemPropertyChangesBuilder - Class in org.codehaus.mojo.jaxb2.shared.environment.sysprops
-
Builder class intended to simplify creating SystemPropertyChange EnvironmentFacets.
- SystemPropertySaveEnvironmentFacet - Class in org.codehaus.mojo.jaxb2.shared.environment.sysprops
-
EnvironmentFacet which saves the value of a system property for the duration of executing a tool.
- SystemPropertySaveEnvironmentFacet(String, Log) - Constructor for class org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertySaveEnvironmentFacet
-
Creates a SystemPropertySave which will remember the original value of the supplied system property for the duration of this SystemPropertySave.
T
- target - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Corresponding XJC parameter:
target
. - TestSchemaGenerationMojo - Class in org.codehaus.mojo.jaxb2.schemageneration
-
Mojo that creates XML schema(s) from test-scope Java testSources or binaries by invoking the JAXB SchemaGenerator.
- TestSchemaGenerationMojo() - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.TestSchemaGenerationMojo
- TestXjcMojo - Class in org.codehaus.mojo.jaxb2.javageneration
-
Mojo that creates test-scope Java source or binaries from XML schema(s) by invoking the JAXB XJC binding compiler.
- TestXjcMojo() - Constructor for class org.codehaus.mojo.jaxb2.javageneration.TestXjcMojo
- ThreadContextClassLoaderBuilder - Class in org.codehaus.mojo.jaxb2.shared.environment.classloading
-
Utility class which assists in synthesizing a URLClassLoader for use as a ThreadLocal ClassLoader.
- ThreadContextClassLoaderHolder - Interface in org.codehaus.mojo.jaxb2.shared.environment.classloading
-
Specification for how to restore the original ThreadContext ClassLoader to a Thread.
- ToolExecutionEnvironment - Class in org.codehaus.mojo.jaxb2.shared.environment
-
Compound EnvironmentFacet implementation which is used to set up and use a collection of other EnvironmentFacet instances during the run of the JAXB2 Maven Plugin.
- ToolExecutionEnvironment(Log, ThreadContextClassLoaderBuilder, LoggingHandlerEnvironmentFacet, LocaleFacet) - Constructor for class org.codehaus.mojo.jaxb2.shared.environment.ToolExecutionEnvironment
-
Creates a new ToolExecutionEnvironment object wrapping the supplied Maven Log.
- toString() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.JavaDocData
- toString() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.ClassLocation
- toString() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.FieldLocation
- toString() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.MethodLocation
- toString() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.location.PackageLocation
- toString() - Method in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.TransformSchema
- toString() - Method in class org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertyChangeEnvironmentFacet
- toString() - Method in class org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertySaveEnvironmentFacet
- toString() - Method in class org.codehaus.mojo.jaxb2.shared.filters.AbstractFilter
- toString() - Method in class org.codehaus.mojo.jaxb2.shared.filters.pattern.AbstractPatternFilter
- toString() - Method in class org.codehaus.mojo.jaxb2.shared.version.DependencyInfo
- TOSTRING_INDENT - Static variable in class org.codehaus.mojo.jaxb2.shared.filters.AbstractFilter
-
Initial-line indent for human-readable toString() rendering.
- ToStringConverter<T> - Class in org.codehaus.mojo.jaxb2.shared.filters.pattern
-
Trivial converter using the
toString()
method to convert a T object to a String. - ToStringConverter() - Constructor for class org.codehaus.mojo.jaxb2.shared.filters.pattern.ToStringConverter
- TransformSchema - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement
-
Data holder for schema transformation operations, to permit customization of the schema namespace prefix and file name of generated schema.
- TransformSchema() - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.TransformSchema
-
Default constructor.
- TransformSchema(String, String, String) - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.schemaenhancement.TransformSchema
-
Compound constructor, creating a TransformSchema instruction wrapping the supplied data.
V
- Validate - Class in org.codehaus.mojo.jaxb2.shared
-
Simple argument validator, inspired by the commons-lang.
- validateDiSetterCalledBeforeInitialization(String) - Method in class org.codehaus.mojo.jaxb2.shared.filters.AbstractFilter
-
Validator method which should be called in a DI setter method to ensure that this AbstractFilter has not yet been initialized.
- validateSchemasInPluginConfiguration(List<TransformSchema>) - Static method in class org.codehaus.mojo.jaxb2.schemageneration.XsdGeneratorHelper
-
Validates that the list of Schemas provided within the configuration all contain unique values.
- valueOf(String) - Static method in enum org.codehaus.mojo.jaxb2.javageneration.SourceContentType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertyChangeEnvironmentFacet.ChangeType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.codehaus.mojo.jaxb2.javageneration.SourceContentType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.codehaus.mojo.jaxb2.shared.environment.sysprops.SystemPropertyChangeEnvironmentFacet.ChangeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verbose - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
Corresponding XJC parameter:
verbose
.
W
- warnAboutIncorrectPluginConfiguration(String, String) - Method in class org.codehaus.mojo.jaxb2.AbstractJaxbMojo
-
Convenience method to invoke when some plugin configuration is incorrect.
- warning(SAXParseException) - Method in class org.codehaus.mojo.jaxb2.javageneration.XjcLogAdapter
- withFlag(boolean, String) - Method in class org.codehaus.mojo.jaxb2.shared.arguments.ArgumentBuilder
-
Adds a flag on the form
-someflag
to the list of arguments contained within this ArgumentBuilder. - withNamedArgument(boolean, String, String) - Method in class org.codehaus.mojo.jaxb2.shared.arguments.ArgumentBuilder
-
Adds a name and an argument on the form
-name value
to the list of arguments contained within this ArgumentBuilder. - withNamedArgument(String, String) - Method in class org.codehaus.mojo.jaxb2.shared.arguments.ArgumentBuilder
-
Convenience form for the
withNamedArgument
method, where a named argument is only added if the value is non-null and non-empty after trimming. - withPreCompiledArguments(List<String>) - Method in class org.codehaus.mojo.jaxb2.shared.arguments.ArgumentBuilder
-
Adds the supplied pre-compiled arguments in the same order as they were given.
- wsdl - org.codehaus.mojo.jaxb2.javageneration.SourceContentType
-
Treat input as WSDL, and compile schemas inside it.
- WSDL - org.codehaus.mojo.jaxb2.javageneration.SourceContentType
-
Treat input as WSDL, and compile schemas inside it.
X
- XjcLogAdapter - Class in org.codehaus.mojo.jaxb2.javageneration
-
Adapter implementation emitting XJC events to a Maven Log.
- XjcLogAdapter(Log) - Constructor for class org.codehaus.mojo.jaxb2.javageneration.XjcLogAdapter
-
Creates an XjcLogAdapter which emits all XJC events onto the supplied Maven Log.
- XjcMojo - Class in org.codehaus.mojo.jaxb2.javageneration
-
Mojo that creates compile-scope Java source or binaries from XML schema(s) by invoking the JAXB XJC binding compiler.
- XjcMojo() - Constructor for class org.codehaus.mojo.jaxb2.javageneration.XjcMojo
- xmlschema - org.codehaus.mojo.jaxb2.javageneration.SourceContentType
-
Treat input as W3C XML Schema (i.e.
- XmlSchema - org.codehaus.mojo.jaxb2.javageneration.SourceContentType
-
Treat input as W3C XML Schema (i.e.
- XSD_SCHEMA_NAMESPACE_PREFIX - Static variable in class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.DomHelper
-
The namespace schema prefix for the URI
http://www.w3.org/2001/XMLSchema
(i.e. - XsdAnnotationProcessor - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc
-
Node processor that injects XSD documentation annotations consisting of JavaDoc harvested Java source code into ComplexTypes, Elements and Attributes.
- XsdAnnotationProcessor(SearchableDocumentation, JavaDocRenderer) - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.XsdAnnotationProcessor
-
Creates an XsdAnnotationProcessor that uses the supplied/generated SearchableDocumentation to read all JavaDoc structures and the supplied JavaDocRenderer to render JavaDocs into XSD documentation annotations.
- XsdEnumerationAnnotationProcessor - Class in org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc
-
Node processor that injects XSD documentation annotations consisting of JavaDoc harvested Java source code into SimpleTypes, Elements and Attributes typically produced by SchemaGen when generate XSDs for Java Enumerations.
- XsdEnumerationAnnotationProcessor(SearchableDocumentation, JavaDocRenderer) - Constructor for class org.codehaus.mojo.jaxb2.schemageneration.postprocessing.javadoc.XsdEnumerationAnnotationProcessor
-
Creates an XsdEnumerationAnnotationProcessor that uses the supplied/generated SearchableDocumentation to read all JavaDoc structures and the supplied JavaDocRenderer to render JavaDocs into XSD documentation annotations.
- XsdGeneratorHelper - Class in org.codehaus.mojo.jaxb2.schemageneration
-
Utility class holding algorithms used when generating XSD schema.
- xsdPathWithinArtifact - Variable in class org.codehaus.mojo.jaxb2.javageneration.AbstractJavaGeneratorMojo
-
If provided, this parameter indicates that the XSDs used by XJC to generate Java code should be copied into the resulting artifact of this project (the JAR, WAR or whichever artifact type is generated).
All Classes All Packages