org.apache.fulcrum.intake.transform
Class DTDResolver

java.lang.Object
  extended by org.apache.fulcrum.intake.transform.DTDResolver
All Implemented Interfaces:
EntityResolver

public class DTDResolver
extends Object
implements EntityResolver

A resolver to get the database.dtd file for the XML parser from the jar. This does not work with jdk1.3 on linux and OSX, see Bug 4337703

Version:
$Id: DTDResolver.java 542371 2007-05-29 01:29:44Z seade $
Author:
Martin Poeschl, Henning P. Schmiedehausen, Quinton McCombs

Constructor Summary
DTDResolver()
          constructor
 
Method Summary
 InputSource resolveEntity(String publicId, String systemId)
          called by the XML parser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTDResolver

public DTDResolver()
constructor

Method Detail

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
called by the XML parser

Specified by:
resolveEntity in interface EntityResolver
Returns:
an InputSource for the intake.dtd file


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.