Package com.itextpdf.kernel.utils
Interface IXmlParserFactory
-
- All Known Implementing Classes:
DefaultSafeXmlParserFactory
public interface IXmlParserFactoryThe interface in which methods for creating xml parsers are declared.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.xml.parsers.DocumentBuildercreateDocumentBuilderInstance(boolean namespaceAware, boolean ignoringComments)Creates the instance of theDocumentBuilder.javax.xml.transform.TransformercreateTransformerInstance()Creates the instance of theTransformer.org.xml.sax.XMLReadercreateXMLReaderInstance(boolean namespaceAware, boolean validating)Creates the instance of theXMLReader.
-
-
-
Method Detail
-
createDocumentBuilderInstance
javax.xml.parsers.DocumentBuilder createDocumentBuilderInstance(boolean namespaceAware, boolean ignoringComments)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
org.xml.sax.XMLReader createXMLReaderInstance(boolean namespaceAware, boolean validating)Creates the instance of theXMLReader.- Parameters:
namespaceAware- specifies whether the parser should be namespace awarevalidating- specifies whether the parser should validate documents as they are parsed- Returns:
- instance of the
XMLReader
-
createTransformerInstance
javax.xml.transform.Transformer createTransformerInstance()
Creates the instance of theTransformer.- Returns:
- instance of the
Transformer
-
-