public class GenericParser extends Object
SAXParser configured to support XML Schema and DTD.| Modifier and Type | Field and Description |
|---|---|
protected static String |
JAXP_SCHEMA_LANGUAGE
The JAXP 1.2 property to set up the schemaLanguage used.
|
protected static Logger |
log
The Log to which all SAX event related logging calls will be made.
|
| Constructor and Description |
|---|
GenericParser() |
| Modifier and Type | Method and Description |
|---|---|
static SAXParser |
newSAXParser(Properties properties)
Create a
SAXParser configured to support XML Scheman and DTD |
protected static final Logger log
protected static final String JAXP_SCHEMA_LANGUAGE
public static SAXParser newSAXParser(Properties properties) throws ParserConfigurationException, SAXException, SAXNotRecognizedException
SAXParser configured to support XML Scheman and DTDproperties - parser specific properties/featuresSAXParserParserConfigurationExceptionSAXExceptionSAXNotRecognizedExceptionCopyright © 2019. All rights reserved.