org.apache.tomcat.util.digester

Class GenericParser

public class GenericParser extends Object

Create a SAXParser configured to support XML Schema and DTD.

Since: 1.6

Field Summary
protected static StringJAXP_SCHEMA_LANGUAGE
The JAXP 1.2 property to set up the schemaLanguage used.
protected static Loglog
The Log to which all SAX event related logging calls will be made.
Method Summary
static SAXParsernewSAXParser(Properties properties)
Create a SAXParser configured to support XML Scheman and DTD

Field Detail

JAXP_SCHEMA_LANGUAGE

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

log

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

Method Detail

newSAXParser

public static SAXParser newSAXParser(Properties properties)
Create a SAXParser configured to support XML Scheman and DTD

Parameters: properties parser specific properties/features

Returns: an XML Schema/DTD enabled SAXParser

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