Package org.daisy.dotify.common.xml
Class XMLResolverAdapter
- java.lang.Object
-
- org.daisy.dotify.common.xml.XMLResolverAdapter
-
- All Implemented Interfaces:
XMLResolver
public class XMLResolverAdapter extends Object implements XMLResolver
Provides an XMLResolver that uses a SAX EntityResolver for entity resolution.
-
-
Constructor Summary
Constructors Constructor Description XMLResolverAdapter(EntityResolver entityResolver)
Creates a new xml resolver adapter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
resolveEntity(String publicID, String systemID, String baseURI, String namespace)
-
-
-
Constructor Detail
-
XMLResolverAdapter
public XMLResolverAdapter(EntityResolver entityResolver)
Creates a new xml resolver adapter.- Parameters:
entityResolver
- the entity resolver to use
-
-
Method Detail
-
resolveEntity
public Object resolveEntity(String publicID, String systemID, String baseURI, String namespace) throws XMLStreamException
- Specified by:
resolveEntity
in interfaceXMLResolver
- Throws:
XMLStreamException
-
-