com.sun.msv.generator

Class 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

Constructor Summary
NoneTypeRemover(ExpressionPool pool)
Method Summary
ExpressiononAttribute(AttributeExp exp)
ExpressiononData(DataExp exp)
ExpressiononElement(ElementExp exp)
ExpressiononOther(OtherExp exp)
ExpressiononRef(ReferenceExp exp)

Constructor Detail

NoneTypeRemover

public NoneTypeRemover(ExpressionPool pool)

Method Detail

onAttribute

public Expression onAttribute(AttributeExp exp)

onData

public Expression onData(DataExp exp)

onElement

public Expression onElement(ElementExp exp)

onOther

public Expression onOther(OtherExp exp)

onRef

public Expression onRef(ReferenceExp exp)