Package com.dd.plist
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveEntity(String publicId, String systemId) Allow the application to resolve external entities.
-
Field Details
-
PLIST_PUBLIC_ID_1
- See Also:
-
PLIST_PUBLIC_ID_2
- See Also:
-
-
Constructor Details
-
PlistDtdResolver
PlistDtdResolver()
-
-
Method Details
-
resolveEntity
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:
resolveEntityin interfaceEntityResolver- 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.
-