Class FieldRendererFactory

java.lang.Object
com.sun.tools.xjc.generator.bean.field.FieldRendererFactory

public class FieldRendererFactory extends Object
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.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.

Author:
Kohsuke Kawaguchi