public interface DocumentFactory
| Modifier and Type | Interface and Description |
|---|---|
static interface |
DocumentFactory.Builder
A document factory builder.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INCLUDE_ELEMENT_NAME
The name of the include element.
|
| Modifier and Type | Method and Description |
|---|---|
static @NonNull DocumentFactory.Builder |
builder()
Creates a new builder.
|
@NonNull org.jdom2.Document |
read(@NonNull java.nio.file.Path path)
Reads a document.
|
static final java.lang.String INCLUDE_ELEMENT_NAME
static @NonNull DocumentFactory.Builder builder()
@NonNull org.jdom2.Document read(@NonNull java.nio.file.Path path)
throws XMLException
path - the pathXMLException - if an exception was encountered while readingXMLException - if an exception was encountered while parsing