Interface IXmlParserFactory
- All Known Implementing Classes:
DefaultSafeXmlParserFactory
public interface IXmlParserFactory
The interface in which methods for creating xml parsers are declared.
-
Method Summary
Modifier and TypeMethodDescriptioncreateDocumentBuilderInstance(boolean namespaceAware, boolean ignoringComments) Creates the instance of theDocumentBuilder.Creates the instance of theTransformer.createXMLReaderInstance(boolean namespaceAware, boolean validating) Creates the instance of theXMLReader.
-
Method Details
-
createDocumentBuilderInstance
Creates the instance of theDocumentBuilder.- Parameters:
namespaceAware- specifies whether the parser should be namespace awareignoringComments- specifies whether the parser should ignore comments- Returns:
- instance of the
DocumentBuilder
-
createXMLReaderInstance
-
createTransformerInstance
Transformer createTransformerInstance()Creates the instance of theTransformer.- Returns:
- instance of the
Transformer
-