A B C D E F G I J L M P R S T U 

A

areFieldTypesCompatible(Type, Type) - Static method in class com.expedia.tesla.compiler.MergedClass
 

B

box(String) - Method in class com.expedia.tesla.compiler.plugins.JavaTypeMapper
Get the boxed type name.

C

com.expedia.tesla.compiler - package com.expedia.tesla.compiler
 
com.expedia.tesla.compiler.plugins - package com.expedia.tesla.compiler.plugins
 
commaSeparate(Collection<T>) - Static method in class com.expedia.tesla.compiler.Util
Convert a list of elements to a single comma separated string.
compile() - Method in class com.expedia.tesla.compiler.Compiler
Merge Tesla schemas and generate source code use the current settings.
Compiler - Class in com.expedia.tesla.compiler
Telsa compiler compiles Tesla schema file (TML) into source code.
Compiler() - Constructor for class com.expedia.tesla.compiler.Compiler
Constructor.
convert(String) - Method in class com.expedia.tesla.compiler.SchemaGenerator.SchemaVersionConverter
 
CppTypeDescriptor - Class in com.expedia.tesla.compiler.plugins
 
CppTypeDescriptor(Type, String, String) - Constructor for class com.expedia.tesla.compiler.plugins.CppTypeDescriptor
 
CppTypeMapper - Class in com.expedia.tesla.compiler.plugins
 
CppTypeMapper() - Constructor for class com.expedia.tesla.compiler.plugins.CppTypeMapper
 
CppUtils - Class in com.expedia.tesla.compiler.plugins
 
CppUtils() - Constructor for class com.expedia.tesla.compiler.plugins.CppUtils
 
createContext(Map<String, Object>) - Method in class com.expedia.tesla.compiler.TemplateEngine
Create a VelocityContext with variables.
createTemplate(String, String, String) - Method in class com.expedia.tesla.compiler.TemplateEngine
Create a template.
CSharpUtils - Class in com.expedia.tesla.compiler.plugins
 
CSharpUtils() - Constructor for class com.expedia.tesla.compiler.plugins.CSharpUtils
 

D

delimiterSeparate(Collection<T>, String) - Static method in class com.expedia.tesla.compiler.Util
Convert a list of elements to a single delimiter separated string.

E

escapeMultiLineStringLiteral(String) - Method in class com.expedia.tesla.compiler.plugins.JavaUtils
 
escapeStringLiteral(String) - Method in class com.expedia.tesla.compiler.plugins.CSharpUtils
 
escapeStringLiteral(String) - Method in class com.expedia.tesla.compiler.plugins.JavaUtils
 
expandWildcard(Collection<String>) - Static method in class com.expedia.tesla.compiler.Util
Expand glob file patterns to path strings.

F

firstCharLowerCase(String) - Static method in class com.expedia.tesla.compiler.Util
Make the first character lower case.
firstCharUpperCase(String) - Static method in class com.expedia.tesla.compiler.Util
Make the first character upper case.
forceMkdirParent(File) - Static method in class com.expedia.tesla.compiler.Util
Makes any necessary but nonexistent parent directories for a given File.
fromJavaClass(Schema.SchemaBuilder, Class<?>) - Method in class com.expedia.tesla.compiler.plugins.JavaTypeMapper
Generate Tesla schema from Java class by reflection.

G

genTml(Collection<String>, SchemaVersion, OutputStream, String) - Static method in class com.expedia.tesla.compiler.SchemaGenerator
Generate Tesla schema file (TML) from Java classes that follow Java Bean convention.
getActualTypeName() - Method in class com.expedia.tesla.compiler.plugins.JavaTypeDescriptor
 
getAllFields() - Method in class com.expedia.tesla.compiler.MergedClass
 
getAllUserTypes(Collection<Schema>) - Static method in class com.expedia.tesla.compiler.Util
Get a set of all user types defined in all schemas.
getAppSchemaClassName() - Method in class com.expedia.tesla.compiler.Compiler
Get the full name the generated serializer class name.
getAppSchemaTemplatePath() - Method in class com.expedia.tesla.compiler.Compiler
Get the path of user serializer source code template.
getBaseTypeNames() - Method in class com.expedia.tesla.compiler.MergedClass
 
getClasses() - Method in class com.expedia.tesla.compiler.MergedSchema
Get all merged user classes.
getClasspath() - Method in class com.expedia.tesla.compiler.Compiler
Get the classpath where compiler load Java classes for user extensions.
getClassTemplatePath() - Method in class com.expedia.tesla.compiler.Compiler
Get the user class source code template.
getClassVersions() - Method in class com.expedia.tesla.compiler.MergedClass
 
getCppTypeName() - Method in class com.expedia.tesla.compiler.plugins.CppTypeDescriptor
 
