com.sun.tools.xjc.reader.internalizer
Class Internalizer

java.lang.Object
  extended by com.sun.tools.xjc.reader.internalizer.Internalizer

 class Internalizer
extends Object

Internalizes external binding declarations.

The transform(DOMForest,boolean) method is the entry point.


Method Summary
(package private) static SCDBasedBindingSet transform(DOMForest forest, boolean enableSCD)
          Internalize all <jaxb:bindings> customizations in the given forest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

transform

static SCDBasedBindingSet transform(DOMForest forest,
                                    boolean enableSCD)
Internalize all <jaxb:bindings> customizations in the given forest.

Returns:
if the SCD support is enabled, the return bindings need to be applied after schema components are parsed. If disabled, the returned binding set will be empty. SCDs are only for XML Schema, and doesn't make any sense for other schema languages.