|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of ToolException in org.jomc.tools |
|---|
| Methods in org.jomc.tools that throw ToolException | ||
|---|---|---|
void |
JavaClasses.commitClasses(org.jomc.model.Implementation implementation,
javax.xml.bind.Marshaller marshaller,
File classesDirectory)
Commits meta-data of a given implementation of the modules of the instance to compiled Java classes. |
|
void |
JavaClasses.commitClasses(javax.xml.bind.Marshaller marshaller,
File classesDirectory)
Commits meta-data of the modules of the instance to compiled Java classes. |
|
void |
JavaClasses.commitClasses(org.jomc.model.Module module,
javax.xml.bind.Marshaller marshaller,
File classesDirectory)
Commits meta-data of a given module of the modules of the instance to compiled Java classes. |
|
void |
JavaClasses.commitClasses(org.jomc.model.Specification specification,
javax.xml.bind.Marshaller marshaller,
File classesDirectory)
Commits meta-data of a given specification of the modules of the instance to compiled Java classes. |
|
|
JavaClasses.decodeModelObject(javax.xml.bind.Unmarshaller unmarshaller,
byte[] bytes,
Class<T> type)
Decodes a model object from a byte array. |
|
byte[] |
JavaClasses.encodeModelObject(javax.xml.bind.Marshaller marshaller,
javax.xml.bind.JAXBElement<? extends org.jomc.model.ModelObject> modelObject)
Encodes a model object to a byte array. |
|
byte[] |
JavaClasses.getClassfileAttribute(org.apache.bcel.classfile.JavaClass clazz,
String attributeName)
Gets an attribute from a java class. |
|
org.apache.bcel.classfile.JavaClass |
JavaClasses.getJavaClass(File classFile)
Parses a class file. |
|
org.apache.bcel.classfile.JavaClass |
JavaClasses.getJavaClass(InputStream stream,
String className)
Parses a class file. |
|
org.apache.bcel.classfile.JavaClass |
JavaClasses.getJavaClass(URL url,
String className)
Parses a class file. |
|
Map<Locale,Properties> |
JavaBundles.getResourceBundleResources(org.jomc.model.Implementation implementation)
Gets the resource bundle properties of a given implementation. |
|
String |
JavaBundles.getResourceBundleSources(org.jomc.model.Implementation implementation)
Gets the source code of the Java class for accessing the resource bundle of a given implementation. |
|
org.apache.velocity.app.VelocityEngine |
JomcTool.getVelocityEngine()
Gets the VelocityEngine used for generating source code. |
|
org.apache.velocity.Template |
JomcTool.getVelocityTemplate(String templateName)
Gets a velocity template for a given name. |
|
void |
JavaSources.manageSources(File sourcesDirectory)
Manages the source code of the modules of the instance. |
|
void |
JavaSources.manageSources(org.jomc.model.Implementation implementation,
File sourcesDirectory)
Manages the source code of a given implementation of the modules of the instance. |
|
void |
JavaSources.manageSources(org.jomc.model.Module module,
File sourcesDirectory)
Manages the source code of a given module of the modules of the instance. |
|
void |
JavaSources.manageSources(org.jomc.model.Specification specification,
File sourcesDirectory)
Manages the source code of a given specification of the modules of the instance. |
|
void |
JavaClasses.setClassfileAttribute(org.apache.bcel.classfile.JavaClass clazz,
String attributeName,
byte[] data)
Adds or updates an attribute in a java class. |
|
void |
JavaClasses.transformClasses(org.jomc.model.Implementation implementation,
javax.xml.bind.Marshaller marshaller,
javax.xml.bind.Unmarshaller unmarshaller,
org.apache.bcel.classfile.JavaClass javaClass,
List<Transformer> transformers)
Transforms committed meta-data of compiled Java classes of a given implementation of the modules of the instance. |
|
void |
JavaClasses.transformClasses(javax.xml.bind.Marshaller marshaller,
javax.xml.bind.Unmarshaller unmarshaller,
File classesDirectory,
List<Transformer> transformers)
Transforms committed meta-data of compiled Java classes of the modules of the instance. |
|
void |
JavaClasses.transformClasses(org.jomc.model.Module module,
javax.xml.bind.Marshaller marshaller,
javax.xml.bind.Unmarshaller unmarshaller,
File classesDirectory,
List<Transformer> transformers)
Transforms committed meta-data of compiled Java classes of a given module of the modules of the instance. |
|
void |
JavaClasses.transformClasses(org.jomc.model.Specification specification,
javax.xml.bind.Marshaller marshaller,
javax.xml.bind.Unmarshaller unmarshaller,
org.apache.bcel.classfile.JavaClass javaClass,
List<Transformer> transformers)
Transforms committed meta-data of compiled Java classes of a given specification of the modules of the instance. |
|
org.jomc.model.ModelValidationReport |
JavaClasses.validateClasses(org.jomc.model.Implementation implementation,
javax.xml.bind.Unmarshaller unmarshaller,
org.apache.bcel.classfile.JavaClass javaClass)
Validates compiled Java classes against a given implementation of the modules of the instance. |
|
org.jomc.model.ModelValidationReport |
JavaClasses.validateClasses(org.jomc.model.Module module,
javax.xml.bind.Unmarshaller unmarshaller,
ClassLoader classLoader)
Validates compiled Java classes against a given module of the modules of the instance. |
|
org.jomc.model.ModelValidationReport |
JavaClasses.validateClasses(org.jomc.model.Module module,
javax.xml.bind.Unmarshaller unmarshaller,
File classesDirectory)
Validates compiled Java classes against a given module of the modules of the instance. |
|
org.jomc.model.ModelValidationReport |
JavaClasses.validateClasses(org.jomc.model.Specification specification,
javax.xml.bind.Unmarshaller unmarshaller,
org.apache.bcel.classfile.JavaClass javaClass)
Validates compiled Java classes against a given specification of the modules of the instance. |
|
org.jomc.model.ModelValidationReport |
JavaClasses.validateClasses(javax.xml.bind.Unmarshaller unmarshaller,
ClassLoader classLoader)
Validates compiled Java classes against the modules of the instance. |
|
org.jomc.model.ModelValidationReport |
JavaClasses.validateClasses(javax.xml.bind.Unmarshaller unmarshaller,
File classesDirectory)
Validates compiled Java classes against the modules of the instance. |
|
void |
JavaBundles.writeBundleResources(File resourcesDirectory)
Writes bundle resources of the modules of the instance to a given directory. |
|
void |
JavaBundles.writeBundleResources(org.jomc.model.Implementation implementation,
File resourcesDirectory)
Writes the bundle resources of a given implementation from the modules of the instance to a directory. |
|
void |
JavaBundles.writeBundleResources(org.jomc.model.Module module,
File resourcesDirectory)
Writes bundle resources of a given module from the modules of the instance to a given directory. |
|
void |
JavaBundles.writeBundleSources(File sourcesDirectory)
Writes bundle sources of the modules of the instance to a given directory. |
|
void |
JavaBundles.writeBundleSources(org.jomc.model.Implementation implementation,
File sourcesDirectory)
Writes bundle sources of a given implementation from the modules of the instance to a given directory. |
|
void |
JavaBundles.writeBundleSources(org.jomc.model.Module module,
File sourcesDirectory)
Writes bundle sources of a given module from the modules of the instance to a given directory. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||