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

Expression
onAttribute(AttributeExp exp)
Expression
onData(DataExp exp)
Expression
onElement(ElementExp exp)
Expression
onOther(OtherExp exp)
Expression
onRef(ReferenceExp exp)

Constructor Details

NoneTypeRemover

public NoneTypeRemover(ExpressionPool pool)

Method Details

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)