com.sun.xml.bind
Class GrammarImpl.Plug

java.lang.Object
  extended by OtherExp
      extended by com.sun.xml.bind.GrammarImpl.Plug
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
StrictWildcardPlug
Enclosing class:
GrammarImpl

public abstract static class GrammarImpl.Plug
extends OtherExp
implements java.io.Serializable

Inter-grammar connection that needs be bound. The connection mechanism will be implemented in derived classes.


Constructor Summary
GrammarImpl.Plug()
           
 
Method Summary
abstract  void connect(ExpressionPool pool, Grammar[] others)
          Called to connect a grammar to other grammars after each package-level GrammarInfo is loaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrammarImpl.Plug

public GrammarImpl.Plug()
Method Detail

connect

public abstract void connect(ExpressionPool pool,
                             Grammar[] others)
Called to connect a grammar to other grammars after each package-level GrammarInfo is loaded. The callee should fill in the exp field of the current object. The connect method can be called multiple times.

Parameters:
pool - this object can be used by callee to create new expression objects if necessary