com.sun.msv.writer.relaxng
Class NameClassWriter
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameClassWriter
public NameClassWriter(Context ctxt)
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
Copyright © 2013 Oracle Corporation. All Rights Reserved.