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

Class: XML_HTMLSax3_StateParser_Lt430

Source Location: /XML_HTMLSax3-3.0.0/HTMLSax3.php

Class Overview

XML_HTMLSax3_StateParser
   |
   --XML_HTMLSax3_StateParser_Lt430

Parser for PHP Versions below 4.3.0. Uses a slower parsing mechanism than


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: XML_HTMLSax3_StateParser

XML_HTMLSax3_StateParser::XML_HTMLSax3_StateParser()
Constructs XML_HTMLSax3_StateParser setting up states
XML_HTMLSax3_StateParser::ignoreCharacter()
Moves the position forward one character
XML_HTMLSax3_StateParser::ignoreWhitespace()
Moves the position forward past any whitespace characters
XML_HTMLSax3_StateParser::parse()
Begins the parsing operation, setting up any decorators, depending on
XML_HTMLSax3_StateParser::scanCharacter()
Returns the next character from the XML document or void if at end
XML_HTMLSax3_StateParser::scanUntilCharacters()
Returns a string from the current position until the first instance of
XML_HTMLSax3_StateParser::scanUntilString()
Returns a string from the current position to the next occurance
XML_HTMLSax3_StateParser::unscanCharacter()
Moves the position back one character
XML_HTMLSax3_StateParser::_parse()
Performs the parsing itself, delegating calls to a specific parser

Class Details

[line 323]
Parser for PHP Versions below 4.3.0. Uses a slower parsing mechanism than

the equivalent PHP 4.3.0+ subclass of StateParser



[ Top ]


Method Detail

XML_HTMLSax3_StateParser_Lt430 (Constructor)   [line 330]

XML_HTMLSax3_StateParser_Lt430 XML_HTMLSax3_StateParser_Lt430( &$htmlsax)

Constructs XML_HTMLSax3_StateParser_Lt430 defining available

parser options

  • Var: instance of user front end class
  • Access: protected

Parameters:

   &$htmlsax   — 

[ Top ]

ignoreWhitespace   [line 361]

void ignoreWhitespace( )

Moves the position forward past any whitespace characters
  • Access: protected

Overrides XML_HTMLSax3_StateParser::ignoreWhitespace() (Moves the position forward past any whitespace characters)
[ Top ]

parse   [line 375]

void parse( string $data)

Begins the parsing operation, setting up the unparsed XML entities

decorator if necessary then delegating further work to parent

  • Access: protected

Overrides XML_HTMLSax3_StateParser::parse() (Begins the parsing operation, setting up any decorators, depending on)

Parameters:

string   $data   —  XML document to parse

[ Top ]

scanUntilCharacters   [line 348]

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

  • Access: protected

Overrides XML_HTMLSax3_StateParser::scanUntilCharacters() (Returns a string from the current position until the first instance of)

Parameters:

string   $string   —  string to search until

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:11:50 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.