Interface EPPSchemaCacher

    • Method Detail

      • setLockSchemaCache

        void setLockSchemaCache​(boolean aBoolean)
        Lock or unlock the schema cache. If locked then no more schemas can be added.
        Parameters:
        aBoolean - True locks, False unlocks.
      • addSchemaToCache

        void addSchemaToCache​(org.apache.xerces.xni.parser.XMLInputSource aSchema)
                       throws EPPParserException
        Adds a schema to the cache. The schema instance should exist as an XMLInputSource and the EPPSchemaCacher instance should not be locked
        Parameters:
        aSchema - The schema to cache.
        Throws:
        EPPParserException - Thrown if the schema can't be cached.