org.xquark.bridge
Class MappingMetadata

java.lang.Object
  extended byorg.xquark.bridge.MappingMetadata

public class MappingMetadata
extends java.lang.Object

This class is a singleton managing a cache in memory for XML schemas and mappings.


Method Summary
static void loadSchema(org.xml.sax.InputSource source)
          Loads an XML schema in memory before the mapping file loading triggers it with its schemaLocation attribute (or if there is no such attribute).
static void reset()
          Empties the cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadSchema

public static void loadSchema(org.xml.sax.InputSource source)
                       throws org.xml.sax.SAXException
Loads an XML schema in memory before the mapping file loading triggers it with its schemaLocation attribute (or if there is no such attribute).

Throws:
org.xml.sax.SAXException
See Also:
org.xquark.xml.schema.SchemaManager

reset

public static void reset()
Empties the cache. All Mapping objects that were not closed will continue working with the old metadata.



Copyright © 2004 Université de Versailles Saint-Quentin, XQuark Group. All rights reserved.