Package 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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
createDTD()
Deprecated.since 5.8.-
Methods inherited from interface org.xml.sax.EntityResolver
resolveEntity
-
Methods inherited from interface javax.xml.stream.XMLResolver
resolveEntity
-
-
-
-
Method Detail
-
createDTD
@Deprecated String createDTD()
Deprecated.since 5.8. Use the the following DTD declaration instead: <!DOCTYPE content-root SYSTEM "xhtml.ent">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.
-
-