com.japisoft.xmlpad.helper.model
Class SchemaCache

java.lang.Object
  extended bycom.japisoft.xmlpad.helper.model.SchemaCache

public class SchemaCache
extends java.lang.Object

This is a cache for a schema URI. It avoids duplicate memory references for a same schema.

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Constructor Summary
SchemaCache()
           
 
Method Summary
static void addNewReference(AbstractHelperHandler[] handlers, java.lang.String locationKey)
           
static void removeReference(java.lang.Object source, AbstractHelperHandler[] handlers)
           
static AbstractHelperHandler[] restoreHelperHandlers(java.lang.Object source, java.lang.String locationKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaCache

public SchemaCache()
Method Detail

restoreHelperHandlers

public static AbstractHelperHandler[] restoreHelperHandlers(java.lang.Object source,
                                                            java.lang.String locationKey)

addNewReference

public static void addNewReference(AbstractHelperHandler[] handlers,
                                   java.lang.String locationKey)

removeReference

public static void removeReference(java.lang.Object source,
                                   AbstractHelperHandler[] handlers)


Copyright © 2006 JAPISoft. All Rights Reserved.