Package jmri.util
Class JmriLocalEntityResolver
- java.lang.Object
-
- jmri.util.JmriLocalEntityResolver
-
- All Implemented Interfaces:
org.xml.sax.EntityResolver
public class JmriLocalEntityResolver extends java.lang.Object implements org.xml.sax.EntityResolver
Entity Resolver to locate JMRI DTDs in the local space.For historical reasons, JMRI xml files might have DTD definitions of three forms:
- SYSTEM "../DTD/decoder-config.dtd"
- SYSTEM "layout-config.dtd"
- SYSTEM "http://jmri.sourceforce.net/xml/DTD/layout-config.dtd"
-
-
Constructor Summary
Constructors Constructor Description JmriLocalEntityResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xml.sax.InputSource
resolveEntity(java.lang.String publicId, java.lang.String systemId)
-
-
-
Constructor Detail
-
JmriLocalEntityResolver
public JmriLocalEntityResolver()
-
-
Method Detail
-
resolveEntity
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
- Specified by:
resolveEntity
in interfaceorg.xml.sax.EntityResolver
-
-