Package com.dd.plist
Class XMLPropertyListParser.PlistDtdResolver
- java.lang.Object
-
- com.dd.plist.XMLPropertyListParser.PlistDtdResolver
-
- All Implemented Interfaces:
org.xml.sax.EntityResolver
- Enclosing class:
- XMLPropertyListParser
private static class XMLPropertyListParser.PlistDtdResolver extends java.lang.Object implements org.xml.sax.EntityResolverOffline resolver for Apple's PLIST DTDs.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringPLIST_PUBLIC_ID_1private static java.lang.StringPLIST_PUBLIC_ID_2
-
Constructor Summary
Constructors Constructor Description PlistDtdResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xml.sax.InputSourceresolveEntity(java.lang.String publicId, java.lang.String systemId)Allow the application to resolve external entities.
-
-
-
Field Detail
-
PLIST_PUBLIC_ID_1
private static final java.lang.String PLIST_PUBLIC_ID_1
- See Also:
- Constant Field Values
-
PLIST_PUBLIC_ID_2
private static final java.lang.String PLIST_PUBLIC_ID_2
- See Also:
- Constant Field Values
-
-
Method Detail
-
resolveEntity
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.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:
resolveEntityin interfaceorg.xml.sax.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.
-
-