public class Pojoization extends Object
Constructor and Description |
---|
Pojoization() |
Pojoization(ModuleProvider provider) |
Pojoization(Reporter reporter) |
Pojoization(Reporter reporter,
ModuleProvider moduleProvider) |
Modifier and Type | Method and Description |
---|---|
void |
directoryPojoization(File directory,
File metadataFile,
File manifestFile)
Deprecated.
|
void |
directoryPojoization(File directory,
File metadataFile,
File manifestFile,
ClassLoader loader)
Manipulates an expanded bundles.
|
void |
disableAnnotationProcessing()
Activates annotation processing.
|
List<String> |
getErrors() |
List<String> |
getWarnings() |
void |
pojoization(File in,
File out,
File metadataFile)
Deprecated.
|
void |
pojoization(File in,
File out,
File metadataFile,
ClassLoader loader)
Manipulates an input bundle.
|
void |
pojoization(File in,
File out,
InputStream metadata)
Deprecated.
|
void |
pojoization(File in,
File out,
InputStream metadata,
ClassLoader loader)
Manipulates an input bundle.
|
void |
pojoization(ResourceStore store,
MetadataProvider metadata,
ManipulationVisitor visitor,
ClassLoader loader) |
void |
setUseLocalXSD()
Activates the entity resolver loading
XSD files from the classloader.
|
public Pojoization()
public Pojoization(ModuleProvider provider)
public Pojoization(Reporter reporter)
public Pojoization(Reporter reporter, ModuleProvider moduleProvider)
public void disableAnnotationProcessing()
public void setUseLocalXSD()
public List<String> getErrors()
public List<String> getWarnings()
public void pojoization(File in, File out, InputStream metadata)
Pojoization
class. It's definitely not recommended.in
- the original bundle.out
- the final bundle.metadata
- the iPOJO metadata input stream.public void pojoization(File in, File out, InputStream metadata, ClassLoader loader)
in
- the original bundle.out
- the final bundle.metadata
- the iPOJO metadata input stream.loader
- the classloader used to compute the bytecode frames.public void pojoization(File in, File out, File metadataFile)
Pojoization
class. It's definitely not recommended.in
- the original bundle.out
- the final bundle.metadataFile
- the iPOJO metadata file (XML).public void pojoization(File in, File out, File metadataFile, ClassLoader loader)
in
- the original bundle.out
- the final bundle.metadataFile
- the iPOJO metadata file (XML).loader
- the classloader used to compute the bytecode frames.public void directoryPojoization(File directory, File metadataFile, File manifestFile)
Pojoization
class. It's definitely not recommended.directory
- the directory containing classesmetadataFile
- the metadata filemanifestFile
- the manifest file. null
to use directory/META-INF/MANIFEST.mfpublic void directoryPojoization(File directory, File metadataFile, File manifestFile, ClassLoader loader)
directory
- the directory containing classesmetadataFile
- the metadata filemanifestFile
- the manifest file. null
to use directory/META-INF/MANIFEST.mfloader
- the classloader used to compute the bytecode frames.public void pojoization(ResourceStore store, MetadataProvider metadata, ManipulationVisitor visitor, ClassLoader loader)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.