org.kuali.rice.ken.util
Class CompoundLSResourceResolver

java.lang.Object
  extended by org.kuali.rice.ken.util.CompoundLSResourceResolver
All Implemented Interfaces:
LSResourceResolver

public class CompoundLSResourceResolver
extends Object
implements LSResourceResolver

LSResourceResolver implementation that delegates in sequence to a list of LSResourceResolvers, returning the first match.

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

Constructor Summary
CompoundLSResourceResolver(List<LSResourceResolver> resolvers)
          Constructs a CompoundLSResourceResolver.java.
CompoundLSResourceResolver(LSResourceResolver first, LSResourceResolver second)
          Constructs a CompoundLSResourceResolver.java.
 
Method Summary
 LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundLSResourceResolver

public CompoundLSResourceResolver(LSResourceResolver first,
                                  LSResourceResolver second)
Constructs a CompoundLSResourceResolver.java.

Parameters:
first -
second -

CompoundLSResourceResolver

public CompoundLSResourceResolver(List<LSResourceResolver> resolvers)
Constructs a CompoundLSResourceResolver.java.

Parameters:
resolvers -
Method Detail

resolveResource

public LSInput resolveResource(String type,
                               String namespaceURI,
                               String publicId,
                               String systemId,
                               String baseURI)
Specified by:
resolveResource in interface LSResourceResolver
See Also:
LSResourceResolver.resolveResource(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)


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