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

Class: XML_HTMLSax3_StateParser

Source Location: /system/SecurityCenter/pnincludes/HTMLSax3.php

Class Overview


Base State Parser


Author(s):

Methods


Child classes:

XML_HTMLSax3_StateParser_Lt430
Parser for PHP Versions below 4.3.0. Uses a slower parsing mechanism than
XML_HTMLSax3_StateParser_Gtet430
Parser for PHP Versions equal to or greater than 4.3.0. Uses a faster

Class Details

[line 44]
Base State Parser



Tags:

abstract:  
access:  protected


[ Top ]


Class Methods


constructor XML_HTMLSax3_StateParser [line 159]

XML_HTMLSax3_StateParser XML_HTMLSax3_StateParser( &$htmlsax)

Constructs XML_HTMLSax3_StateParser setting up states



Tags:

var:  instance of user front end class
access:  protected


Parameters:

   &$htmlsax  

[ Top ]

method ignoreCharacter [line 186]

void ignoreCharacter( )

Moves the position forward one character



Tags:

access:  protected


[ Top ]

method ignoreWhitespace [line 233]

void ignoreWhitespace( )

Moves the position forward past any whitespace characters



Tags:

abstract:  
access:  protected


Overridden in child classes as:

XML_HTMLSax3_StateParser_Lt430::ignoreWhitespace()
Moves the position forward past any whitespace characters
XML_HTMLSax3_StateParser_Gtet430::ignoreWhitespace()
Moves the position forward past any whitespace characters

[ Top ]

method parse [line 242]

void parse( string $data)

Begins the parsing operation, setting up any decorators, depending on

parse options invoking _parse() to execute parsing




Tags:

access:  protected


Overridden in child classes as:

XML_HTMLSax3_StateParser_Lt430::parse()
Begins the parsing operation, setting up the unparsed XML entities
XML_HTMLSax3_StateParser_Gtet430::parse()
Begins the parsing operation, setting up the parsed and unparsed

Parameters:

string   $data   XML document to parse

[ Top ]

method scanCharacter [line 195]

mixed scanCharacter( )

Returns the next character from the XML document or void if at end



Tags:

access:  protected


[ Top ]

method scanUntilCharacters [line 225]

string scanUntilCharacters( string $string)

Returns a string from the current position until the first instance of

one of the characters in the supplied string argument




Tags:

abstract:  
access:  protected


Overridden in child classes as:

XML_HTMLSax3_StateParser_Lt430::scanUntilCharacters()
Returns a string from the current position until the first instance of
XML_HTMLSax3_StateParser_Gtet430::scanUntilCharacters()
Returns a string from the current position until the first instance of one of the characters in the supplied string argument.

Parameters:

string   $string   string to search until

[ Top ]

method scanUntilString [line 208]

string scanUntilString( string $string)

Returns a string from the current position to the next occurance

of the supplied string




Tags:

access:  protected


Parameters:

string   $string   string to search until

[ Top ]

method unscanCharacter [line 177]

void unscanCharacter( )

Moves the position back one character



Tags:

access:  protected


[ Top ]

method _parse [line 308]

void _parse( [constant $state = XML_HTMLSAX3_STATE_START])

Performs the parsing itself, delegating calls to a specific parser

state




Tags:

access:  protected


Parameters:

constant   $state   state object to parse with

[ Top ]


Documentation generated on Fri, 18 Jul 2008 21:46:35 +0200 by phpDocumentor 1.4.1