|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
| 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
public class 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_URLBase URL used in parsing entities. |
static java.lang.String |
DEBUG_MODESets Debug Mode - Boolean.TRUE or Boolean.FALSE |
static java.lang.String |
DTD_OBJECTDTD Object to be used for validation. |
static java.lang.String |
ERROR_ENCODINGEncoding for errors report via error stream (only if ERROR_STREAM is set) |
static java.lang.String |
ERROR_STREAMError stream for reporting errors. |
static java.lang.String |
NODE_FACTORYSet NodeFactory to build custom Nodes |
static java.lang.String |
SCHEMA_LANGUAGESchema language attribute for validation. |
static java.lang.String |
SCHEMA_OBJECTSchema Object to be used for validation. |
static java.lang.String |
SCHEMA_SOURCESchema source attribute for validation. |
static java.lang.String |
SHOW_WARNINGSBoolean to ignore warnings - Boolean.TRUE or Boolean.FALSE |
static java.lang.String |
USE_DTD_ONLY_FOR_VALIDATIONIf true, DTD Object is used only for validation and is not added to the parser document |
static java.lang.String |
XSDRECNSXMLSchema 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 |
getFeature(java.lang.String name) |
boolean |
isIgnoreElementContentWhitespace() |
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 |
setFeature(java.lang.String name, boolean value) |
void |
setIgnoreElementContentWhitespace(boolean whitespace) |
| Methods inherited from class javax.xml.parsers.DocumentBuilderFactory |
|---|
isCoalescing, isExpandEntityReferences, isIgnoringComments, isIgnoringElementContentWhitespace, isNamespaceAware, 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 DocumentBuilderFactoryParserConfigurationException - if a DocumentBuilder cannot be created which satisfies the configuration requestedpublic 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 DocumentBuilderFactoryname - 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 DocumentBuilderFactoryname - The name of the attribute.java.lang.IllegalArgumentException - thrown if the underlying implementation doesn't recognize the attribute.
public void setFeature(java.lang.String name,
boolean value)
throws ParserConfigurationException
ParserConfigurationException
public boolean getFeature(java.lang.String name)
throws ParserConfigurationException
ParserConfigurationException
|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||