org.springframework.webflow.engine.builder.xml
Class WebFlowEntityResolver

java.lang.Object
  extended by org.springframework.webflow.engine.builder.xml.WebFlowEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver

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

EntityResolver implementation for the Spring Web Flow 1.0 XML Schema. This will load the XSD from the classpath.

The xmlns of the XSD expected to be resolved:

     <?xml version="1.0" encoding="UTF-8"?>
     <flow xmlns="http://www.springframework.org/schema/webflow"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.springframework.org/schema/webflow
                               http://www.springframework.org/schema/webflow/spring-webflow-1.0.xsd">
 

Author:
Erwin Vervaet, Ben Hale

Constructor Summary
WebFlowEntityResolver()
           
 
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

WebFlowEntityResolver

public WebFlowEntityResolver()
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


Copyright © 2004-2007. All Rights Reserved.