org.jboss.ws.core.utils
Class JBossWSEntityResolver

java.lang.Object
  extended by org.jboss.util.xml.JBossEntityResolver
      extended by org.jboss.ws.core.utils.JBossWSEntityResolver
All Implemented Interfaces:
org.xml.sax.EntityResolver

public class JBossWSEntityResolver
extends org.jboss.util.xml.JBossEntityResolver

Dynamically register the JBossWS entities.

Author:
Thomas.Diesler@jboss.org, Richard.Opalka@jboss.org

Constructor Summary
JBossWSEntityResolver()
           
JBossWSEntityResolver(java.lang.String entitiesResource)
           
 
Method Summary
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
           
protected  org.xml.sax.InputSource resolveSystemIDAsURL(java.lang.String id, boolean trace)
          Use a ResourceURL to access the resource.
 
Methods inherited from class org.jboss.util.xml.JBossEntityResolver
getEntityMap, isEntityResolved, isReplaceSystemProperties, isWarnOnNonFileURLs, loadClasspathResource, registerEntity, registerLocalEntity, resolveClasspathName, resolvePublicID, resolveSystemID, resolveSystemIDasURL, setReplaceSystemProperties, setWarnOnNonFileURLs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossWSEntityResolver

public JBossWSEntityResolver()

JBossWSEntityResolver

public JBossWSEntityResolver(java.lang.String entitiesResource)
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
Overrides:
resolveEntity in class org.jboss.util.xml.JBossEntityResolver
Throws:
org.xml.sax.SAXException
java.io.IOException

resolveSystemIDAsURL

protected org.xml.sax.InputSource resolveSystemIDAsURL(java.lang.String id,
                                                       boolean trace)
Use a ResourceURL to access the resource. This method should be protected in the super class.



Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.