Apache Tomcat 6.0.43

org.apache.catalina.startup
Class DigesterFactory

java.lang.Object
  extended by org.apache.catalina.startup.DigesterFactory

Deprecated. Use DigesterFactory

@Deprecated
public class DigesterFactory
extends java.lang.Object

Wrapper class around the Digester that hide Digester's initialization details

Author:
Jean-Francois Arcand

Field Summary
protected static Log log
          Deprecated. The log.
 
Constructor Summary
DigesterFactory()
          Deprecated.  
 
Method Summary
protected static void configureSchema(Digester digester)
          Deprecated. Turn on DTD and/or validation (based on the parser implementation)
static Digester newDigester()
          Deprecated. Create a Digester parser with no Rule associated and XML validation turned off.
static Digester newDigester(boolean xmlValidation, boolean xmlNamespaceAware, RuleSet rule)
          Deprecated. Create a Digester parser.
static Digester newDigester(RuleSet rule)
          Deprecated. Create a Digester parser with XML validation turned off.
protected static void register(java.lang.String resourceURL, java.lang.String resourcePublicId)
          Deprecated. Load the resource and add it to the resolver.
protected static void registerLocalSchema()
          Deprecated. Utilities used to force the parser to use local schema, when available, instead of the schemaLocation XML element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Log log
Deprecated. 
The log.

Constructor Detail

DigesterFactory

public DigesterFactory()
Deprecated. 
Method Detail

newDigester

public static Digester newDigester()
Deprecated. 
Create a Digester parser with no Rule associated and XML validation turned off.


newDigester

public static Digester newDigester(RuleSet rule)
Deprecated. 
Create a Digester parser with XML validation turned off.

Parameters:
rule - an instance of RuleSet used for parsing the xml.

newDigester

public static Digester newDigester(boolean xmlValidation,
                                   boolean xmlNamespaceAware,
                                   RuleSet rule)
Deprecated. 
Create a Digester parser.

Parameters:
xmlValidation - turn on/off xml validation
xmlNamespaceAware - turn on/off namespace validation
rule - an instance of RuleSet used for parsing the xml.

registerLocalSchema

protected static void registerLocalSchema()
Deprecated. 
Utilities used to force the parser to use local schema, when available, instead of the schemaLocation XML element.


register

protected static void register(java.lang.String resourceURL,
                               java.lang.String resourcePublicId)
Deprecated. 
Load the resource and add it to the resolver.


configureSchema

protected static void configureSchema(Digester digester)
Deprecated. 
Turn on DTD and/or validation (based on the parser implementation)


Apache Tomcat 6.0.43

Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.