T - the type of the result of all set methods for method chainingXMLBuilderParametersXMLBuilderParametersImplpublic 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 | Description |
|---|---|---|
T |
setDocumentBuilder(javax.xml.parsers.DocumentBuilder docBuilder) |
Allows setting the
DocumentBuilder for parsing an XML document. |
T |
setEntityResolver(org.xml.sax.EntityResolver resolver) |
Allows setting the
EntityResolver which maps entity references
during XML parsing. |
T |
setPublicID(java.lang.String pubID) |
Sets the public ID of the DOCTYPE declaration.
|
T |
setSchemaValidation(boolean f) |
Sets the value of the schemaValidation flag.
|
T |
setSystemID(java.lang.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(javax.xml.parsers.DocumentBuilder docBuilder)
DocumentBuilder for parsing an XML document.
This is the most flexible way of customizing XML processing.docBuilder - the DocumentBuilder to useT setEntityResolver(org.xml.sax.EntityResolver resolver)
EntityResolver which maps entity references
during XML parsing.resolver - the EntityResolver to useT setPublicID(java.lang.String pubID)
pubID - the public IDT setSystemID(java.lang.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–2018. All rights reserved.