org.kuali.rice.ken.util
Class CompoundEntityResolver

java.lang.Object
  extended by org.kuali.rice.ken.util.CompoundEntityResolver
All Implemented Interfaces:
EntityResolver

public class CompoundEntityResolver
extends Object
implements EntityResolver

EntityResolver implementation that delegates in sequence to a list of EntityResolvers, returning the first match.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
CompoundEntityResolver(EntityResolver first, EntityResolver second)
          Constructs a CompoundEntityResolver.java.
CompoundEntityResolver(List<EntityResolver> resolvers)
          Constructs a CompoundEntityResolver.java.
 
Method Summary
 InputSource resolveEntity(String publicId, String systemId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundEntityResolver

public CompoundEntityResolver(EntityResolver first,
                              EntityResolver second)
Constructs a CompoundEntityResolver.java.

Parameters:
first -
second -

CompoundEntityResolver

public CompoundEntityResolver(List<EntityResolver> resolvers)
Constructs a CompoundEntityResolver.java.

Parameters:
resolvers -
Method Detail

resolveEntity

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


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.