Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
D
E
F
G
I
M
N
P
Q
R
S
T
U
V
X
A
addChildElement(Document, String, String)
- Static method in class redora.generator.
XMLUtil
Adds an child element to the document's root element.
addFinder(Document, Node, String, boolean)
- Static method in class redora.generator.
XMLUtil
addFinder(Document, Node, String, String)
- Static method in class redora.generator.
XMLUtil
addScope()
- Method in class redora.generator.
Normalizer
Add listScope, tableScope, formScope and lazyScope nodes to the model.
listScope
In this node all the attributes that have set list='true' are added.
allModelFiles()
- Method in class redora.generator.
ModelFileFinder
Finds dumped allModel xml file in the local directory.
APPLICATION_SCHEMA
- Static variable in class redora.generator.
ModelProcessor
Schema file for checking if the application document is correct.
applicationFile
- Variable in class redora.generator.
FileLocations
../resources/application.xml
asString(Document)
- Static method in class redora.generator.
XMLUtil
Dumps Document to String.
attribute(Node, String, String)
- Static method in class redora.generator.
XMLUtil
Insert attribute in given node.
attributes(Document, String)
- Static method in class redora.generator.
XMLUtil
Return a nodelist with all the /object/attributes, or filtered as you xpath wished.
B
buildDir
- Variable in class redora.generator.
FileLocations
target (set by Maven)
byInput(Template.Input)
- Method in class redora.generator.
GeneratorTemplate
D
definedLanguages(Document)
- Static method in class redora.generator.
XMLUtil
Retrieves the distinct values of all 'language' attributes in given document.
destination
- Variable in class redora.generator.
Template
destinationType
- Variable in class redora.generator.
Template
dump()
- Method in class redora.generator.
ModelProcessor
dumpAllModelsToLocalFile()
- Method in class redora.generator.
ModelProcessor
dumpModelToLocalFile()
- Method in class redora.generator.
ModelProcessor
E
enumerations(Document, String)
- Static method in class redora.generator.
XMLUtil
Retrieves all enum from model doc.
execute()
- Method in class redora.generator.
GenerateMojo
F
FileLocations
- Class in
redora.generator
Some rigid and static locations of several files and directories.
FileLocations(String, String)
- Constructor for class redora.generator.
FileLocations
src/main/resources/templates/
finder(Node, String)
- Static method in class redora.generator.
XMLUtil
findIncludeFiles()
- Method in class redora.generator.
ModelFileFinder
Get all include documents file list
findModelFiles()
- Method in class redora.generator.
ModelFileFinder
Get all model documents file list
from(Node)
- Method in class redora.generator.
GeneratorTemplate
Will get a Template object form the templates.xml document.
G
generate()
- Method in class redora.generator.
ModelProcessor
Generate sources for project
GenerateMojo
- Class in
redora.generator
Generates persistence sources and resources.
GenerateMojo()
- Constructor for class redora.generator.
GenerateMojo
GENERATION_TARGET
- Static variable in class redora.generator.
GenerateMojo
GeneratorTemplate
- Class in
redora.generator
The generator uses a bean-counterish template file located in /target/generated-resources/templates.xml (look it up in the sources).
GeneratorTemplate(String)
- Constructor for class redora.generator.
GeneratorTemplate
getAbsolutePath()
- Method in class redora.generator.
Template
getDestinationFileName(String, String, String)
- Method in class redora.generator.
Template
getTemplateFileName()
- Method in class redora.generator.
Template
I
ignoreProjects
- Variable in class redora.generator.
Template
INCLUDE_SCHEMA
- Static variable in class redora.generator.
ModelProcessor
Schema file for checking if the include document is correct.
includeDir
- Variable in class redora.generator.
FileLocations
../resources/model/includes
input
- Variable in class redora.generator.
Template
internationalize(Document, String)
- Method in class redora.generator.
Internationalizer
Internationalizer
- Class in
redora.generator
Fixes the caption elements on model and attributes.
Internationalizer(String)
- Constructor for class redora.generator.
Internationalizer
isSortable(Document)
- Static method in class redora.generator.
XMLUtil
Looks if this model document has the sorted = true tag.
M
MODEL_SCHEMA
- Static variable in class redora.generator.
ModelProcessor
Schema file for checking if the model document is correct.
modelDir
- Variable in class redora.generator.
FileLocations
../resources/model
ModelFileFinder
- Class in
redora.generator
Finds model files.
ModelFileFinder(FileLocations, String)
- Constructor for class redora.generator.
ModelFileFinder
ModelGenerationException
- Exception in
redora.generator
Occurs when it generates.
ModelGenerationException(String, Exception)
- Constructor for exception redora.generator.
ModelGenerationException
ModelGenerationException(String)
- Constructor for exception redora.generator.
ModelGenerationException
ModelProcessor
- Class in
redora.generator
Retrieves all available models from the file system in this project and generated all the sources and resources with the available templates.
ModelProcessor(FileLocations, String, String, String)
- Constructor for class redora.generator.
ModelProcessor
N
name
- Variable in class redora.generator.
Template
newDocument(String, String)
- Static method in class redora.generator.
XMLUtil
Create the model XML document and adds the root element and optional a package element.
normalize(Document, String, Set<String>, int)
- Method in class redora.generator.
Normalizer
Enhances the model XML document with name, package and sequence tags and then invokes.
normalizedModelFile(String)
- Method in class redora.generator.
ModelFileFinder
Finds dumped model xml file in the ~/.redora directory.
Normalizer
- Class in
redora.generator
There are default settings for a model that, because they are default, are not available in the model file.
Normalizer(String)
- Constructor for class redora.generator.
Normalizer
P
packageSuffix
- Variable in class redora.generator.
Template
path
- Variable in class redora.generator.
Template
printInclude(FileLocations, String)
- Static method in exception redora.generator.
ModelGenerationException
Similar to the printModel, but then it takes the include file.
printModel(FileLocations, String)
- Static method in exception redora.generator.
ModelGenerationException
Return a string with the contents of the model's XML.
Q
queries(Document)
- Static method in class redora.generator.
XMLUtil
R
redora.generator
- package redora.generator
Code generator functions and the Maven plugin
redoraDir
- Variable in class redora.generator.
FileLocations
~/redora
resourceDir
- Variable in class redora.generator.
FileLocations
src/main/resources
S
schemaValidation(String, File)
- Method in class redora.generator.
ModelProcessor
Validate the xml file according to schema file MODEL_SCHEMA
setDestinationType(Template.DestinationType)
- Method in class redora.generator.
Template
setIgnoreProjects(String)
- Method in class redora.generator.
Template
setInput(Template.Input)
- Method in class redora.generator.
Template
setPackageSuffix(String)
- Method in class redora.generator.
Template
setPath(String)
- Method in class redora.generator.
Template
setTemplateFileName(String)
- Method in class redora.generator.
Template
sourceDir
- Variable in class redora.generator.
FileLocations
src/main/java
T
Template
- Class in
redora.generator
Archetype Template without content.
Template(String, Template.Type, Template.Destination, String)
- Constructor for class redora.generator.
Template
Template.Destination
- Enum in
redora.generator
Template.DestinationType
- Enum in
redora.generator
File type of the destination.
Template.Input
- Enum in
redora.generator
Data input for the template.
Template.Type
- Enum in
redora.generator
templatesDir
- Variable in class redora.generator.
FileLocations
toString()
- Method in class redora.generator.
FileLocations
toString()
- Method in class redora.generator.
Template
type
- Variable in class redora.generator.
Template
U
upgradeDir
- Variable in class redora.generator.
FileLocations
../resources/upgrade
upgradeFiles()
- Method in class redora.generator.
ModelFileFinder
Finds upgrade files in the upgrade directory.
V
valueOf(String)
- Static method in enum redora.generator.
Template.Destination
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum redora.generator.
Template.DestinationType
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum redora.generator.
Template.Input
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum redora.generator.
Template.Type
Returns the enum constant of this type with the specified name.
values()
- Static method in enum redora.generator.
Template.Destination
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum redora.generator.
Template.DestinationType
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum redora.generator.
Template.Input
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum redora.generator.
Template.Type
Returns an array containing the constants of this enum type, in the order they are declared.
X
XMLUtil
- Class in
redora.generator
XML utilities in specific use for handling the model files.
XMLUtil()
- Constructor for class redora.generator.
XMLUtil
xsltTransform(Node, InputStream, Writer, Map<String, String>)
- Static method in class redora.generator.
XMLUtil
Transform xml Node with xslt template file to stream
A
B
D
E
F
G
I
M
N
P
Q
R
S
T
U
V
X
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2012
Nanjing RedOrange Co. ltd
. All Rights Reserved.