FeedBindingFactory factory = new DefaultFeedBindingFactory();
// Add the AtomBindingProcessor and RSSBindingProcessor extensions
StAXArtifactProcessorExtensionPoint processors =
registry.getExtensionPoint(StAXArtifactProcessorExtensionPoint.class);
AtomBindingProcessor atomBindingProcessor = new AtomBindingProcessor(factory);
processors.addArtifactProcessor(atomBindingProcessor);
RssBindingProcessor rssBindingProcessor = new RssBindingProcessor(factory);
processors.addArtifactProcessor(rssBindingProcessor);
// Add the Feed binding provider factory extension