org.xwiki.rendering.internal.renderer.docbook.XWikiDocBookSink Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xwiki-rendering-syntax-docbook Show documentation
Show all versions of xwiki-rendering-syntax-docbook Show documentation
XWiki Rendering - Syntax - DocBook
/*
* 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.rendering.internal.renderer.docbook;
import org.apache.maven.doxia.module.docbook.DocBookSink;
import org.xwiki.rendering.internal.renderer.doxia.DoxiaPrinterAdapter;
import org.xwiki.rendering.renderer.printer.WikiPrinter;
/**
* For some unknown reason {@link DocBookSink} has protected constructors and thus needs to be subclassed.
*
* @version $Id: 9b274dd558c7d79a3afd0017ecb03bcee80df98e $
* @since 3.2RC1
*/
public class XWikiDocBookSink extends DocBookSink
{
/**
* @param printer the wiki printer to which to print to
*/
public XWikiDocBookSink(WikiPrinter printer)
{
super(new DoxiaPrinterAdapter(printer));
}
}