Package com.sun.msv.writer
Class XMLWriter
java.lang.Object
com.sun.msv.writer.XMLWriter
Helper class that wraps
DocumentHandler
and provides utility methods.
Note that this class uses DocumentHandler, not ContentHandler. This generally allows the caller better control.
This class throws SAXRuntimeException
, instead of SAXException.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(String str) void
void
void
void
setDocumentHandler
(DocumentHandler handler) this DocumentHandler will receive XML.void
void
-
Field Details
-
handler
-
-
Constructor Details
-
XMLWriter
public XMLWriter()
-
-
Method Details
-
setDocumentHandler
this DocumentHandler will receive XML. -
getDocumentHandler
-
element
-
element
-
start
-
start
-
end
-
characters
-