public class FieldRendererFactory extends Object
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.fieldRendererFactory
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.
Constructor and Description |
---|
FieldRendererFactory() |
Modifier and Type | Method and Description |
---|---|
FieldRenderer |
getArray() |
FieldRenderer |
getConst(FieldRenderer fallback) |
FieldRenderer |
getContentList(JClass coreList) |
FieldRenderer |
getDefault() |
FieldRenderer |
getDummyList(JClass coreList) |
FieldRenderer |
getList(JClass coreList) |
FieldRenderer |
getRequiredUnboxed() |
FieldRenderer |
getSingle() |
FieldRenderer |
getSinglePrimitiveAccess() |
public FieldRenderer getDefault()
public FieldRenderer getArray()
public FieldRenderer getRequiredUnboxed()
public FieldRenderer getSingle()
public FieldRenderer getSinglePrimitiveAccess()
public FieldRenderer getList(JClass coreList)
public FieldRenderer getContentList(JClass coreList)
public FieldRenderer getDummyList(JClass coreList)
public FieldRenderer getConst(FieldRenderer fallback)
Copyright © 2017 JBoss by Red Hat. All rights reserved.