List of usage examples for org.xml.sax EntityResolver interface-usage
From source file org.smartfrog.services.cddlm.cdl.CdlCatalog.java
/** * created Jul 15, 2004 3:58:11 PM */ public class CdlCatalog implements URIResolver, EntityResolver {
From source file org.apache.torque.engine.database.transform.XmlToData.java
/**
* A Class that is used to parse an input xml schema file and creates and
* AppData java structure.
*
* @author <a href="mailto:leon@opticode.co.za">Leon Messerschmidt</a>
* @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
From source file org.apache.torque.generator.configuration.ConfigurationEntityResolver.java
/** * A resolver to get the confoguration.xsd file for the XML parser from the jar. * * @version $Id: ConfigurationEntityResolver.java 1331190 2012-04-27 02:41:35Z tfischer $ */ public class ConfigurationEntityResolver implements EntityResolver {
From source file org.springframework.osgi.extender.internal.support.NamespacePlugins.java
/**
* Spring schema handler/resolver for OSGi environments.
*
* Besides delegation this class also does type filtering to avoid wiring the wrong bundle if multiple versions of the
* same library (which support the same schema) are available.
*
From source file Utils.java
class NullResolver implements EntityResolver { public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException { return new InputSource(new StringReader("")); } }
From source file org.smartfrog.projects.alpine.xmlutils.CatalogHandler.java
/**
* This class handles entity resolution problems. When used with XSD, file paths
* come in as absolute paths, not relative ones, and they are absolute relative
* to where xerces is working, at least when importing resource files. So, this
* catalog does something special: it matches by the short name of a file.
* <p/>
From source file Utils.java
class NullResolver implements EntityResolver { public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException { return new InputSource(new StringReader("")); } }
From source file org.callimachusproject.xml.InputSourceResolver.java
public class InputSourceResolver implements EntityResolver, URIResolver, ModuleURIResolver, UnparsedTextURIResolver { private static final Pattern CHARSET = Pattern.compile("\\bcharset\\s*=\\s*([\\w-:]+)"); private final Logger logger = LoggerFactory.getLogger(InputSourceResolver.class); private final HttpUriClient client; private final String accept;
From source file org.apache.myfaces.config.impl.FacesConfigEntityResolver.java
/**
* DOCUMENT ME!
* @author Manfred Geiler (latest modification by $Author: grantsmith $)
* @author Thomas Spiegl
* @version $Revision: 472618 $ $Date: 2006-11-08 21:06:54 +0100 (Mi, 08 Nov 2006) $
*/
From source file org.eclipse.gemini.blueprint.extender.internal.support.NamespacePlugins.java
/**
* Spring schema handler/resolver for OSGi environments.
*
* Besides delegation this class also does type filtering to avoid wiring the wrong bundle if multiple versions of the
* same library (which support the same schema) are available.
*