Class PrefixCollectingXMLStreamWriter

  • All Implemented Interfaces:
    XMLStreamWriter

    public class PrefixCollectingXMLStreamWriter
    extends Object
    implements XMLStreamWriter
    Spy on calls to setPrefix, and collect them. This is coded to assume that a prefix is not reused for different URIs at different places in the tree. If that assumption is not valid, Jettison is hopeless.