com.sun.xml.bind.xmlschema
Class StrictWildcardPlug

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
              extended by com.sun.xml.bind.xmlschema.StrictWildcardPlug
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LaxWildcardPlug

public class StrictWildcardPlug
extends GrammarImpl.Plug

Plug that implements the semantics of strict wildcard of XML Schema.

Since:
JAXB1.0
See Also:
Serialized Form

Field Summary
protected  com.sun.msv.grammar.NameClass namespaces
          NameClass object that determines what this wildcard should allow.
 
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
StrictWildcardPlug(com.sun.msv.grammar.NameClass namespaces)
           
 
Method Summary
 void connect(com.sun.msv.grammar.ExpressionPool pool, com.sun.msv.grammar.Grammar[] others)
          Look for elements that belong to the wildcard and pick them up.
protected  void onElementFound(com.sun.msv.grammar.ElementExp elem)
           
 
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
 

Field Detail

namespaces

protected final com.sun.msv.grammar.NameClass namespaces
NameClass object that determines what this wildcard should allow.

Constructor Detail

StrictWildcardPlug

public StrictWildcardPlug(com.sun.msv.grammar.NameClass namespaces)
Method Detail

connect

public void connect(com.sun.msv.grammar.ExpressionPool pool,
                    com.sun.msv.grammar.Grammar[] others)
Look for elements that belong to the wildcard and pick them up.

Specified by:
connect in class GrammarImpl.Plug
Parameters:
pool - this object can be used by callee to create new expression objects if necessary

onElementFound

protected void onElementFound(com.sun.msv.grammar.ElementExp elem)