BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
RemexHtml\TreeBuilder\Element Class Reference
Inheritance diagram for RemexHtml\TreeBuilder\Element:
Collaboration diagram for RemexHtml\TreeBuilder\Element:

Public Member Functions

static __construct ($namespace, $name, Attributes $attrs)
 
 __set ($name, $value)
 
 isMathmlTextIntegration ()
 
 isHtmlIntegration ()
 
 getNoahKey ()
 
 getDebugTag ()
 

Public Attributes

 $namespace
 
 $name
 
 $htmlName
 
 $attrs
 
 $isVirtual
 
 $nextScope
 
 $stackIndex
 
 $prevAFE
 
 $nextAFE
 
 $nextNoah
 
 $userData
 

Detailed Description

Storage for all the state that TreeBuilder needs to associate with each element. These objects should be freed once they fall out of TreeBuilder's data structures (the stack etc.).

These objects are also used to communicate information about elements with downstream clients.

Constructor & Destructor Documentation

static RemexHtml\TreeBuilder\Element::__construct (   $namespace,
  $name,
Attributes  $attrs 
)

Constructor.

Parameters
string$namespace
string$name
Attributes$attrs

Member Function Documentation

RemexHtml\TreeBuilder\Element::getDebugTag ( )

Get a string identifying the element, for use in debugging.

RemexHtml\TreeBuilder\Element::getNoahKey ( )

Get a string key for the Noah's Ark algorithm

Returns
string
RemexHtml\TreeBuilder\Element::isHtmlIntegration ( )

Is the element an HTML integration point?

RemexHtml\TreeBuilder\Element::isMathmlTextIntegration ( )

Is the element a MathML text integration point?

Returns
bool

Member Data Documentation

RemexHtml\TreeBuilder\Element::$nextScope

Internal to CachingStack. A link in the scope list.

RemexHtml\TreeBuilder\Element::$prevAFE
RemexHtml\TreeBuilder\Element::$stackIndex

Internal to CachingStack and SimpleStack. The current stack index, or null if the element is not in the stack.

RemexHtml\TreeBuilder\Element::$userData

This member variable can be written to by the TreeHandler, to store any state associated with the element (such as a DOM node). It is not used by TreeBuilder.


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