Package com.adobe.xmp.schema.service
Interface SchemaCache
-
public interface SchemaCacheInterface for a schema description cache.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SchemaDescriptionget(java.lang.String namespaceURI)Retrieves anSchemaDescriptionfrom the cache.voidput(java.lang.String namespaceURI, SchemaDescription schema)Adds a schema description to the cache.
-
-
-
Method Detail
-
get
SchemaDescription get(java.lang.String namespaceURI)
Retrieves anSchemaDescriptionfrom 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
-
-