| 1 | <?php |
||
| 12 | class InlineTextElements extends AbstractNormalization |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * {@inheritdoc} |
||
| 16 | */ |
||
| 17 | protected $queries = ['//xsl:text']; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Test whether an element is followed by a text node |
||
| 21 | * |
||
| 22 | * @param DOMElement $element |
||
| 23 | * @return bool |
||
| 24 | */ |
||
| 25 | protected function isFollowedByText(DOMElement $element) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Test whether an element is preceded by a text node |
||
| 32 | * |
||
| 33 | * @param DOMElement $element |
||
| 34 | * @return bool |
||
| 35 | */ |
||
| 36 | protected function isPrecededByText(DOMElement $element) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | protected function normalizeElement(DOMElement $element) |
||
| 57 | } |