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 TypeMethodDescriptionvoidcharacters(String str) voidvoidvoidvoidsetDocumentHandler(DocumentHandler handler) this DocumentHandler will receive XML.voidvoid
-
Field Details
-
handler
-
-
Constructor Details
-
XMLWriter
public XMLWriter()
-
-
Method Details
-
setDocumentHandler
this DocumentHandler will receive XML. -
getDocumentHandler
-
element
-
element
-
start
-
start
-
end
-
characters
-