Package com.adobe.xmp.schema.service
Interface SchemaCache
-
public interface SchemaCache
Interface for a schema description cache.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SchemaDescription
get(java.lang.String namespaceURI)
Retrieves anSchemaDescription
from the cache.void
put(java.lang.String namespaceURI, SchemaDescription schema)
Adds a schema description to the cache.
-
-
-
Method Detail
-
get
SchemaDescription get(java.lang.String namespaceURI)
Retrieves anSchemaDescription
from the cache.- Parameters:
namespaceURI
- the namespace to lookup- Returns:
- Returns the schema description or
null
, if it has not been cached.
-
put
void put(java.lang.String namespaceURI, SchemaDescription schema)
Adds a schema description to the cache.- Parameters:
schema
- anSchemaDescription
-
-