Package com.adobe.xmp.schema.rng.model
Class Context
java.lang.Object
com.adobe.xmp.schema.rng.model.Context
The input schema definition file can define multiple XMP schemas. Each of those schemas defines multiple properties.
The context stores an information holder for current property and current schema.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets current SchemaInfo objectvoidsetCurrentSchemaInfo(SchemaInfo schemaInfo) Sets current SchemaInfo objectvoidRegisters ISchemaGenerationTraceHandler for callbacks
-
Constructor Details
-
Context
public Context()Constructs a new Context.
-
-
Method Details
-
getCurrentSchemaInfo
Gets current SchemaInfo object- Returns:
- SchemaInfo
-
setCurrentSchemaInfo
Sets current SchemaInfo object- Parameters:
schemaInfo- SchemaInfo object to set
-
getSchemaGenerationHandler
- Returns:
- ISchemaGenerationTraceHandler registered to handle callbacks
-
setSchemaGenerationHandler
Registers ISchemaGenerationTraceHandler for callbacks- Parameters:
handler- ISchemaGenerationTraceHandler to set
-