Class SchemaCache
java.lang.Object
com.janeirodigital.shapetrees.core.validation.SchemaCache
Optional, static cache for pre-compiled ShEx schemas
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static boolean
containsSchema
(URL schemaUrl) static org.apache.jena.shex.ShexSchema
static void
static void
initializeCache
(Map<URL, org.apache.jena.shex.ShexSchema> existingCache) static boolean
static void
static void
-
Field Details
-
CACHE_IS_NOT_INITIALIZED
- See Also:
-
-
Method Details
-
initializeCache
public static void initializeCache() -
initializeCache
-
isInitialized
public static boolean isInitialized() -
containsSchema
- Throws:
ShapeTreeException
-
getSchema
- Throws:
ShapeTreeException
-
putSchema
public static void putSchema(URL schemaUrl, org.apache.jena.shex.ShexSchema schema) throws ShapeTreeException - Throws:
ShapeTreeException
-
clearCache
- Throws:
ShapeTreeException
-
unInitializeCache
- Throws:
ShapeTreeException
-