Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members | Related Pages

org.colimas.services.xml.StdEntityResolver Class Reference

List of all members.

Public Member Functions

void close () throws IOException
InputSource resolveEntity (String publicId, String systemId) throws IOException, SAXException
InputSource resolveID (String id) throws IOException, SAXException

Detailed Description

StdEntityResolver.java

Function:
Entity Resolver

Author:
zhao lei
Version:
1.0
Modification History:
 SEQ DATE       ORDER DEVELOPER      DESCRIPTION
 --- ---------- ----- -------------- -----------------------------
 001 2005/12/23          zhao lei       INIT
 


Member Function Documentation

void org.colimas.services.xml.StdEntityResolver.close  )  throws IOException
 

Close all opened readers

InputSource org.colimas.services.xml.StdEntityResolver.resolveEntity String  publicId,
String  systemId
throws IOException, SAXException
 

Uses the publicId to get the DTD.

Parameters:
publicId The public identifier of the external entity being referenced, or null if none was supplied.
systemId The system identifier of the external entity being referenced.
Returns:
An InputSource object describing the new input source, or null to request that the parser open a regular URI connection to the system identifier.
Exceptions:
org.xml.sax.SAXException Any SAX exception, possibly wrapping another exception.
java.io.IOException A Java-specific IO exception, possibly the result of creating a new InputStream or Reader for the InputSource.
See also:
org.xml.sax.InputSource

XMLDTDServer

InputSource org.colimas.services.xml.StdEntityResolver.resolveID String  id  )  throws IOException, SAXException
 

Resolves an ID to get the DTD.

Parameters:
id The public identifier of the external entity being referenced, or null if none was supplied.
Returns:
An InputSource object describing the new input source, or null to request that the parser open a regular URI connection to the system identifier.
Exceptions:
org.xml.sax.SAXException Any SAX exception, possibly wrapping another exception.
java.io.IOException A Java-specific IO exception, possibly the result of creating a new InputStream or Reader for the InputSource.
See also:
org.xml.sax.InputSource

XMLDTDServer


The documentation for this class was generated from the following file:
Generated on Sat Jan 14 02:04:37 2006 for Colimas by  doxygen 1.4.4