Package com.helger.xml.serialize.read
Interface ISAXReaderSettings
-
- All Superinterfaces:
IBaseXMLReaderSettings
- All Known Implementing Classes:
SAXReaderSettings
public interface ISAXReaderSettings extends IBaseXMLReaderSettings
Read-only interface for theSAXReaderSettings. Implementations of this interface are meant to define settings that can be used with org.xml.sax.XMLReader instances.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyToSAXReader(XMLReader aParser)Apply all settings of this object onto the specified XMLReader objectContentHandlergetContentHandler()DeclHandlergetDeclarationHandler()DTDHandlergetDTDHandler()LexicalHandlergetLexicalHandler()booleanisRequiresNewXMLParserExplicitly()booleanrequiresNewXMLParser()Check 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 Detail
-
getDTDHandler
@Nullable DTDHandler getDTDHandler()
- Returns:
- The special DTD handler to be used. May be
null.
-
getContentHandler
@Nullable ContentHandler getContentHandler()
- Returns:
- The special content handler to be used. May be
null.
-
getLexicalHandler
@Nullable LexicalHandler getLexicalHandler()
- Returns:
- The special lexical handler to be used. May be
null.
-
getDeclarationHandler
@Nullable DeclHandler getDeclarationHandler()
- Returns:
- The special DTD declaration event handler to be used. May be
null.
-
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.
-
-