com.sun.xml.bind
Class GrammarImpl.Plug

java.lang.Object
  extended by com.sun.msv.grammar.Expression
      extended by com.sun.msv.grammar.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 com.sun.msv.grammar.OtherExp
implements java.io.Serializable

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.msv.grammar.OtherExp
exp
 
Fields inherited from class com.sun.msv.grammar.Expression
anyString, epsilon, nullSet, verifierTag
 
Constructor Summary
GrammarImpl.Plug()
           
 
Method Summary
abstract  void connect(com.sun.msv.grammar.ExpressionPool pool, com.sun.msv.grammar.Grammar[] others)
          Called to connect a grammar to other grammars after each package-level GrammarInfo is loaded.
 
Methods inherited from class com.sun.msv.grammar.OtherExp
calcEpsilonReducibility, calcHashCode, equals, printName, visit, visit, visit, visit
 
Methods inherited from class com.sun.msv.grammar.Expression
getExpandedExp, hashCode, hashCode, hashCode, isEpsilonReducible, peelOccurence, readResolve, visit, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrammarImpl.Plug

public GrammarImpl.Plug()
Method Detail

connect

public abstract void connect(com.sun.msv.grammar.ExpressionPool pool,
                             com.sun.msv.grammar.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