Index

A B C D E F G I L M N O P R S T V W X 
All Classes and Interfaces|All Packages

A

AntDocumentation - Class in org.apache.rat.tools
A simple tool to convert CLI options into an Ant report base class.
AntGenerator - Class in org.apache.rat.tools
A simple tool to convert CLI options into an Ant report base class.
AntGenerator.GenerateType - Class in org.apache.rat.tools
 
AntOption - Class in org.apache.rat.documentation.options
A class that wraps the CLI option and provides Ant specific values.
AntOption(UIOptionCollection, Option) - Constructor for class org.apache.rat.documentation.options.AntOption
Constructor.
AntOption.ExampleGenerator - Class in org.apache.rat.documentation.options
An example code generator for this AntOption.
AntOptionCollection - Class in org.apache.rat.documentation.options
The collection of AntOptions equivalent to the CLI options with any unsupported options removed.
AntOptionCollection.Builder - Class in org.apache.rat.documentation.options
The Builder for the AntOptionCollection.
AntOptionCollection.BuildType - Class in org.apache.rat.documentation.options
A mapping of data type of XML format.
antOptions() - Method in class org.apache.rat.documentation.velocity.RatTool
Gets a map client option name to Ant Option.
aptEscape(String) - Method in class org.apache.rat.documentation.velocity.RatTool
Escapes a string for APT (almost plain text).
argumentTypes() - Method in class org.apache.rat.documentation.velocity.RatTool
Gets the list of argument types.
ArgumentTypes - Class in org.apache.rat.tools
A simple tool to convert CLI options to Maven and Ant format and produce a CSV file.
attribute(String, String...) - Method in class org.apache.rat.tools.xsd.XsdWriter
Writes the attributes
ATTRIBUTE - Enum constant in enum class org.apache.rat.tools.xsd.XsdWriter.Type
An attribute

B

build() - Method in class org.apache.rat.documentation.options.AntOptionCollection.Builder
 
build() - Method in class org.apache.rat.documentation.options.MavenOptionCollection.Builder
 
builder() - Static method in class org.apache.rat.documentation.options.AntOptionCollection
 
builder() - Static method in class org.apache.rat.documentation.options.MavenOptionCollection
 
buildType() - Method in class org.apache.rat.documentation.options.AntOption
 

C

CHOICE - Enum constant in enum class org.apache.rat.tools.xsd.XsdWriter.Type
A choice
cleanupName() - Method in class org.apache.rat.documentation.options.AntOption
 
cleanupName(Option) - Method in class org.apache.rat.documentation.options.AntOption
 
cleanupName(Option) - Method in class org.apache.rat.documentation.options.MavenOption
 
cliOptions() - Method in class org.apache.rat.documentation.velocity.RatTool
Gets a map client option name to CLI Option.
close(XsdWriter.Type) - Method in class org.apache.rat.tools.xsd.XsdWriter
Closes (Ends) the element for the type.
COMPLEX - Enum constant in enum class org.apache.rat.tools.xsd.XsdWriter.Type
A complex type
COMPLEX_CONTENT - Enum constant in enum class org.apache.rat.tools.xsd.XsdWriter.Type
A complex type
convert(Arg, Arg) - Method in class org.apache.rat.documentation.options.AntOptionCollection.Builder
 
convertedFrom() - Method in class org.apache.rat.documentation.options.AntOption
Gets the set of options that are mapped to this option.
convertedFrom(AntOption) - Method in class org.apache.rat.documentation.options.AntOptionCollection
 

D

Documentation - Class in org.apache.rat.tools
Generates text based documentation for Licenses, LicenceFamilies, and Matchers.
doubleLine() - Method in class org.apache.rat.documentation.velocity.RatTool
Gets two new lines.

E

ELEMENT - Enum constant in enum class org.apache.rat.tools.xsd.XsdWriter.Type
An element
environmentVariables() - Method in class org.apache.rat.documentation.velocity.RatTool
Gets the list of environment variables.
ExampleGenerator() - Constructor for class org.apache.rat.documentation.options.AntOption.ExampleGenerator
The constructor.
execute() - Method in class org.apache.rat.tools.AntDocumentation
 
Exporter - Class in org.apache.rat.documentation
Uses Apache Velocity to write a document containing RAT configuration information.
Exporter() - Constructor for class org.apache.rat.documentation.Exporter
 
