com.atlassian.confluence.xml
Interface XMLEntityResolver

All Superinterfaces:
EntityResolver, XMLResolver
All Known Implementing Classes:
XhtmlEntityResolver

public interface XMLEntityResolver
extends EntityResolver, XMLResolver

An entity resolver will read the entity definitions from the classpath (not the web) and is suitable for use in both STaX and SAX based parsing of XHTML. This resolver caches the entity definition files for faster access.


Method Summary
 String createDTD()
          Return definitions suitable for use in an XML DTD which will be compatible with the entities resolved by this XMLEntityResolver.
 
Methods inherited from interface org.xml.sax.EntityResolver
resolveEntity
 
Methods inherited from interface javax.xml.stream.XMLResolver
resolveEntity
 

Method Detail

createDTD

String createDTD()
Return definitions suitable for use in an XML DTD which will be compatible with the entities resolved by this XMLEntityResolver.

Returns:
a String suitable for use in a DTD declaring the entities handled by this resolver.


Copyright © 2003-2013 Atlassian. All Rights Reserved.