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

  • Method Summary

    Modifier and Type
    Method
    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 Details

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