getCSharpListType(String, int) - Method in class com.expedia.tesla.compiler.plugins.CSharpUtils
 
getCSharpTypeName(Field) - Method in class com.expedia.tesla.compiler.plugins.CSharpUtils
 
getDescription() - Method in class com.expedia.tesla.compiler.MergedClass
 
getDescriptor(Type) - Method in class com.expedia.tesla.compiler.plugins.CppTypeMapper
 
getEnumes() - Method in class com.expedia.tesla.compiler.MergedSchema
Get all merged user enums.
getEnumTemplatePath() - Method in class com.expedia.tesla.compiler.Compiler
Get the user enum source code template.
getEnumVersions() - Method in class com.expedia.tesla.compiler.MergedEnum
Get all enum definitions.
getExtension() - Method in class com.expedia.tesla.compiler.Compiler
Get user extensions.
getFields() - Method in class com.expedia.tesla.compiler.MergedClass
 
getInheritedFields() - Method in class com.expedia.tesla.compiler.MergedClass
 
getInterfaceName() - Method in class com.expedia.tesla.compiler.plugins.JavaTypeDescriptor
 
getJavaTypeName(Field) - Method in class com.expedia.tesla.compiler.plugins.JavaUtils
 
getLanguage() - Method in class com.expedia.tesla.compiler.Compiler
Get the name of programming language we are generation source code.
getName() - Method in class com.expedia.tesla.compiler.MergedClass
Get class full name.
getNameSpace() - Method in class com.expedia.tesla.compiler.MergedClass
 
getNewLine() - Static method in class com.expedia.tesla.compiler.Util
Get a new line character.
getOutputDir() - Method in class com.expedia.tesla.compiler.Compiler
Get the base output directory of the generated source code.
getReadMethod(Field) - Method in class com.expedia.tesla.compiler.plugins.CSharpUtils
 
getReadMethod(Field) - Method in class com.expedia.tesla.compiler.plugins.JavaUtils
 
getSchemaFiles() - Method in class com.expedia.tesla.compiler.Compiler
Get the list of schema file paths.
getSchemas() - Method in class com.expedia.tesla.compiler.MergedSchema
Get all managed schemas.
getShortName() - Method in class com.expedia.tesla.compiler.MergedClass
Get class short name.
getSymbol() - Method in class com.expedia.tesla.compiler.plugins.CppTypeDescriptor
 
getSymbol() - Method in class com.expedia.tesla.compiler.plugins.JavaTypeDescriptor
 
getTeslaTypeTag(Field) - Method in class com.expedia.tesla.compiler.plugins.CppUtils
 
getType() - Method in class com.expedia.tesla.compiler.plugins.CppTypeDescriptor
 
getType() - Method in class com.expedia.tesla.compiler.plugins.JavaTypeDescriptor
 
getTypeDescriptor(Type) - Method in class com.expedia.tesla.compiler.plugins.JavaTypeMapper
Obtains Java type descriptor which describes type mapping information for a given Tesla type.
getVersions() - Method in class com.expedia.tesla.compiler.MergedClass
 
getVersions() - Method in class com.expedia.tesla.compiler.MergedEnum
Get all schema versions that defines this enum.
getWriteMethod(Field) - Method in class com.expedia.tesla.compiler.plugins.CSharpUtils
 
getWriteMethod(Field) - Method in class com.expedia.tesla.compiler.plugins.JavaUtils
 

I

isMapToJavaArray() - Method in class com.expedia.tesla.compiler.plugins.JavaTypeMapper
Determines if Tesla arrays are mapped to Java arrays.
isNotGenerateUserTypes() - Method in class com.expedia.tesla.compiler.Compiler
Check if it is configured to not generate source code for user types.

J

JavaTypeDescriptor - Class in com.expedia.tesla.compiler.plugins
 
JavaTypeDescriptor(Type, String, String, String) - Constructor for class com.expedia.tesla.compiler.plugins.JavaTypeDescriptor
 
JavaTypeMapper - Class in com.expedia.tesla.compiler.plugins
 
JavaTypeMapper() - Constructor for class com.expedia.tesla.compiler.plugins.JavaTypeMapper
 
JavaUtils - Class in com.expedia.tesla.compiler.plugins
 
JavaUtils() - Constructor for class com.expedia.tesla.compiler.plugins.JavaUtils
 

L

loadClass(String, String) - Static method in class com.expedia.tesla.compiler.Util
Load a Java class by it's full name.
loadClass(String, URL[]) - Static method in class com.expedia.tesla.compiler.Util
Load a Java class by it's full name.

M

main(String[]) - Static method in class com.expedia.tesla.compiler.Compiler
 
main(String[]) - Static method in class com.expedia.tesla.compiler.SchemaGenerator
 
merge(List<Schema>) - Static method in class com.expedia.tesla.compiler.MergedClass
 
