Package com.sun.msv.writer
Interface GrammarWriter
- All Known Implementing Classes:
RELAXNGWriter
public interface GrammarWriter
Converter from AGM to the XML representation.
- Author:
- Kohsuke KAWAGUCHI
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDocumentHandler
(DocumentHandler handler) Sets DocumentHandler.void
Converts this grammar to the XML representation.
-
Method Details
-
setDocumentHandler
Sets DocumentHandler. This handler will receive the result of conversion. -
write
Converts this grammar to the XML representation.- Throws:
UnsupportedOperationException
- if this grammar cannot be serialized. this exception can be thrown on the half way of the conversion.SAXException
- DocumentHandler may throw a SAXException.
-