public class FluentDocumentBuilderFactory extends DocumentBuilderFactory
Constructor and Description |
---|
FluentDocumentBuilderFactory()
Sole public constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String name) |
boolean |
getFeature(String name) |
FluentDocument.Builder |
newDocumentBuilder() |
static FluentDocumentBuilderFactory |
newInstance()
|
static FluentDocumentBuilderFactory |
newInstance(String name,
ClassLoader loader)
|
void |
setAttribute(String name,
Object value) |
void |
setFeature(String name,
boolean value) |
getSchema, isCoalescing, isExpandEntityReferences, isIgnoringComments, isIgnoringElementContentWhitespace, isNamespaceAware, isValidating, isXIncludeAware, setCoalescing, setExpandEntityReferences, setIgnoringComments, setIgnoringElementContentWhitespace, setNamespaceAware, setSchema, setValidating, setXIncludeAware
public FluentDocumentBuilderFactory() throws FactoryConfigurationError
FactoryConfigurationError
public static FluentDocumentBuilderFactory newInstance() throws FactoryConfigurationError
FluentDocumentBuilderFactory
FactoryConfigurationError
public static FluentDocumentBuilderFactory newInstance(String name, ClassLoader loader) throws FactoryConfigurationError
name
- The Class
name.loader
- The ClassLoader
.FluentDocumentBuilderFactory
FactoryConfigurationError
public void setAttribute(String name, Object value) throws IllegalArgumentException
setAttribute
in class DocumentBuilderFactory
IllegalArgumentException
public Object getAttribute(String name) throws IllegalArgumentException
getAttribute
in class DocumentBuilderFactory
IllegalArgumentException
public FluentDocument.Builder newDocumentBuilder() throws ParserConfigurationException
newDocumentBuilder
in class DocumentBuilderFactory
ParserConfigurationException
public void setFeature(String name, boolean value) throws ParserConfigurationException
setFeature
in class DocumentBuilderFactory
ParserConfigurationException
public boolean getFeature(String name) throws ParserConfigurationException
getFeature
in class DocumentBuilderFactory
ParserConfigurationException
Copyright © 2015–2020 Allen D. Ball. All rights reserved.