XMLParserItf Interface CATIXMLSAX2Factory
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIXMLSAX2Factory
Factory interface for SAX objects.
and
objects.
Method Index
- o
CreateInputSourceFromFile(CATUnicodeString&,CATUnicodeString&,CATISAXInputSource_var&)
- Creates a CATISAXInputSource from the supplied file.
- o
CreateInputSourceFromMemoryBuffer(CATUnicodeString&,CATUnicodeString&,CATISAXInputSource_var&)
- Creates a CATISAXInputSource from the supplied memory buffer.
- o
CreateInputSourceFromStream(CATIXMLInputStream_var&,CATUnicodeString&,CATISAXInputSource_var&)
- Creates a CATISAXInputSource from the supplied stream.
- o
CreateXMLReader(CATISAXXMLReader_var&)
- Creates a CATISAXXMLReader.
Methods
o CreateInputSourceFromFile
public virtual CreateInputSourceFromFile( | const | iFileName, |
| const | iPublicId, |
| | oInputSource) |
-
Creates a CATISAXInputSource from the supplied file.
- Parameters:
-
- iFileName
- The path of the file
- iPublicId
- The public id which will be assigned to the input source.
- oInputSource
- The resulting CATISAXInputSource
o CreateInputSourceFromMemoryBuffer
public virtual CreateInputSourceFromMemoryBuffer( | const | iBuffer, |
| const | iPublicId, |
| | oInputSource) |
-
Creates a CATISAXInputSource from the supplied memory buffer.
- Parameters:
-
- iBuffer
- A buffer containing XML text
- iPublicId
- The public id which will be assigned to the input source.
- oInputSource
- The resulting CATISAXInputSource
o CreateInputSourceFromStream
public virtual CreateInputSourceFromStream( | const | iStream, |
| const | iPublicId, |
| | oInputSource) |
-
Creates a CATISAXInputSource from the supplied stream.
- Parameters:
-
- iStream
- A stream from which XML contents will be fetched
- iPublicId
- The public id which will be assigned to the input source
- oInputSource
- The resulting CATISAXInputSource
o CreateXMLReader
public virtual CreateXMLReader( | | oXMLReader) |
-
Creates a CATISAXXMLReader.
No options are required since SAX defines a standard way to
pass them to the reader
- Parameters:
-
- oParser
- The resulting CATISAXParser
This object is included in the file: CATIXMLSAX2Factory.h
If needed, your Imakefile.mk should include the module: CatXmlItfBase
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.