|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JaxbPlatform
Provisional API: This class is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Method Summary | |
|---|---|
JaxbFile |
buildJaxbFile(JaxbProject jaxbProject,
org.eclipse.core.resources.IFile file)
Return a JAXB file corresponding to the specified Eclipse file. |
AnnotationEditFormatter |
getAnnotationEditFormatter()
Return a formatter that can clean up the Java annotations added to source code. |
AnnotationProvider |
getAnnotationProvider()
Return an annotation provider responsible for determining what Java annotations are supported and constructing java resource model objects. |
java.lang.Iterable<DefaultJavaAttributeMappingDefinition> |
getDefaultJavaAttributeMappingDefinitions()
|
JaxbPlatformDescription |
getDescription()
|
JaxbFactory |
getFactory()
Return a factory responsible for creating core (e.g. |
JavaAttributeMappingDefinition |
getSpecifiedJavaAttributeMappingDefinition(JaxbPersistentAttribute attribute)
Return a JavaAttributeMappingDefinition that describes the interpretation of the attribute
as it exists, complete with annotations. |
JavaAttributeMappingDefinition |
getSpecifiedJavaAttributeMappingDefinition(java.lang.String mappingKey)
Return a JavaAttributeMappingDefinition for the given mapping key. |
java.lang.Iterable<JavaAttributeMappingDefinition> |
getSpecifiedJavaAttributeMappingDefinitions()
|
| Method Detail |
|---|
JaxbPlatformDescription getDescription()
JaxbFactory getFactory()
JaxbFile buildJaxbFile(JaxbProject jaxbProject,
org.eclipse.core.resources.IFile file)
AnnotationProvider getAnnotationProvider()
AnnotationEditFormatter getAnnotationEditFormatter()
java.lang.Iterable<JavaAttributeMappingDefinition> getSpecifiedJavaAttributeMappingDefinitions()
java.lang.Iterable<DefaultJavaAttributeMappingDefinition> getDefaultJavaAttributeMappingDefinitions()
JavaAttributeMappingDefinition getSpecifiedJavaAttributeMappingDefinition(JaxbPersistentAttribute attribute)
JavaAttributeMappingDefinition that describes the interpretation of the attribute
as it exists, complete with annotations. It is assumed that the attribute's default mapping
has already been determined.
This may not be null (@see NullSpecifiedJavaAttributeMappingDefinition,) else
an IllegalStateException is thrown.
attribute - The persistent attribute to analyze
JavaAttributeMappingDefinition getSpecifiedJavaAttributeMappingDefinition(java.lang.String mappingKey)
JavaAttributeMappingDefinition for the given mapping key.
Throw an IllegalArgumentException if the key is not supported by the platform.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||