Class AspectranDtdResolver

  • All Implemented Interfaces:
    org.xml.sax.EntityResolver

    public class AspectranDtdResolver
    extends java.lang.Object
    implements org.xml.sax.EntityResolver
    Offline entity resolver for the Aspectran DTDs.

    Created: 2008. 06. 14 AM 4:48:34

    • 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)
      Converts a public DTD into a local one.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AspectranDtdResolver

        public AspectranDtdResolver()
      • AspectranDtdResolver

        public AspectranDtdResolver​(boolean validating)
    • Method Detail

      • resolveEntity

        public org.xml.sax.InputSource resolveEntity​(java.lang.String publicId,
                                                     java.lang.String systemId)
                                              throws org.xml.sax.SAXException
        Converts a public DTD into a local one.
        Specified by:
        resolveEntity in interface org.xml.sax.EntityResolver
        Parameters:
        publicId - unused but required by EntityResolver interface
        systemId - the DTD that is being requested
        Returns:
        the InputSource for the DTD
        Throws:
        org.xml.sax.SAXException - if anything goes wrong