com.sun.msv.writer.relaxng
Class NameClassWriter

java.lang.Object
  extended by com.sun.msv.writer.relaxng.NameClassWriter
All Implemented Interfaces:
NameClassVisitor

public class NameClassWriter
extends Object
implements NameClassVisitor

Visits NameClass and writes its XML representation. this class can only handle canonicalized name class.


Constructor Summary
NameClassWriter(Context ctxt)
           
 
Method Summary
 Object onAnyName(AnyNameClass nc)
           
 Object onChoice(ChoiceNameClass nc)
           
 Object onDifference(DifferenceNameClass nc)
           
 Object onNot(NotNameClass nc)
           
 Object onNsName(NamespaceNameClass nc)
           
 Object onSimple(SimpleNameClass nc)
           
protected  void startWithNs(String name, String ns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameClassWriter

public NameClassWriter(Context ctxt)
Method Detail

onAnyName

public Object onAnyName(AnyNameClass nc)
Specified by:
onAnyName in interface NameClassVisitor

startWithNs

protected void startWithNs(String name,
                           String ns)

onSimple

public Object onSimple(SimpleNameClass nc)
Specified by:
onSimple in interface NameClassVisitor

onNsName

public Object onNsName(NamespaceNameClass nc)
Specified by:
onNsName in interface NameClassVisitor

onNot

public Object onNot(NotNameClass nc)
Specified by:
onNot in interface NameClassVisitor

onChoice

public Object onChoice(ChoiceNameClass nc)
Specified by:
onChoice in interface NameClassVisitor

onDifference

public Object onDifference(DifferenceNameClass nc)
Specified by:
onDifference in interface NameClassVisitor


MSV