public interface IDOMReaderSettings extends IBaseXMLReaderSettings
| Modifier and Type | Method and Description |
|---|---|
void |
applyToDocumentBuilder(DocumentBuilder aDB)
Apply settings of this object onto the specified
DocumentBuilder
object. |
void |
applyToDocumentBuilderFactory(DocumentBuilderFactory aDBF)
Apply settings of this object onto the specified
DocumentBuilderFactory object. |
Schema |
getSchema() |
boolean |
isCoalescing() |
boolean |
isExpandEntityReferences() |
boolean |
isIgnoringComments() |
boolean |
isIgnoringElementContentWhitespace() |
boolean |
isNamespaceAware() |
boolean |
isRequiresNewXMLParserExplicitly() |
boolean |
isValidating() |
boolean |
isXIncludeAware() |
boolean |
requiresNewXMLParser()
Check if the current settings require a separate
DocumentBuilderFactory or if a pooled default
object can be used. |
getAllFeatureValues, getAllPropertyValues, getEntityResolver, getErrorHandler, getExceptionHandler, getFeatureValue, getLocale, getPropertyValue, hasAnyFeature, hasAnyPropertiesboolean isNamespaceAware()
true if the parser should be namespace aware,
false if not.boolean isValidating()
true if the parser should be validating,
false if not.boolean isIgnoringElementContentWhitespace()
true if the parser should be element content
whitespace ignoring, false if not.boolean isExpandEntityReferences()
true if the parser should expand entity references,
false if not.boolean isIgnoringComments()
true if the parser should ignore comments,
false if not.boolean isCoalescing()
true if the parser should read CDATA as text,
false if not.@Nullable Schema getSchema()
null if none should
be used.boolean isXIncludeAware()
true if the parser should be XInclude aware,
false if not.boolean isRequiresNewXMLParserExplicitly()
true if a new XML parser is explicitly required for
this instance.boolean requiresNewXMLParser()
DocumentBuilderFactory or if a pooled default
object can be used.requiresNewXMLParser in interface IBaseXMLReaderSettingstrue if a separate
DocumentBuilderFactory is required,
false if not.void applyToDocumentBuilderFactory(@Nonnull DocumentBuilderFactory aDBF)
DocumentBuilderFactory object.aDBF - The DocumentBuilderFactory to apply the settings onto. May
not be null.void applyToDocumentBuilder(@Nonnull DocumentBuilder aDB)
DocumentBuilder
object.aDB - The DocumentBuilder to apply the settings onto. May not be
null.Copyright © 2014–2016 Philip Helger. All rights reserved.