Class XmlHighlighter

com.woltlab.wcf.data.message.bbcode.code.data.message.bbcode.highlighter

Description

Highlights syntax of xml documents.

  • author: Michael Schaefer
  • copyright: 2001-2009 WoltLab GmbH
  • license: WoltLab
Highlighter
   |
   --XmlHighlighter

Direct descendents

Class Description
HtmlHighlighter Highlights syntax of (x)html documents including style and script blocks.

Variable Summary

Method Summary

Return Name
void highlightKeywords( $string)
void highlightTag( $tag)

Variables

$allowsNewslinesInQuotes

protected mixed $allowsNewslinesInQuotes = true


$commentEnd

protected mixed $commentEnd = array("-->")

Redefinition of: Highlighter::$commentEnd


$commentStart

protected mixed $commentStart = array("<!--")

Redefinition of: Highlighter::$commentStart


$operators

protected mixed $operators = array()

Redefinition of: Highlighter::$operators


$quotes

protected mixed $quotes = array("'", "\"")

Redefinition of: Highlighter::$quotes


$separators

protected mixed $separators = array("<", ">")

Redefinition of: Highlighter::$separators


$singleLineComment

protected mixed $singleLineComment = array()


Inherited variables from Highlighter

Highlighter::$cacheCommentsRegEx, Highlighter::$cachedComments, Highlighter::$cachedQuotes, Highlighter::$escapeSequence, Highlighter::$highlighterObjects, Highlighter::$keywords1, Highlighter::$keywords2, Highlighter::$keywords3, Highlighter::$keywords4, Highlighter::$keywords5, Highlighter::$quotesRegEx, Highlighter::$separatorsRegEx, Highlighter::$style