Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\Core\ContentModelHandler Class Reference
+ Inheritance diagram for Wikimedia\Parsoid\Core\ContentModelHandler:

Public Member Functions

 toDOM (ParsoidExtensionAPI $extApi, ?SelectiveUpdateData $selectiveUpdateData=null)
 
 fromDOM (ParsoidExtensionAPI $extApi, ?SelectiveUpdateData $selectiveUpdateData=null)
 

Member Function Documentation

◆ fromDOM()

Wikimedia\Parsoid\Core\ContentModelHandler::fromDOM ( ParsoidExtensionAPI $extApi,
?SelectiveUpdateData $selectiveUpdateData = null )
abstract
Parameters
ParsoidExtensionAPI$extApi
?SelectiveUpdateData$selectiveUpdateData
Returns
string

Reimplemented in Wikimedia\Parsoid\Ext\JSON\JSON, and Wikimedia\Parsoid\Wikitext\ContentModelHandler.

◆ toDOM()

Wikimedia\Parsoid\Core\ContentModelHandler::toDOM ( ParsoidExtensionAPI $extApi,
?SelectiveUpdateData $selectiveUpdateData = null )
abstract
Parameters
ParsoidExtensionAPI$extApi
?SelectiveUpdateData$selectiveUpdateData
Returns
Document the result document in "prepared and loaded" form

Reimplemented in Wikimedia\Parsoid\Ext\JSON\JSON, and Wikimedia\Parsoid\Wikitext\ContentModelHandler.


The documentation for this class was generated from the following file: