зеркало из https://github.com/mozilla/gecko-dev.git
Changed XIF interface
This commit is contained in:
Родитель
d6527ec8ad
Коммит
72d5a37b2b
|
@ -133,19 +133,14 @@ public:
|
|||
* XIF is an intermediate form of the content model, the buffer
|
||||
* will then be parsed into any number of formats including HTML, TXT, etc.
|
||||
|
||||
* Pattern for Containers
|
||||
* BeginConvertToXIF -- opens a container
|
||||
* DoConvertToXIF -- writes out element attribute information (if any exists)
|
||||
* BeginConvertToXIF -- opens a container and writes out the attributes
|
||||
* ConvertContentToXIF -- typically does nothing unless there is text content
|
||||
* FinishConvertToXIF -- closes a container
|
||||
|
||||
* Pattern for Leafs
|
||||
* BeginConvertToXIF -- does nothing
|
||||
* DoConvertToXIF -- writes out the element and any attribute information (if any exists)
|
||||
* FinishConvertToXIF -- does nothing
|
||||
|
||||
*/
|
||||
virtual void BeginConvertToXIF(nsXIFConverter& aConverter) const = 0;
|
||||
virtual void DoConvertToXIF(nsXIFConverter& aConverter) const = 0;
|
||||
virtual void ConvertContentToXIF(nsXIFConverter& aConverter) const = 0;
|
||||
virtual void FinishConvertToXIF(nsXIFConverter& aConverter) const = 0;
|
||||
|
||||
/**
|
||||
|
|
|
@ -133,19 +133,14 @@ public:
|
|||
* XIF is an intermediate form of the content model, the buffer
|
||||
* will then be parsed into any number of formats including HTML, TXT, etc.
|
||||
|
||||
* Pattern for Containers
|
||||
* BeginConvertToXIF -- opens a container
|
||||
* DoConvertToXIF -- writes out element attribute information (if any exists)
|
||||
* BeginConvertToXIF -- opens a container and writes out the attributes
|
||||
* ConvertContentToXIF -- typically does nothing unless there is text content
|
||||
* FinishConvertToXIF -- closes a container
|
||||
|
||||
* Pattern for Leafs
|
||||
* BeginConvertToXIF -- does nothing
|
||||
* DoConvertToXIF -- writes out the element and any attribute information (if any exists)
|
||||
* FinishConvertToXIF -- does nothing
|
||||
|
||||
*/
|
||||
virtual void BeginConvertToXIF(nsXIFConverter& aConverter) const = 0;
|
||||
virtual void DoConvertToXIF(nsXIFConverter& aConverter) const = 0;
|
||||
virtual void ConvertContentToXIF(nsXIFConverter& aConverter) const = 0;
|
||||
virtual void FinishConvertToXIF(nsXIFConverter& aConverter) const = 0;
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче