uk.org.ogsadai.common
Class SchemaMap

java.lang.Object
  |
  +--uk.org.ogsadai.common.SchemaMap
All Implemented Interfaces:
org.xml.sax.EntityResolver

public class SchemaMap
extends java.lang.Object
implements org.xml.sax.EntityResolver

Author:
The OGSA-DAI Project Team

Constructor Summary
SchemaMap()
           
SchemaMap(org.xml.sax.EntityResolver resolver)
           
 
Method Summary
 void put(java.lang.String namespace, java.lang.String schema)
           
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
           
 org.w3c.dom.Document validate(org.w3c.dom.Document doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaMap

public SchemaMap(org.xml.sax.EntityResolver resolver)

SchemaMap

public SchemaMap()
Method Detail

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
                                      throws org.xml.sax.SAXException,
                                             java.io.IOException
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver
org.xml.sax.SAXException
java.io.IOException
See Also:
EntityResolver.resolveEntity(String, String)

validate

public org.w3c.dom.Document validate(org.w3c.dom.Document doc)
                              throws CommonSystemException
CommonSystemException

put

public void put(java.lang.String namespace,
                java.lang.String schema)