| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openjpa.lib.xml.XMLFactory
public class XMLFactory
The XMLFactory produces validating and non-validating DOM level 2 and SAX level 2 parsers and XSL transformers through JAXP. It uses caching to avoid repeatedly paying the relatively expensive runtime costs associated with resolving the correct XML implementation through the JAXP configuration mechanisms.
| Constructor Summary | |
|---|---|
| XMLFactory() | |
| Method Summary | |
|---|---|
| static org.w3c.dom.Document | getDocument()Return a new DOM Document. | 
| static javax.xml.parsers.DocumentBuilder | getDOMParser(boolean validating,
             boolean namespaceAware)Return a DocumentBuilder with the specified configuration. | 
| static javax.xml.parsers.SAXParser | getSAXParser(boolean validating,
             boolean namespaceAware)Return a SAXParser with the specified configuration. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public XMLFactory()
| Method Detail | 
|---|
public static javax.xml.parsers.SAXParser getSAXParser(boolean validating,
                                                       boolean namespaceAware)
public static javax.xml.parsers.DocumentBuilder getDOMParser(boolean validating,
                                                             boolean namespaceAware)
public static org.w3c.dom.Document getDocument()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||