FieldRenderer.
This class can be overridden by a plugin to change the code generation
behavior of XJC. Note that such changes aren't composable; for a given
schema compilation, only one instance of FieldRendererFactory is
used.
See Options#setFieldRendererFactory(FieldRendererFactory, Plugin)
To be more precise, since FieldRenderer is just a strategy pattern
and by itself is stateless, the "factory methods" don't necessarily need
to create new instances of FieldRenderer --- it can just return
a set of pre-created instances.
| Modifier and Type | Field and Description |
|---|---|
| private static final FieldRenderer | |
| private final FieldRenderer | |
| private static final FieldRenderer | |
| private static final FieldRenderer | |
| private static final FieldRenderer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FieldRenderer | |
| public FieldRenderer | |
| public FieldRenderer | |
| public FieldRenderer | |
| public FieldRenderer | |
| public FieldRenderer | |
| public FieldRenderer | |
| public FieldRenderer | |
| public FieldRenderer |
| ARRAY | back to summary |
|---|---|
| private static final FieldRenderer ARRAY | |
| DEFAULT | back to summary |
|---|---|
| private final FieldRenderer DEFAULT | |
| REQUIRED_UNBOXED | back to summary |
|---|---|
| private static final FieldRenderer REQUIRED_UNBOXED | |
| SINGLE | back to summary |
|---|---|
| private static final FieldRenderer SINGLE | |
| SINGLE_PRIMITIVE_ACCESS | back to summary |
|---|---|
| private static final FieldRenderer SINGLE_PRIMITIVE_ACCESS | |
| FieldRendererFactory | back to summary |
|---|---|
| public FieldRendererFactory() Default constructor. | |
| getArray | back to summary |
|---|---|
| public FieldRenderer getArray() | |
| getConst | back to summary |
|---|---|
| public FieldRenderer getConst(FieldRenderer fallback) | |
| getContentList | back to summary |
|---|---|
| public FieldRenderer getContentList(JClass coreList) | |
| getDefault | back to summary |
|---|---|
| public FieldRenderer getDefault() | |
| getDummyList | back to summary |
|---|---|
| public FieldRenderer getDummyList(JClass coreList) | |
| getList | back to summary |
|---|---|
| public FieldRenderer getList(JClass coreList) | |
| getRequiredUnboxed | back to summary |
|---|---|
| public FieldRenderer getRequiredUnboxed() | |
| getSingle | back to summary |
|---|---|
| public FieldRenderer getSingle() | |
| getSinglePrimitiveAccess | back to summary |
|---|---|
| public FieldRenderer getSinglePrimitiveAccess() | |