com.japisoft.xmlpad.helper
Class SchemaCache

java.lang.Object
  extended bycom.japisoft.xmlpad.helper.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(TagHelper helper, EntityHelper entityHelper, java.lang.String locationKey)
           
static void removeReference(java.lang.Object source, TagHelper helper)
           
static EntityHelper restoreEntityHelper(java.lang.String locationKey)
           
static TagHelper restoreTagHelper(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

restoreTagHelper

public static TagHelper restoreTagHelper(java.lang.Object source,
                                         java.lang.String locationKey)

restoreEntityHelper

public static EntityHelper restoreEntityHelper(java.lang.String locationKey)

addNewReference

public static void addNewReference(TagHelper helper,
                                   EntityHelper entityHelper,
                                   java.lang.String locationKey)

removeReference

public static void removeReference(java.lang.Object source,
                                   TagHelper helper)


Copyright © 2006 JAPISoft. All Rights Reserved.