org.xwiki.rendering.xdomxmlcurrent.internal.parser.XDOMXMLParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xwiki-rendering-syntax-xdomxmlcurrent Show documentation
Show all versions of xwiki-rendering-syntax-xdomxmlcurrent Show documentation
XML/Reflexion based representation synchronized on current events
/*
* 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.xdomxmlcurrent.internal.parser;
import javax.inject.Named;
import javax.inject.Singleton;
import org.xwiki.component.annotation.Component;
import org.xwiki.rendering.syntax.Syntax;
import org.xwiki.rendering.xml.internal.parser.AbstractParser;
import static org.xwiki.rendering.xdomxmlcurrent.internal.XDOMXMLCurrentSyntaxProvider.XDOMXML_CURRENT;
/**
* XDOM+XML stream based parser.
*
* @version $Id: 02eb617eb445b04288352eb288e166610af9dbff $
* @since 3.3M1
*/
@Component
@Named("xdom+xml/current")
@Singleton
public class XDOMXMLParser extends AbstractParser
{
@Override
public Syntax getSyntax()
{
return XDOMXML_CURRENT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy