mondrian.tui
Class XmlUtil.Resolver

java.lang.Object
  extended by mondrian.tui.XmlUtil.Resolver
All Implemented Interfaces:
org.xml.sax.EntityResolver
Enclosing class:
XmlUtil

public static class XmlUtil.Resolver
extends java.lang.Object
implements org.xml.sax.EntityResolver

This can be extened to have a map from publicId/systemId to InputSource.


Constructor Summary
protected XmlUtil.Resolver()
           
  XmlUtil.Resolver(org.w3c.dom.Document doc)
           
  XmlUtil.Resolver(org.xml.sax.InputSource source)
           
  XmlUtil.Resolver(java.lang.String str)
           
 
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

XmlUtil.Resolver

protected XmlUtil.Resolver()

XmlUtil.Resolver

public XmlUtil.Resolver(org.w3c.dom.Document doc)

XmlUtil.Resolver

public XmlUtil.Resolver(java.lang.String str)

XmlUtil.Resolver

public XmlUtil.Resolver(org.xml.sax.InputSource source)
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

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads