com.sun.msv.generator
Class SchemaLocationRemover

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

public class SchemaLocationRemover
extends ExpressionCloner

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

Author:
Kohsuke KAWAGUCHI

Field Summary
 
Fields inherited from class com.sun.msv.grammar.ExpressionCloner
pool
 
Constructor Summary
SchemaLocationRemover(ExpressionPool pool)
           
 
Method Summary
 Expression onAttribute(AttributeExp exp)
           
 Expression onElement(ElementExp exp)
           
 Expression onOther(OtherExp exp)
           
 Expression onRef(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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaLocationRemover

public SchemaLocationRemover(ExpressionPool pool)
Method Detail

onElement

public Expression onElement(ElementExp exp)

onAttribute

public Expression onAttribute(AttributeExp exp)

onRef

public Expression onRef(ReferenceExp exp)

onOther

public Expression onOther(OtherExp exp)


MSV