Module org.eclipse.persistence.core
Class PersistenceEntityResolver
- java.lang.Object
-
- org.eclipse.persistence.internal.sessions.factories.PersistenceEntityResolver
-
- All Implemented Interfaces:
EntityResolver
public class PersistenceEntityResolver extends Object implements EntityResolver
INTERNAL:Purpose: Provide a mechanism for retrieving the DTD file from the classpath
- Since:
- TopLink 10.1.3
- Author:
- Gordon Yorke, Guy Pelletier
- See Also:
EntityResolver
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringdoctTypeId40protected static StringdoctTypeId45protected static StringdoctTypeId904protected static StringdtdFileName40protected static StringdtdFileName45protected static StringdtdFileName904protected Hashtable<String,String>m_localResources
-
Constructor Summary
Constructors Constructor Description PersistenceEntityResolver()INTERNAL:
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLocalResource(String publicId, String localFileName)INTERNAL:protected StringgetDtdFileName(String docTypeId)INTERNAL:Hashtable<String,String>getLocalResources()INTERNAL:protected voidpopulateLocalResources()INTERNAL:InputSourceresolveEntity(String publicId, String systemId)INTERNAL:voidsetLocalResources(Hashtable<String,String> ht)INTERNAL:
-
-
-
Field Detail
-
dtdFileName40
protected static final String dtdFileName40
- See Also:
- Constant Field Values
-
doctTypeId40
protected static final String doctTypeId40
- See Also:
- Constant Field Values
-
dtdFileName45
protected static final String dtdFileName45
- See Also:
- Constant Field Values
-
doctTypeId45
protected static final String doctTypeId45
- See Also:
- Constant Field Values
-
dtdFileName904
protected static final String dtdFileName904
- See Also:
- Constant Field Values
-
doctTypeId904
protected static final String doctTypeId904
- See Also:
- Constant Field Values
-
-
Method Detail
-
populateLocalResources
protected void populateLocalResources()
INTERNAL:
-
resolveEntity
public InputSource resolveEntity(String publicId, String systemId)
INTERNAL:- Specified by:
resolveEntityin interfaceEntityResolver
-
-