creator.compiler
Class XmlCompilerResolver

java.lang.Object
  |
  +--com.sun.xml.parser.Resolver
        |
        +--creator.compiler.XmlCompilerResolver

public class XmlCompilerResolver
extends com.sun.xml.parser.Resolver

Implement our own resolver to handle XML activities. For the most part, this is used to provide DTDs. Do NOT use the default constructor!


Method Summary
 org.xml.sax.InputSource resolveEntity(java.lang.String name, java.lang.String uri)
          overrides the resolver.
 
Methods inherited from class com.sun.xml.parser.Resolver
getSource, getSource, getSource, isIgnoringMIME, registerCatalogEntry, registerCatalogEntry, setIgnoringMIME
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String name,
                                             java.lang.String uri)
                                      throws org.xml.sax.SAXException,
                                             java.io.IOException
overrides the resolver.
Parameters:
name - not implimented.
uri - Passed to this from the parser. We will trap the uri.
Returns:
an input source to be used by the XML parser.
Overrides:
resolveEntity in class com.sun.xml.parser.Resolver