T
- the type of the result of all set methods for method chainingpublic interface XMLBuilderProperties<T>
Definition of a parameters interface for XML configurations.
The XMLConfiguration
class defines a bunch of additional properties
related to XML processing.
Important note: This interface is not intended to be implemented by client code! It defines a set of available properties and may be extended even in minor releases.
Modifier and Type | Method and Description |
---|---|
T |
setDocumentBuilder(DocumentBuilder docBuilder)
Allows setting the
DocumentBuilder for parsing an XML document. |
T |
setEntityResolver(EntityResolver resolver)
Allows setting the
EntityResolver which maps entity references
during XML parsing. |
T |
setPublicID(String pubID)
Sets the public ID of the DOCTYPE declaration.
|
T |
setSchemaValidation(boolean f)
Sets the value of the schemaValidation flag.
|
T |
setSystemID(String sysID)
Sets the system ID of the DOCTYPE declaration.
|
T |
setValidating(boolean f)
Sets a flag whether schema/DTD validation should be performed.
|
T setDocumentBuilder(DocumentBuilder docBuilder)
DocumentBuilder
for parsing an XML document.
This is the most flexible way of customizing XML processing.docBuilder
- the DocumentBuilder
to useT setEntityResolver(EntityResolver resolver)
EntityResolver
which maps entity references
during XML parsing.resolver
- the EntityResolver
to useT setPublicID(String pubID)
pubID
- the public IDT setSystemID(String sysID)
sysID
- the system IDT setValidating(boolean f)
f
- the validation flagT setSchemaValidation(boolean f)
f
- the flag value, true for schema validation, false
for DTD validationCopyright © 2001–2020 The Apache Software Foundation. All rights reserved.