com.sun.xml.bind.xmlschema
Class StrictWildcardPlug

java.lang.Object
  extended by 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

Field Summary
protected  NameClass namespaces
          NameClass object that determines what this wildcard should allow.
 
Constructor Summary
StrictWildcardPlug(NameClass namespaces)
           
 
Method Summary
 void connect(ExpressionPool pool, Grammar[] others)
          Look for elements that belong to the wildcard and pick them up.
protected  void onElementFound(ElementExp elem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

namespaces

protected final NameClass namespaces
NameClass object that determines what this wildcard should allow.

Constructor Detail

StrictWildcardPlug

public StrictWildcardPlug(NameClass namespaces)
Method Detail

connect

public void connect(ExpressionPool pool,
                    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(ElementExp elem)