EXTENSION - Enum constant in enum class org.apache.rat.tools.xsd.XsdWriter.Type
An extension

F

family() - Method in class org.apache.rat.documentation.velocity.License
Gets the family name of this license.
finish() - Method in class org.apache.rat.tools.xsd.XsdWriter
Finishes the process.

G

getActualAntOption() - Method in class org.apache.rat.documentation.options.AntOption
If this option is converted to another option return that option otherwise return this option.
getActualAntOption(AntOption) - Method in class org.apache.rat.documentation.options.AntOptionCollection
If this option is converted to another option return that option otherwise return this option.
getAttributeFunctionName(AntOption) - Static method in class org.apache.rat.tools.AntGenerator
Get the signature of the attribute function.
getAttributes() - Method in class org.apache.rat.documentation.velocity.Matcher
Gets the attributes of this matcher.
getAttributes() - Method in class org.apache.rat.documentation.velocity.MatcherTree.Node
Gets the attributes only if they have values.
getChildElements(String, List) - Method in class org.apache.rat.documentation.options.AntOption.ExampleGenerator
Creates a string comprising the child elements for the Ant XML report call.
getCollection() - Method in class org.apache.rat.documentation.velocity.Matcher.Enclosed
Gets the phrase "or more " if the enclosed matcher may be multiple.
getDescription() - Method in class org.apache.rat.documentation.velocity.Matcher.Attribute
Gets the description of the attribute or an empty string.
getDescription() - Method in class org.apache.rat.documentation.velocity.Matcher
Gets the description of the matcher type.
getEnclosed() - Method in class org.apache.rat.documentation.velocity.Matcher
If the matcher encloses another matcher return the definition of that enclosure.
getEnclosed() - Method in class org.apache.rat.documentation.velocity.MatcherTree.Node
Gets the enclosed node only if it is another matcher.
getExample() - Method in class org.apache.rat.documentation.options.AntOption
 
getExample() - Method in class org.apache.rat.documentation.options.MavenOption
 
getExample(String...) - Method in class org.apache.rat.documentation.options.MavenOption
Create example text for the option.
getExample(String, Map, List) - Method in class org.apache.rat.documentation.options.AntOption.ExampleGenerator
Gets an example Ant XML report call using ant option with the specified attributes and child elements.
getExampleAttributes(String, Map) - Method in class org.apache.rat.documentation.options.AntOption.ExampleGenerator
Creates a string comprising the attributes for the Ant XML report call.
getInputStream() - Method in class org.apache.rat.tools.xsd.XsdGenerator
Create an input stream from the output of the generator.
getMatcher() - Method in class org.apache.rat.documentation.velocity.License
Gets the matcher associated with this license.
getMatcherTree() - Method in class org.apache.rat.documentation.velocity.License
Gets the matcher tree associated with this license.
getMethod(AntOption) - Method in class org.apache.rat.tools.AntGenerator.GenerateType
 
getMethodFormat(AntOption) - Method in class org.apache.rat.documentation.options.AntOptionCollection.BuildType
Gets the method based on how many arguments an Ant option requires.
getMethodName() - Method in class org.apache.rat.documentation.options.MavenOption
Gets the method name for this option.
getMethodSignature(String, boolean) - Method in class org.apache.rat.documentation.options.MavenOption
 
getName() - Method in class org.apache.rat.documentation.velocity.Matcher.Attribute
Gets the attribute name.
getName() - Method in class org.apache.rat.documentation.velocity.Matcher
Get the name of the matcher type.
getPattern(AntOption, AntOption) - Method in class org.apache.rat.tools.AntGenerator.GenerateType
 
getPropertyAnnotation(String) - Method in class org.apache.rat.documentation.options.MavenOption
 
getRenameMap() - Static method in class org.apache.rat.documentation.options.AntOptionCollection
 
getRenameMap() - Static method in class org.apache.rat.documentation.options.MavenOptionCollection
 
getRequired() - Method in class org.apache.rat.documentation.velocity.Matcher.Attribute
Gets the required flag.
getRequired() - Method in class org.apache.rat.documentation.velocity.Matcher.Enclosed
Gets the required flag.
getRequiredAttributes(String) - Method in class org.apache.rat.documentation.options.AntOptionCollection
 
getRoot() - Method in class org.apache.rat.documentation.velocity.MatcherTree
Gets the description of the root of the tree.
getText() - Method in class org.apache.rat.documentation.options.AntOption
 
