| org.objectweb.jonas_lib.deployment.digester.JDigester
JDigester | public class JDigester extends Digester (Code) | | This class defines a Digester for the xml parsing of
deployment descriptors standard and specific
author: Philippe Coq |
Constructor Summary | |
public | JDigester(JRuleSetBase ruleSet, boolean parsingWithValidation, boolean namespaceAware, DTDs dtds, Schemas schemas) Construct an instance of a JDigester which is a Digester
that is configured for parsing the deployment descriptors standards
and specifics used in JOnAS application. |
JDigester | public JDigester(JRuleSetBase ruleSet, boolean parsingWithValidation, boolean namespaceAware, DTDs dtds, Schemas schemas) throws DeploymentDescException(Code) | | Construct an instance of a JDigester which is a Digester
that is configured for parsing the deployment descriptors standards
and specifics used in JOnAS application.
the Digester contains the rules for the xml parsing
By default the created digester is set with:
useContextClassLoader = true
Parameters: ruleSet - an object that extends JRuleSetBase Parameters: parsingWithValidation - flag for xmlvalidation Parameters: namespaceAware - must be true when schema is used Parameters: dtds - mapping between publicId and local Urls of DTDs Parameters: schemas - local urls for the schemas throws: DeploymentDescException - if the deployment descriptors are corrupted. |
parse | public void parse(Reader reader, String fileName, TopLevelElement element) throws DeploymentDescException(Code) | | Parse the deployment descrptor
Parameters: reader - the Reader of the XML file. Parameters: fileName - the name of the file. Parameters: element - top level xml elementwhich is a structure containing the result of the xml parsing. throws: DeploymentDescException - if the deployment descriptoris corrupted. |
|
|