com.verisign.epp.util

## Interface EPPSchemaCacher

- All Known Implementing Classes:
    EPPSchemaCachingParser, EPPStrictContactParser, EPPXMLSignatureSchemaCachingParser

      public interface EPPSchemaCacher

  Iterface for classes that support caching schemas.

  Title: EPP SDK

  Description: EPP SDK for 1.0 Spec

  Copyright: Copyright (c) 2003

  Company: VeriSign

  Version:
    1.0
  Author:
    clloyd

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addSchemaToCache(org.apache.xerces.xni.parser.XMLInputSource aSchema)` Adds a schema to the cache.
    `void` | `setLockSchemaCache(boolean aBoolean)` Lock or unlock the schema cache.

- - ### 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.

Copyright © VeriSign Inc. All Rights Reserved.