Class 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 Detail

      • Context

        public Context()
        Constructs a new Context.
    • 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