Package com.adobe.xmp.schema.rng.model
Class Context
- java.lang.Object
-
- com.adobe.xmp.schema.rng.model.Context
-
public class Context extends java.lang.Object
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 Constructor Description Context()
Constructs a new Context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaInfo
getCurrentSchemaInfo()
Gets current SchemaInfo objectSchemaGenerationHandler
getSchemaGenerationHandler()
void
setCurrentSchemaInfo(SchemaInfo schemaInfo)
Sets current SchemaInfo objectvoid
setSchemaGenerationHandler(SchemaGenerationHandler handler)
Registers ISchemaGenerationTraceHandler for callbacks
-
-
-
Method Detail
-
getCurrentSchemaInfo
public SchemaInfo getCurrentSchemaInfo()
Gets current SchemaInfo object- Returns:
- SchemaInfo
-
setCurrentSchemaInfo
public void setCurrentSchemaInfo(SchemaInfo schemaInfo)
Sets current SchemaInfo object- Parameters:
schemaInfo
- SchemaInfo object to set
-
getSchemaGenerationHandler
public SchemaGenerationHandler getSchemaGenerationHandler()
- Returns:
- ISchemaGenerationTraceHandler registered to handle callbacks
-
setSchemaGenerationHandler
public void setSchemaGenerationHandler(SchemaGenerationHandler handler)
Registers ISchemaGenerationTraceHandler for callbacks- Parameters:
handler
- ISchemaGenerationTraceHandler to set
-
-