| java.lang.Object org.ow2.easybeans.util.xml.EmptyEntityResolver
EmptyEntityResolver | public class EmptyEntityResolver implements EntityResolver(Code) | | This class is used when no validating is required. This avoids timeout when schema are looking up on internet.
It returns an empty content for every schema/DTD.
author: Florent Benoit |
Method Summary | |
public InputSource | resolveEntity(String publicId, String systemId) The Parser will call this method before opening any external entity
except the top-level document entity.
Parameters: publicId - The public identifier of the external entity beingreferenced, or null if none was supplied. Parameters: systemId - The system identifier of the external entity beingreferenced. |
resolveEntity | public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException(Code) | | The Parser will call this method before opening any external entity
except the top-level document entity.
Parameters: publicId - The public identifier of the external entity beingreferenced, or null if none was supplied. Parameters: systemId - The system identifier of the external entity beingreferenced. An InputSource object describing the new input source, or null torequest that the parser open a regular URI connection to thesystem identifier. throws: SAXException - Any SAX exception, possibly wrapping anotherexception. throws: IOException - A Java-specific IO exception, possibly the result ofcreating a new InputStream or Reader for the InputSource. |
|
|