edu.internet2.middleware.shibboleth.common.config
Class SpringDocumentLoader

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.config.SpringDocumentLoader
All Implemented Interfaces:
org.springframework.beans.factory.xml.DocumentLoader

public class SpringDocumentLoader
extends Object
implements org.springframework.beans.factory.xml.DocumentLoader

A document loader for Spring that uses a ClasspathResolver for resolving schema information.


Nested Class Summary
 class SpringDocumentLoader.LoggingErrorHandler
          A SAX error handler that logs errors a Logger before rethrowing them.
 
Constructor Summary
SpringDocumentLoader()
           
 
Method Summary
 Document loadDocument(InputSource inputSource, EntityResolver entityResolver, ErrorHandler errorHandler, int validationMode, boolean namespaceAware)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringDocumentLoader

public SpringDocumentLoader()
Method Detail

loadDocument

public Document loadDocument(InputSource inputSource,
                             EntityResolver entityResolver,
                             ErrorHandler errorHandler,
                             int validationMode,
                             boolean namespaceAware)
                      throws Exception

Specified by:
loadDocument in interface org.springframework.beans.factory.xml.DocumentLoader
Throws:
Exception


Copyright © 2006-2011 Internet2. All Rights Reserved.