com.sun.msv.generator
Class NoneTypeRemover

java.lang.Object
  extended byExpressionCloner
      extended bycom.sun.msv.generator.NoneTypeRemover

public class NoneTypeRemover
extends ExpressionCloner

removes "none" type of RELAX from AGM. "none" type is harmful for instance generation. This visitor changes "none" type to nullSet.

Author:
Kohsuke KAWAGUCHI
See Also:
Serialized Form

Constructor Summary
NoneTypeRemover(ExpressionPool pool)
           
 
Method Summary
 Expression onAttribute(AttributeExp exp)
           
 Expression onData(DataExp exp)
           
 Expression onElement(ElementExp exp)
           
 Expression onOther(OtherExp exp)
           
 Expression onRef(ReferenceExp exp)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoneTypeRemover

public NoneTypeRemover(ExpressionPool pool)
Method Detail

onElement

public Expression onElement(ElementExp exp)

onAttribute

public Expression onAttribute(AttributeExp exp)

onData

public Expression onData(DataExp exp)

onRef

public Expression onRef(ReferenceExp exp)

onOther

public Expression onOther(OtherExp exp)