The actual implementations of this interface is tightly coupled with the backend, but the front-end gets to choose which strategy to be used.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final ImplStructureStrategy | BEAN_ONLY
Generates beans only. |
| public static final ImplStructureStrategy | INTF_AND_IMPL
Generates the interfaces to describe beans (content interfaces) and then the beans themselves in a hidden impl package. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract void | |
| protected abstract ImplStructureStrategy. | |
| protected abstract MethodWriter | |
| protected abstract JPackage | |
| public static ImplStructureStrategy | |
| public static ImplStructureStrategy[] |
| BEAN_ONLY | back to summary |
|---|---|
| public static final ImplStructureStrategy BEAN_ONLY Generates beans only. The simplest code generation.
| |
| INTF_AND_IMPL | back to summary |
|---|---|
| public static final ImplStructureStrategy INTF_AND_IMPL Generates the interfaces to describe beans (content interfaces) and then the beans themselves in a hidden impl package. Similar to JAXB 1.0.
| |
| ImplStructureStrategy | back to summary |
|---|---|
| private ImplStructureStrategy() | |
| _extends | back to summary |
|---|---|
| protected abstract void _extends(ClassOutlineImpl derived, ClassOutlineImpl base) Sets up an inheritance relationship. | |
| createClasses | back to summary |
|---|---|
| protected abstract ImplStructureStrategy. Creates class(es) for the given bean. | |
| createMethodWriter | back to summary |
|---|---|
| protected abstract MethodWriter createMethodWriter(ClassOutlineImpl target) | |
| getPackage | back to summary |
|---|---|
| protected abstract JPackage getPackage(JPackage pkg, Aspect a) Gets the specified aspect of the given package. | |
| valueOf | back to summary |
|---|---|
| public static ImplStructureStrategy valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ImplStructureStrategy[] values() | |
| Modifier and Type | Field and Description |
|---|---|
| public final JDefinedClass | exposed
Corresponds to |
| public final JDefinedClass | implementation
Corresponds to |
| Access | Constructor and Description |
|---|---|
| public |
| exposed | back to summary |
|---|---|
| public final JDefinedClass exposed Corresponds to | |
| implementation | back to summary |
|---|---|
| public final JDefinedClass implementation Corresponds to | |
| Result | back to summary |
|---|---|
| public Result(JDefinedClass exposed, JDefinedClass implementation) | |