WACT_TEMPLATE
[ class tree: WACT_TEMPLATE ] [ index: WACT_TEMPLATE ] [ all elements ]

Class: LiteralParsingState

Source Location: /framework/template/compiler/parserstate.inc.php

http://wact.sourceforge.net/index.php/LiteralParsingState

Class Overview

BaseParsingState
   |
   --LiteralParsingState

Handler for the literal parsing state

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

Handler for the literal parsing state

Class Variables


$literalTag =

Name of the literal tag
access:  public
Type:   string

Class Methods


constructor LiteralParsingState



LiteralParsingState LiteralParsingState( SourceFileParser &$Parser, mixed &$TreeBuilder)

API Tags:

access:  public

Parameters:

SourceFileParser   &$Parser  

method cdata

Handle tag content

void cdata( string $text)

API Tags:

access:  public

Parameters:

string   $text   tag content

method characters

Handle tag content

void characters( string $text)

API Tags:

abstract:  
access:  public

Parameters:

string   $text   tag content

method comment

Handle XML comments

void comment( string $text)

API Tags:

access:  public

Parameters:

string   $text   content of comment

method doctype

Handle doctype

void doctype( string $text)

API Tags:

access:  public

Parameters:

string   $text   content of escape

method emptyElement

Handle empty tags

void emptyElement( string $tag, array $attrs)

API Tags:

access:  public

Parameters:

string   $tag   tag name
array   $attrs   tag attributes

method endElement

Handle closing tags

void endElement( string $tag, boolean 1)

API Tags:

access:  public

Parameters:

boolean   1   empty tag or not
string   $tag   tag name

method escape

Handle XML escape sequences

void escape( string $text)

API Tags:

access:  public

Parameters:

string   $text   content of escape

method getAttributeString



void getAttributeString( mixed $attrs)

method invalidEntitySyntax

Entity syntax Error Handler

void invalidEntitySyntax( string $text)

API Tags:

abstract:  
access:  public

Parameters:

string   $text   tag content

method jasp

Handle JSP / ASP markup

void jasp( string $text)

API Tags:

access:  public

Parameters:

string   $text   content

method processingInstruction

Handle processing instructions

void processingInstruction( string $target, string $instruction)

API Tags:

access:  public

Parameters:

string   $target   target processor
string   $instruction   instruction

method startElement

Handle opening tags

void startElement( string $tag, array $attrs)

API Tags:

access:  public

Parameters:

string   $tag   tag name
array   $attrs   tag attributes

method unexpectedEOF

Handle EOF error

void unexpectedEOF( string $text)

API Tags:

abstract:  
access:  public

Parameters:

string   $text   tag content
WACT: Copyright 2003 Procata, Inc. Released under the LGPL license (http://www.gnu.org/copyleft/lesser.html)
Documentation generated on Sun, 28 Nov 2004 19:49:02 -0800 by phpDocumentor 1.2.3