Package com.helger.xml.serialize.read
Interface IDOMReaderSettings
- All Superinterfaces:
IBaseXMLReaderSettings
- All Known Implementing Classes:
DOMReaderSettings
Read-only interface for DOM reader settings.
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionvoidApply settings of this object onto the specifiedDocumentBuilderobject.voidApply settings of this object onto the specifiedDocumentBuilderFactoryobject.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanCheck if the current settings require a separateDocumentBuilderFactoryor if a pooled default object can be used.Methods inherited from interface com.helger.xml.serialize.read.IBaseXMLReaderSettings
exceptionCallbacks, getAllFeatureValues, getAllPropertyValues, getEntityResolver, getErrorHandler, getFeatureValue, getLocale, getPropertyValue, hasAnyFeature, hasAnyProperties
-
Method Details
-
isNamespaceAware
boolean isNamespaceAware()- Returns:
trueif the parser should be namespace aware,falseif not.
-
isValidating
boolean isValidating()- Returns:
trueif the parser should be validating,falseif not.
-
isIgnoringElementContentWhitespace
boolean isIgnoringElementContentWhitespace()- Returns:
trueif the parser should be element content whitespace ignoring,falseif not.
-
isExpandEntityReferences
boolean isExpandEntityReferences()- Returns:
trueif the parser should expand entity references,falseif not.
-
isIgnoringComments
boolean isIgnoringComments()- Returns:
trueif the parser should ignore comments,falseif not.
-
isCoalescing
boolean isCoalescing()- Returns:
trueif the parser should read CDATA as text,falseif not.
-
getSchema
- Returns:
- A special XML schema to be used or
nullif none should be used.
-
isXIncludeAware
boolean isXIncludeAware()- Returns:
trueif the parser should be XInclude aware,falseif not.
-
isRequiresNewXMLParserExplicitly
boolean isRequiresNewXMLParserExplicitly()- Returns:
trueif a new XML parser is explicitly required for this instance.
-
requiresNewXMLParser
boolean requiresNewXMLParser()Check if the current settings require a separateDocumentBuilderFactoryor if a pooled default object can be used.- Specified by:
requiresNewXMLParserin interfaceIBaseXMLReaderSettings- Returns:
trueif a separateDocumentBuilderFactoryis required,falseif not.
-
applyToDocumentBuilderFactory
Apply settings of this object onto the specifiedDocumentBuilderFactoryobject.- Parameters:
aDBF- TheDocumentBuilderFactoryto apply the settings onto. May not benull.
-
applyToDocumentBuilder
Apply settings of this object onto the specifiedDocumentBuilderobject.- Parameters:
aDB- TheDocumentBuilderto apply the settings onto. May not benull.
-