Class FieldRendererFactory
java.lang.Object
com.sun.tools.xjc.generator.bean.field.FieldRendererFactory
Factory for
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.
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArray()getConst(FieldRenderer fallback) getContentList(JClass coreList) getDummyList(JClass coreList)
-
Constructor Details
-
FieldRendererFactory
public FieldRendererFactory()
-
-
Method Details
-
getDefault
-
getArray
-
getRequiredUnboxed
-
getSingle
-
getSinglePrimitiveAccess
-
getList
-
getContentList
-
getDummyList
-
getConst
-