JAXP System Properties

by Dinesh 2012-07-23 14:43:31

JAXP System Properties:

JAXP identifies the parser and the XSL processor to be used in the Transformer Factory in system properties. The system property for the XSLT processor is javax.xml.transform.TransformerFactory and the default setting is org.apache.xalan.processor.TransformerFactoryImpl.

There are two settings for JAXP parser functionality, depending on whether you are using SAX or DOM parsing. The javax.xml.parsers.SAXParserFactory system property tells JAXP which SAX parser to use. The default setting is org.apache.xerces.jaxp.SAXParserFactoryImpl. This represents the Xerces SAX parser that is downloaded with JAXP. If you want to use a specific DOM parser in your code, the javax.xml.parsers.DocumentBuilderFactory system property defines the DocumentBuilder that is used for DOM parsing. The default setting is org.apache.xerces.jaxp.DocumentBuilderFactoryImpl. This represents the Xerces DOM parser that is downloaded with JAXP.

Tagged in:

942
like
0
dislike
0
mail
flag

You must LOGIN to add comments