org.enhydra.shark.xpdl
Class XPDLEntityResolver

java.lang.Object
  extended by org.enhydra.shark.xpdl.XPDLEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver

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

Replaces the internet location of the XPDL1.0 schema, with its content read from resources.

Author:
Sasa Bojanic

Field Summary
static java.lang.String XPDL_SCHEMA
           
 
Constructor Summary
XPDLEntityResolver()
           
 
Method Summary
static org.xml.sax.InputSource getSchemaInputSource()
           
 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
 

Field Detail

XPDL_SCHEMA

public static final java.lang.String XPDL_SCHEMA
See Also:
Constant Field Values
Constructor Detail

XPDLEntityResolver

public XPDLEntityResolver()
Method Detail

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver

getSchemaInputSource

public static org.xml.sax.InputSource getSchemaInputSource()