org.xwiki.rendering.internal.parser.wikimodel.xhtml
Class XWikiXMLReaderFactory

java.lang.Object
  extended by org.xwiki.rendering.internal.parser.wikimodel.xhtml.XWikiXMLReaderFactory
All Implemented Interfaces:
org.xwiki.xml.XMLReaderFactory

@Component(value="xwiki")
public class XWikiXMLReaderFactory
extends java.lang.Object
implements org.xwiki.xml.XMLReaderFactory

Creates XML Readers that have the following characteristics:

Since:
2.1RC1
Version:
$Id$

Field Summary
protected  org.xwiki.xml.EntityResolver entityResolver
          In order to speed up DTD loading/validation we use an entity resolver that can resolve DTDs locally.
 
Constructor Summary
XWikiXMLReaderFactory()
           
 
Method Summary
 org.xml.sax.XMLReader createXMLReader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityResolver

@Requirement
protected org.xwiki.xml.EntityResolver entityResolver
In order to speed up DTD loading/validation we use an entity resolver that can resolve DTDs locally.

Constructor Detail

XWikiXMLReaderFactory

public XWikiXMLReaderFactory()
Method Detail

createXMLReader

public org.xml.sax.XMLReader createXMLReader()
                                      throws org.xml.sax.SAXException,
                                             javax.xml.parsers.ParserConfigurationException
Specified by:
createXMLReader in interface org.xwiki.xml.XMLReaderFactory
Throws:
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException


Copyright © 2004-2011 XWiki. All Rights Reserved.