|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentLayerCache
This interface defines the contract a document layer cache implementation should fulfill.
Method Summary | |
---|---|
DocumentLayer |
getDocumentLayer(String name,
int priority)
Tries to retrieve a document layer with given name and priority from the cache. |
void |
putDocumentLayer(DocumentLayer layer)
Stores the given layer in this cache. |
Method Detail |
---|
DocumentLayer getDocumentLayer(String name, int priority)
name
- the layer namepriority
- the priority.
null
IllegalArgumentException
- if name is null
or there is already a document
layer with the given name in the cache, but the requested priority differs from the existing
one's.void putDocumentLayer(DocumentLayer layer)
layer
- the layer to store
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |