com.sun.tools.xjc.util
Class ForkEntityResolver

java.lang.Object
  extended by com.sun.tools.xjc.util.ForkEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver

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

EntityResolver that delegates to two EntityResolvers.


Constructor Summary
ForkEntityResolver(org.xml.sax.EntityResolver lhs, org.xml.sax.EntityResolver rhs)
           
 
Method Summary
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForkEntityResolver

public ForkEntityResolver(org.xml.sax.EntityResolver lhs,
                          org.xml.sax.EntityResolver rhs)
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
Throws:
org.xml.sax.SAXException
java.io.IOException