org.objectweb.jonas_lib.deployment.digester.JEntityResolver Class Reference

Collaboration diagram for org.objectweb.jonas_lib.deployment.digester.JEntityResolver:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JEntityResolver (JDigester jd)
 JEntityResolver ()
InputSource resolveEntity (String publicId, String systemId) throws IOException, SAXException
void addDtds (DTDs dtds)
void addSchemas (Schemas schemas)

Detailed Description

This class defines the entity resolver used to resolve DTDs/Schemas during the xml parsing
Author:
Florent Benoit

Definition at line 48 of file JEntityResolver.java.


Constructor & Destructor Documentation

org.objectweb.jonas_lib.deployment.digester.JEntityResolver.JEntityResolver JDigester  jd  ) 
 

Constructor

Parameters:
jd linked JDigester object

Definition at line 66 of file JEntityResolver.java.

org.objectweb.jonas_lib.deployment.digester.JEntityResolver.JEntityResolver  ) 
 

Constructor without JDigester instance (used in WsGen only)

Definition at line 74 of file JEntityResolver.java.


Member Function Documentation

void org.objectweb.jonas_lib.deployment.digester.JEntityResolver.addDtds DTDs  dtds  ) 
 

Add the mapping between a public Id and the local path of the DTD

Parameters:
dtds Object containing the mapping PublicId --> Local URL

Definition at line 138 of file JEntityResolver.java.

References org.objectweb.jonas_lib.deployment.api.DTDs.getMapping().

Referenced by org.objectweb.jonas_lib.deployment.digester.JDigester.JDigester(), and org.objectweb.jonas_lib.genbase.utils.XMLUtils.newDocument().

Here is the call graph for this function:

void org.objectweb.jonas_lib.deployment.digester.JEntityResolver.addSchemas Schemas  schemas  ) 
 

Add the given Schemas to the schemas available for this resolver

Parameters:
schemas Definition of the schemas to add to this resolver

Definition at line 157 of file JEntityResolver.java.

References org.objectweb.jonas_lib.deployment.api.Schemas.getlocalSchemas().

Referenced by org.objectweb.jonas_lib.deployment.digester.JDigester.JDigester(), and org.objectweb.jonas_lib.genbase.utils.XMLUtils.newDocument().

Here is the call graph for this function:

InputSource org.objectweb.jonas_lib.deployment.digester.JEntityResolver.resolveEntity String  publicId,
String  systemId
throws IOException, SAXException
 

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 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:
SAXException Any SAX exception, possibly wrapping another exception.
IOException A Java-specific IO exception, possibly the result of creating a new InputStream or Reader for the InputSource.

Definition at line 101 of file JEntityResolver.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:12:15 2005 for JOnAS by  doxygen 1.3.9.1