com.sun.msv.generator
Class SchemaLocationRemover

java.lang.Object
  extended bycom.sun.msv.grammar.ExpressionCloner
      extended bycom.sun.msv.generator.SchemaLocationRemover
All Implemented Interfaces:
com.sun.msv.grammar.ExpressionVisitorExpression

public class SchemaLocationRemover
extends com.sun.msv.grammar.ExpressionCloner

removes "xsi:schemaLocation" from AGM. Because we don't want to see those attributes in generated instances.

Author:
Kohsuke KAWAGUCHI

Constructor Summary
SchemaLocationRemover(com.sun.msv.grammar.ExpressionPool pool)
           
 
Method Summary
 com.sun.msv.grammar.Expression onAttribute(com.sun.msv.grammar.AttributeExp exp)
           
 com.sun.msv.grammar.Expression onElement(com.sun.msv.grammar.ElementExp exp)
           
 com.sun.msv.grammar.Expression onOther(com.sun.msv.grammar.OtherExp exp)
           
 com.sun.msv.grammar.Expression onRef(com.sun.msv.grammar.ReferenceExp exp)
           
 
Methods inherited from class com.sun.msv.grammar.ExpressionCloner
onAnyString, onChoice, onConcur, onData, onEpsilon, onInterleave, onList, onMixed, onNullSet, onOneOrMore, onSequence, onValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaLocationRemover

public SchemaLocationRemover(com.sun.msv.grammar.ExpressionPool pool)
Method Detail

onElement

public com.sun.msv.grammar.Expression onElement(com.sun.msv.grammar.ElementExp exp)

onAttribute

public com.sun.msv.grammar.Expression onAttribute(com.sun.msv.grammar.AttributeExp exp)

onRef

public com.sun.msv.grammar.Expression onRef(com.sun.msv.grammar.ReferenceExp exp)

onOther

public com.sun.msv.grammar.Expression onOther(com.sun.msv.grammar.OtherExp exp)