| Modifier and Type | Field and Description |
|---|---|
private Document |
document
Resulting
Document. |
private ParserPool |
parserPool
Parser pool to use when parsing the document.
|
private org.springframework.core.io.Resource |
resource
Resource to load the document from.
|
| Constructor and Description |
|---|
DOMDocumentFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
Document |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setParserPool(ParserPool pool)
Sets the parser pool to be used to parse the file.
|
void |
setResource(org.springframework.core.io.Resource domResource)
Sets the resource containing the document to be parsed.
|
@Nullable private org.springframework.core.io.Resource resource
@Nullable private ParserPool parserPool
public void setResource(@Nonnull org.springframework.core.io.Resource domResource)
domResource - resource, never nullpublic void setParserPool(@Nonnull ParserPool pool)
pool - parser pool, never null.@Nonnull public Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<Document>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<Document>Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.