Method Summary |
|
abstract public Object | getAttribute(String name) Allows the user to retrieve specific attributes on the underlying
implementation.
Parameters: name - The name of the attribute. |
public boolean | isCoalescing() Indicates whether or not the factory is configured to produce
parsers which converts CDATA nodes to Text nodes and appends it to
the adjacent (if any) Text node. |
public boolean | isExpandEntityReferences() Indicates whether or not the factory is configured to produce
parsers which expand entity reference nodes. |
public boolean | isIgnoringComments() Indicates whether or not the factory is configured to produce
parsers which ignores comments. |
public boolean | isIgnoringElementContentWhitespace() Indicates whether or not the factory is configured to produce
parsers which ignore ignorable whitespace in element content. |
public boolean | isNamespaceAware() Indicates whether or not the factory is configured to produce
parsers which are namespace aware. |
public boolean | isValidating() Indicates whether or not the factory is configured to produce
parsers which validate the XML content during parse. |
abstract public DocumentBuilder | newDocumentBuilder() Creates a new instance of a
javax.xml.parsers.DocumentBuilder using the currently configured parameters.
exception: ParserConfigurationException - if a DocumentBuildercannot be created which satisfies the configuration requested. |
public static DocumentBuilderFactory | newInstance() Obtain a new instance of a
DocumentBuilderFactory . |
abstract public void | setAttribute(String name, Object value) Allows the user to set specific attributes on the underlying
implementation. |
public void | setCoalescing(boolean coalescing) Specifies that the parser produced by this code will
convert CDATA nodes to Text nodes and append it to the
adjacent (if any) text node. |
public void | setExpandEntityReferences(boolean expandEntityRef) Specifies that the parser produced by this code will
expand entity reference nodes. |
public void | setIgnoringComments(boolean ignoreComments) Specifies that the parser produced by this code will
ignore comments. |
public void | setIgnoringElementContentWhitespace(boolean whitespace) Specifies that the parsers created by this factory must eliminate
whitespace in element content (sometimes known loosely as
'ignorable whitespace') when parsing XML documents (see XML Rec
2.10). |
public void | setNamespaceAware(boolean awareness) Specifies that the parser produced by this code will
provide support for XML namespaces. |
public void | setValidating(boolean validating) Specifies that the parser produced by this code will
validate documents as they are parsed. |