com.sun.msv.generator
Class NoneTypeRemover
java.lang.Object
ExpressionCloner
com.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
|
Method Summary |
Expression |
onAttribute(AttributeExp exp)
|
Expression |
onData(DataExp exp)
|
Expression |
onElement(ElementExp exp)
|
Expression |
onOther(OtherExp exp)
|
Expression |
onRef(ReferenceExp exp)
|
NoneTypeRemover
public NoneTypeRemover(ExpressionPool pool)
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)