These classes will be freeze-dried to "bgm.ser", so they must be serializable.
This class also implements a trick to allow a large grammar to be serialized without causing a stack overflow error. This is done by modifying the {@link ElementExp#contentModel} fieldto {@link Expression#nullSet} in the serialized form.The correct references will be restored after the grammar is deserialized. @since 1.0 @author Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
|
|