com.sun.xml.bind
Class GrammarImpl.Plug
java.lang.Object
com.sun.msv.grammar.Expression
com.sun.msv.grammar.OtherExp
com.sun.xml.bind.GrammarImpl.Plug
- All Implemented Interfaces:
- java.io.Serializable
- 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
| Fields inherited from class com.sun.msv.grammar.OtherExp |
exp |
| Fields inherited from class com.sun.msv.grammar.Expression |
anyString, epsilon, nullSet, verifierTag |
|
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 |
equals, printName, visit, visit, visit, visit |
| Methods inherited from class com.sun.msv.grammar.Expression |
getExpandedExp, hashCode, isEpsilonReducible, peelOccurence, visit, visit, visit, visit |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
GrammarImpl.Plug
public GrammarImpl.Plug()
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