|
Oracle® Application Server XML Java API Reference 10g Release 2 (10.1.2) Part no. B12024-03 September 2004 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.xml.parsers.DocumentBuilderFactory | +--oracle.xml.jaxp.JXDocumentBuilderFactory
Defines a factory API that enables applications to obtain a parser that produces DOM object trees from XML documents.
Field Summary | |
static java.lang.String |
BASE_URL Base URL used in parsing entities. |
static java.lang.String |
DEBUG_MODE Sets Debug Mode - Boolean.TRUE or Boolean.FALSE |
static java.lang.String |
DTD_OBJECT DTD Object to be used for validation. |
static java.lang.String |
ERROR_ENCODING Encoding for errors report via error stream (only if ERROR_STREAM is set) |
static java.lang.String |
ERROR_STREAM Error stream for reporting errors. |
static java.lang.String |
NODE_FACTORY Set NodeFactory to build custom Nodes |
static java.lang.String |
SCHEMA_LANGUAGE Schema language attribute for validation. |
static java.lang.String |
SCHEMA_OBJECT Schema Object to be used for validation. |
static java.lang.String |
SCHEMA_SOURCE Schema source attribute for validation. |
static java.lang.String |
SHOW_WARNINGS Boolean to ignore warnings - Boolean.TRUE or Boolean.FALSE |
static java.lang.String |
USE_DTD_ONLY_FOR_VALIDATION If true, DTD Object is used only for validation and is not added to the parser document |
static java.lang.String |
XSDRECNS XMLSchema attribute value for validation. |
Constructor Summary | |
JXDocumentBuilderFactory() Default Constructor |
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String name) Allows the user to retrieve specific attributes on the underlying implementation. |
boolean |
isIgnoreElementContentWhitespace() |
boolean |
isNamespaceAware() Indicates whether or not the factory is configured to produce parsers which are namespace aware. |
DocumentBuilder |
newDocumentBuilder() Creates a new instance of a DocumentBuilder using the currently configured parameters. |
void |
setAttribute(java.lang.String name, java.lang.Object value) Allows the user to set specific attributes on the underlying implementation. |
void |
setIgnoreElementContentWhitespace(boolean whitespace) |
Methods inherited from class javax.xml.parsers.DocumentBuilderFactory |
isCoalescing, isExpandEntityReferences, isIgnoringComments, isIgnoringElementContentWhitespace, isValidating, newInstance, setCoalescing, setExpandEntityReferences, setIgnoringComments, setIgnoringElementContentWhitespace, setNamespaceAware, setValidating |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ERROR_STREAM
public static final java.lang.String ERROR_ENCODING
public static final java.lang.String SHOW_WARNINGS
public static final java.lang.String DEBUG_MODE
public static final java.lang.String NODE_FACTORY
public static final java.lang.String DTD_OBJECT
public static final java.lang.String USE_DTD_ONLY_FOR_VALIDATION
public static final java.lang.String SCHEMA_OBJECT
public static final java.lang.String BASE_URL
public static final java.lang.String SCHEMA_LANGUAGE
public static final java.lang.String SCHEMA_SOURCE
public static final java.lang.String XSDRECNS
Constructor Detail |
public JXDocumentBuilderFactory()
Method Detail |
public DocumentBuilder newDocumentBuilder() throws ParserConfigurationException
newDocumentBuilder
in class DocumentBuilderFactory
ParserConfigurationException
- if a DocumentBuilder cannot be created which satisfies the configuration requestedpublic boolean isNamespaceAware()
isNamespaceAware
in class DocumentBuilderFactory
public boolean isIgnoreElementContentWhitespace()
public void setIgnoreElementContentWhitespace(boolean whitespace)
public void setAttribute(java.lang.String name, java.lang.Object value) throws java.lang.IllegalArgumentException
setAttribute
in class DocumentBuilderFactory
name
- The name of the attribute.value
- The value of the attribute.java.lang.IllegalArgumentException
- thrown if the underlying implementation doesn't recognize the attribute.public java.lang.Object getAttribute(java.lang.String name) throws java.lang.IllegalArgumentException
getAttribute
in class DocumentBuilderFactory
name
- The name of the attribute.java.lang.IllegalArgumentException
- thrown if the underlying implementation doesn't recognize the attribute.
|
Oracle® Application Server XML Java API Reference 10g Release 2 (10.1.2) Part no. B12024-03 September 2004 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |