com.sun.xml.bind.xmlschema
Class StrictWildcardPlug
java.lang.Object
com.sun.msv.grammar.Expression
com.sun.msv.grammar.OtherExp
com.sun.xml.bind.GrammarImpl.Plug
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 |
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 |
namespaces
protected final com.sun.msv.grammar.NameClass namespaces
- NameClass object that determines what this wildcard should allow.
StrictWildcardPlug
public StrictWildcardPlug(com.sun.msv.grammar.NameClass namespaces)
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)