wt.dataops.util.xml
Class XMLHelper.ObjectColDTDResolver

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended bywt.dataops.util.xml.XMLHelper.ObjectColDTDResolver
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
Direct Known Subclasses:
XMLHelper.DictionaryDTDResolver
Enclosing class:
XMLHelper

protected static class XMLHelper.ObjectColDTDResolver
extends DefaultHandler


Field Summary
protected static Map dtdCache
           
 
Constructor Summary
protected XMLHelper.ObjectColDTDResolver()
           
 
Method Summary
protected  String createInputSourceForDTD(String systemId)
           
 File getDefaultFile(String systemId)
           
protected  String getFileContentsAsString(File file)
           
 InputSource resolveEntity(String publicId, String systemId)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dtdCache

protected static Map dtdCache
Constructor Detail

XMLHelper.ObjectColDTDResolver

protected XMLHelper.ObjectColDTDResolver()
Method Detail

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
                          throws SAXException
Throws:
SAXException

createInputSourceForDTD

protected String createInputSourceForDTD(String systemId)

getDefaultFile

public File getDefaultFile(String systemId)

getFileContentsAsString

protected String getFileContentsAsString(File file)
                                  throws IOException
Throws:
IOException