org.apache.commons.digester.parser
Class GenericParser

java.lang.Object
  extended by org.apache.commons.digester.parser.GenericParser

Deprecated. Create an XMLParser instance yourself, configure validation appropriately, and pass it as a parameter to the Digester constructor, or use Digester.setXMLSchema(Schema) for validation.

public class GenericParser
extends Object

Create a SAXParser configured to support XML Schema and DTD.

Since:
1.6

Field Summary
protected static String JAXP_SCHEMA_LANGUAGE
          Deprecated. The JAXP 1.2 property to set up the schemaLanguage used.
protected static org.apache.commons.logging.Log log
          Deprecated. The Log to which all SAX event related logging calls will be made.
 
Constructor Summary
GenericParser()
          Deprecated.  
 
Method Summary
static SAXParser newSAXParser(Properties properties)
          Deprecated. Create a SAXParser configured to support XML Scheman and DTD
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Deprecated. 
The Log to which all SAX event related logging calls will be made.


JAXP_SCHEMA_LANGUAGE

protected static String JAXP_SCHEMA_LANGUAGE
Deprecated. 
The JAXP 1.2 property to set up the schemaLanguage used.

Constructor Detail

GenericParser

public GenericParser()
Deprecated. 
Method Detail

newSAXParser

public static SAXParser newSAXParser(Properties properties)
                              throws ParserConfigurationException,
                                     SAXException,
                                     SAXNotRecognizedException
Deprecated. 
Create a SAXParser configured to support XML Scheman and DTD

Parameters:
properties - parser specific properties/features
Returns:
an XML Schema/DTD enabled SAXParser
Throws:
ParserConfigurationException
SAXException
SAXNotRecognizedException


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.