Class PersistenceEntityResolver
- java.lang.Object
-
- org.eclipse.persistence.internal.sessions.factories.PersistenceEntityResolver
-
- All Implemented Interfaces:
org.xml.sax.EntityResolver
public class PersistenceEntityResolver extends java.lang.Object implements org.xml.sax.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 java.lang.String
doctTypeId40
protected static java.lang.String
doctTypeId45
protected static java.lang.String
doctTypeId904
protected static java.lang.String
dtdFileName40
protected static java.lang.String
dtdFileName45
protected static java.lang.String
dtdFileName904
protected java.util.Hashtable
m_localResources
-
Constructor Summary
Constructors Constructor Description PersistenceEntityResolver()
INTERNAL:
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLocalResource(java.lang.String publicId, java.lang.String localFileName)
INTERNAL:protected java.lang.String
getDtdFileName(java.lang.String docTypeId)
INTERNAL:java.util.Hashtable
getLocalResources()
INTERNAL:protected void
populateLocalResources()
INTERNAL:org.xml.sax.InputSource
resolveEntity(java.lang.String publicId, java.lang.String systemId)
INTERNAL:void
setLocalResources(java.util.Hashtable ht)
INTERNAL:
-
-
-
Field Detail
-
m_localResources
protected java.util.Hashtable m_localResources
-
dtdFileName40
protected static final java.lang.String dtdFileName40
- See Also:
- Constant Field Values
-
doctTypeId40
protected static final java.lang.String doctTypeId40
- See Also:
- Constant Field Values
-
dtdFileName45
protected static final java.lang.String dtdFileName45
- See Also:
- Constant Field Values
-
doctTypeId45
protected static final java.lang.String doctTypeId45
- See Also:
- Constant Field Values
-
dtdFileName904
protected static final java.lang.String dtdFileName904
- See Also:
- Constant Field Values
-
doctTypeId904
protected static final java.lang.String doctTypeId904
- See Also:
- Constant Field Values
-
-
Method Detail
-
populateLocalResources
protected void populateLocalResources()
INTERNAL:
-
getDtdFileName
protected java.lang.String getDtdFileName(java.lang.String docTypeId)
INTERNAL:
-
getLocalResources
public java.util.Hashtable getLocalResources()
INTERNAL:
-
setLocalResources
public void setLocalResources(java.util.Hashtable ht)
INTERNAL:
-
addLocalResource
public void addLocalResource(java.lang.String publicId, java.lang.String localFileName)
INTERNAL:
-
resolveEntity
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
INTERNAL:- Specified by:
resolveEntity
in interfaceorg.xml.sax.EntityResolver
-
-