Class DocumentProvider

All Implemented Interfaces:
MessageBodyReader<Document>, MessageBodyWriter<Document>

@Produces({"application/xml","text/xml","*/*"}) @Consumes({"application/xml","text/xml","*/*"}) @Singleton public final class DocumentProvider extends AbstractMessageReaderWriterProvider<Document>
Provider for marshalling/un-marshalling XML document instances.
Author:
Paul Sandoz, Marek Potociar