getText() - Method in class org.apache.rat.documentation.options.MavenOption
 
getType() - Method in class org.apache.rat.documentation.velocity.Matcher.Attribute
Get the type of the attribute.
getType() - Method in class org.apache.rat.documentation.velocity.Matcher.Enclosed
Get the type of the enclosed matcher.
getValue() - Method in class org.apache.rat.documentation.velocity.Matcher.Attribute
Gets the value of the enclosed matcher.
getValue() - Method in class org.apache.rat.documentation.velocity.Matcher.Enclosed
Gets the value of the enclosed matcher.
getXml(AntOption, String) - Method in class org.apache.rat.documentation.options.AntOptionCollection.BuildType
 
getXml(AntOption, AntOption, String) - Method in class org.apache.rat.documentation.options.AntOptionCollection.BuildType
Gets a string comprising the Ant XML pattern for this data type and the number of arguments expected by the Ant option.

I

id() - Method in class org.apache.rat.documentation.velocity.License
Gets the id for this license if it is not a system generated one.
init() - Method in class org.apache.rat.tools.xsd.XsdWriter
Initializes the writer.
innerClass - Variable in class org.apache.rat.tools.AntGenerator.GenerateType
The inner class name text.
INSTANCE - Static variable in class org.apache.rat.documentation.options.AntOptionCollection
The instance of the AntOptionCollection
INSTANCE - Static variable in class org.apache.rat.documentation.options.MavenOptionCollection
The instance of the MavenOptionCollection.
isAttribute() - Method in class org.apache.rat.documentation.options.AntOption
Returns true if the option should be an attribute of the <rat:report> element.
isAttribute(AntOption) - Method in class org.apache.rat.documentation.options.AntOptionCollection
 
isElement() - Method in class org.apache.rat.documentation.options.AntOption
Returns true if the option should be a child element of the <rat:report> element.

L

level() - Method in class org.apache.rat.documentation.velocity.MatcherTree.Node
Gets the level in the tree of this node.
License - Class in org.apache.rat.documentation.velocity
The License representation for documentation.
licenseProperties() - Method in class org.apache.rat.documentation.velocity.RatTool
Gets a list of license property descriptions.
licenses() - Method in class org.apache.rat.documentation.velocity.RatTool
Gets the list of defined licenses.

M

main(String[]) - Static method in class org.apache.rat.documentation.Exporter
Executes the generation of documentation from a configuration definition.
main(String[]) - Static method in class org.apache.rat.tools.AntDocumentation
Creates APT documentation files for Ant.
main(String[]) - Static method in class org.apache.rat.tools.AntGenerator
Creates a base class for an Ant task.
main(String[]) - Static method in class org.apache.rat.tools.ArgumentTypes
 
main(String[]) - Static method in class org.apache.rat.tools.Documentation
Creates the documentation.
main(String[]) - Static method in class org.apache.rat.tools.MavenGenerator
Creates the Maven MojoClass Requires 3 arguments: the package name for the class the simple class name the directory in which to write the class file.
main(String[]) - Static method in class org.apache.rat.tools.Naming
Creates the CSV file.
main(String[]) - Static method in class org.apache.rat.tools.xsd.XsdGenerator
Command line that accepts standard RAT CLI command line options and generates an XSD from the configuration.
markdownEscape(String) - Method in class org.apache.rat.documentation.velocity.RatTool
Escapes a string for Markdown.
Matcher - Class in org.apache.rat.documentation.velocity
The Matcher representation for documentation.
Matcher.Attribute - Class in org.apache.rat.documentation.velocity
The definition of an attribute.
Matcher.Enclosed - Class in org.apache.rat.documentation.velocity
The description of an enclosed matcher.
matchers() - Method in class org.apache.rat.documentation.velocity.RatTool
Gets the set of Matchers.
MatcherTree - Class in org.apache.rat.documentation.velocity
The representation of the Matcher tree found in a License.
MatcherTree(IHeaderMatcher) - Constructor for class org.apache.rat.documentation.velocity.MatcherTree
Constructor.
MatcherTree.Node - Class in org.apache.rat.documentation.velocity
The representation of a node in a License Matcher tree.
MavenGenerator - Class in org.apache.rat.tools
A simple tool to convert CLI options to a Maven Mojo base class.
MavenOption - Class in org.apache.rat.documentation.options
A representation of a Maven option based on a CLI option.
MavenOptionCollection - Class in org.apache.rat.documentation.options
The collection of MavenOptions equivalent to the CLI options with any unsupported options removed.
MavenOptionCollection.Builder - Class in org.apache.rat.documentation.options
The Builder for the MavenOptionCollection.
mvnOptions() - Method in class org.apache.rat.documentation.velocity.RatTool
Gets a map client option name to Maven Option.

