|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractMap
org.apache.commons.collections.map.AbstractHashedMap
org.apache.commons.collections.map.AbstractLinkedMap
org.apache.commons.collections.map.LRUMap
portal.xml.sax.PortalSAXEntityCache
Caches resolved entities such as XML schema or DTD documents.
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Method Summary | |
void |
addEntity(java.lang.String key,
byte[] content)
Adds the content of a resolved entity. |
java.lang.String |
getCacheKey(java.lang.String publicId,
java.lang.String systemId)
Creates a cache key for a specified public ID and system ID. |
byte[] |
getEntity(java.lang.String key)
Returns the byte content of a resolved entity. |
static PortalSAXEntityCache |
getSharedInstance()
|
| Methods inherited from class org.apache.commons.collections.map.LRUMap |
clone, get, isFull, isScanUntilRemovable, maxSize |
| Methods inherited from class org.apache.commons.collections.map.AbstractLinkedMap |
clear, containsValue, firstKey, lastKey, mapIterator, nextKey, orderedMapIterator, previousKey |
| Methods inherited from class org.apache.commons.collections.map.AbstractHashedMap |
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Method Detail |
public static PortalSAXEntityCache getSharedInstance()
public void addEntity(java.lang.String key,
byte[] content)
key - the key of the entitycontent - the byte content of the entitypublic byte[] getEntity(java.lang.String key)
key - the key of the entity
public java.lang.String getCacheKey(java.lang.String publicId,
java.lang.String systemId)
publicId - the public ID of the parsed XML filesystemId - the system ID of the parsed XML file
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||