Class XMLEventSerializer


  • public class XMLEventSerializer
    extends Object
    XMLEventWriter is great, but is limited in that it expects to be serializing whole XML documents. This is not always the case in this filter -- we may be serializing an incomplete snippet of XML. This class will serialize merely the events that are passed, without any assumptions about document validity.