merge(List<Schema>) - Static method in class com.expedia.tesla.compiler.MergedEnum
Merge all enums versions.
merge(Map<String, Object>, Writer) - Method in class com.expedia.tesla.compiler.TemplateEngine
Run template engine to generate source code.
MergedClass - Class in com.expedia.tesla.compiler
Tesla class may has multiple definitions from different versions.
MergedEnum - Class in com.expedia.tesla.compiler
Tesla enum may has multiple definitions from different versions.
MergedSchema - Class in com.expedia.tesla.compiler
Merge a set of Tesla schemas.
MergedSchema(Collection<Schema>) - Constructor for class com.expedia.tesla.compiler.MergedSchema
Constructor.

P

parseClassPath(String) - Static method in class com.expedia.tesla.compiler.Util
Parse a Java classpath string to URLs.

R

referedUserTypes() - Method in class com.expedia.tesla.compiler.MergedClass
 
referedUserTypes(Type) - Method in class com.expedia.tesla.compiler.MergedClass
 

S

SchemaGenerator - Class in com.expedia.tesla.compiler
Generates Tesla schema (TML) from existing Java source code.
SchemaGenerator() - Constructor for class com.expedia.tesla.compiler.SchemaGenerator
 
SchemaGenerator.SchemaVersionConverter - Class in com.expedia.tesla.compiler
JCommander parameter converter that parses command line string to schema version.
SchemaGenerator.SchemaVersionConverter() - Constructor for class com.expedia.tesla.compiler.SchemaGenerator.SchemaVersionConverter
 
setActualTypeName(String) - Method in class com.expedia.tesla.compiler.plugins.JavaTypeDescriptor
 
setAppSchemaClassName(String) - Method in class com.expedia.tesla.compiler.Compiler
Set the full name the generated serializer class name.
setAppSchemaTemplatePath(String) - Method in class com.expedia.tesla.compiler.Compiler
Set the path of user serializer source code template.
setClasspath(String) - Method in class com.expedia.tesla.compiler.Compiler
Set the classpath where compiler load Java classes for user extensions.
setClassTemplatePath(String) - Method in class com.expedia.tesla.compiler.Compiler
Set the user class source code template.
setCppTypeName(String) - Method in class com.expedia.tesla.compiler.plugins.CppTypeDescriptor
 
setEnumTemplatePath(String) - Method in class com.expedia.tesla.compiler.Compiler
Set the user enum source code template.
setExtension(Map<String, String>) - Method in class com.expedia.tesla.compiler.Compiler
Set user extensions.
setInterfaceName(String) - Method in class com.expedia.tesla.compiler.plugins.JavaTypeDescriptor
 
setLanguage(String) - Method in class com.expedia.tesla.compiler.Compiler
Set the name of programming language we are generation source code
setMapToJavaArray(boolean) - Method in class com.expedia.tesla.compiler.plugins.JavaTypeMapper
Configures the default Tesla array mapping when an array type specified without detailed container type information.
setNameSpace(String) - Method in class com.expedia.tesla.compiler.MergedClass
 
setNotGenerateUserTypes(boolean) - Method in class com.expedia.tesla.compiler.Compiler
Configure compiler to not generate source code for user types.
setOutputDir(String) - Method in class com.expedia.tesla.compiler.Compiler
Set the base output directory of the generated source code.
setSchemaFiles(List<String>) - Method in class com.expedia.tesla.compiler.Compiler
Set input schema file paths.
setSymbol(String) - Method in class com.expedia.tesla.compiler.plugins.CppTypeDescriptor
 
setSymbol(String) - Method in class com.expedia.tesla.compiler.plugins.JavaTypeDescriptor
 
setType(Type) - Method in class com.expedia.tesla.compiler.plugins.CppTypeDescriptor
 
setType(Type) - Method in class com.expedia.tesla.compiler.plugins.JavaTypeDescriptor
 
symbol(Type) - Method in class com.expedia.tesla.compiler.plugins.CppTypeMapper
 
symbol(Type) - Method in class com.expedia.tesla.compiler.plugins.JavaTypeMapper
Create an unique symbol for a Tesla type that can be used in the generated source code.

T

TemplateEngine - Class in com.expedia.tesla.compiler
Velocity template engine wrapper.
TemplateEngine(String, String, String) - Constructor for class com.expedia.tesla.compiler.TemplateEngine
Constructor.
toNameSpace(String) - Static method in class com.expedia.tesla.compiler.Util
Extract name space from a full qualified type name.
toShortName(String) - Static method in class com.expedia.tesla.compiler.Util
Extract short name from a full qualified type name.

U

Util - Class in com.expedia.tesla.compiler
Tesla compiler utility methods.
Util() - Constructor for class com.expedia.tesla.compiler.Util
 
A B C D E F G I J L M P R S T U 

Copyright © 2015. All Rights Reserved.