Class XMLPropertyListParser.PlistDtdResolver

java.lang.Object
com.dd.plist.XMLPropertyListParser.PlistDtdResolver
All Implemented Interfaces:
EntityResolver
Enclosing class:
XMLPropertyListParser

private static class XMLPropertyListParser.PlistDtdResolver extends Object implements EntityResolver
Offline resolver for Apple's PLIST DTDs.
  • Field Details

  • Constructor Details

    • PlistDtdResolver

      PlistDtdResolver()
  • Method Details

    • resolveEntity

      public InputSource resolveEntity(String publicId, String systemId)
      Allow the application to resolve external entities. This specific implementation returns an empty definition for Apple's PLIST DTDs so that parsing can happen offline.
      Specified by:
      resolveEntity in interface EntityResolver
      Parameters:
      publicId - The public identifier of the external entity being referenced, or null if none was supplied.
      systemId - The system identifier of the external entity being referenced.
      Returns:
      An empty input source for the PLIST DTDs. For all other DTDs null is returned.