N

name() - Method in class org.apache.rat.documentation.velocity.License
Gets the name of this license.
Naming - Class in org.apache.rat.tools
A simple tool to convert CLI options to Maven and Ant format and produce a CSV file.
note() - Method in class org.apache.rat.documentation.velocity.License
Gets the space normalized note for the license.

O

open(XsdWriter.Type, String...) - Method in class org.apache.rat.tools.xsd.XsdWriter
Opens (Starts) an element of the specified type along with its attributes.
options() - Method in class org.apache.rat.documentation.velocity.RatTool
Gets the list of command line options.
org.apache.rat.documentation - package org.apache.rat.documentation
Contains tools for generating documentation.
org.apache.rat.documentation.options - package org.apache.rat.documentation.options
Contains ancillary enhanced options for the various RAT interfaces.
org.apache.rat.documentation.velocity - package org.apache.rat.documentation.velocity
Contains velocity based tools and accessories.
org.apache.rat.tools - package org.apache.rat.tools
Contains ancillary tools for the RAT program including code generators and name harmonization code.
org.apache.rat.tools.xsd - package org.apache.rat.tools.xsd
Contains XSD file generation tools.

P

pad(int) - Method in class org.apache.rat.documentation.velocity.RatTool
Creates a string of spaces of the specified length.

R

RatTool - Class in org.apache.rat.documentation.velocity
The Velocity RAT plugin that provides access to the RAT data.
RatTool() - Constructor for class org.apache.rat.documentation.velocity.RatTool
Constructor.

S

SEQUENCE - Enum constant in enum class org.apache.rat.tools.xsd.XsdWriter.Type
A sequence
SIMPLE - Enum constant in enum class org.apache.rat.tools.xsd.XsdWriter.Type
A simple type
standardCollections() - Method in class org.apache.rat.documentation.velocity.RatTool
Gets the list of standard collections.
stringUtils() - Method in class org.apache.rat.documentation.velocity.RatTool
Gets the StringUtils object in order to work with it in RAT Velocity templates.
styleSheets() - Method in class org.apache.rat.documentation.velocity.RatTool
Gets the list of stylesheets.

T

tab() - Method in class org.apache.rat.documentation.velocity.RatTool
Gets a tab character.
testName(AntOption) - Method in class org.apache.rat.documentation.options.AntOptionCollection.BuildType
 
toString() - Method in class org.apache.rat.documentation.Exporter
 
toString() - Method in class org.apache.rat.documentation.options.AntOption
 
toString() - Method in class org.apache.rat.documentation.options.MavenOption
 
traverse() - Method in class org.apache.rat.documentation.velocity.MatcherTree
Executes an in-order-traversal of the tree.

V

valueOf(String) - Static method in enum class org.apache.rat.tools.xsd.XsdWriter.Type
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.apache.rat.tools.xsd.XsdWriter.Type
Returns an array containing the constants of this enum class, in the order they are declared.

W

write(Writer) - Method in class org.apache.rat.tools.xsd.XsdGenerator
Writes the XSD to the output.
writeAttributes(List) - Method in class org.apache.rat.tools.AntDocumentation
 
writeElements(List) - Method in class org.apache.rat.tools.AntDocumentation
 

X

XsdGenerator - Class in org.apache.rat.tools.xsd
Generates the XSD for a configuration.
XsdGenerator() - Constructor for class org.apache.rat.tools.xsd.XsdGenerator
 
XsdWriter - Class in org.apache.rat.tools.xsd
A writer that writes XSD nodes.
XsdWriter(Writer) - Constructor for class org.apache.rat.tools.xsd.XsdWriter
Creates an XSD writer that wraps a standard Writer.
XsdWriter.Type - Enum Class in org.apache.rat.tools.xsd
Types of elements in the XSD
A B C D E F G I L M N O P R S T V W X 
All Classes and Interfaces|All Packages