/*
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */
package org.xwiki.wikistream.instance.internal.output;

import javax.inject.Named;
import javax.inject.Singleton;

import org.xwiki.component.annotation.Component;
import org.xwiki.wikistream.WikiStreamException;
import org.xwiki.wikistream.internal.output.AbstractBeanOutputWikiStreamFactory;
import org.xwiki.wikistream.output.OutputWikiStream;
import org.xwiki.wikistream.type.WikiStreamType;

/**
 * A generic xml output wikistream implementation. This class can be used as a test bench to validate various
 * XMLInputStream wiki parsers.
 * 
 * @version $Id$
 * @since 5.2M2
 */
@Component
@Named("xwiki+instance")
@Singleton
public class InstanceOutputWikiStreamFactory extends AbstractBeanOutputWikiStreamFactory<InstanceOutputProperties>
{
    public InstanceOutputWikiStreamFactory()
    {
        super(WikiStreamType.XWIKI_XAR);

        setName("XWiki instance input stream");
        setDescription("Setup XWiki instance from wiki events.");
    }
}

@@ -1055,57 +1055,8 @@
 nt;%0A
-import org.xwiki.wikistream.WikiStreamException;%0A
 impo
@@ -1136,61 +1136,8 @@
 ry;%0A
-import org.xwiki.wikistream.output.OutputWikiStream;%0A
 impo
@@ -1623,11 +1623,16 @@
 IKI_
-XAR
+INSTANCE
 );%0A%0A

Introduce input instance component for WikiStream * fix type