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

Class: Swift_CharacterReader_UsAsciiReader

Source Location: /vendors/swift/classes/Swift/CharacterReader/UsAsciiReader.php

Class Overview


Analyzes US-ASCII characters.


Author(s):

  • Chris Corbyn

Implements interfaces:

Methods



Class Details

[line 19]
Analyzes US-ASCII characters.



Tags:

author:  Chris Corbyn
filesource:  Source Code for this file


[ Top ]


Class Methods


method getCharPositions [line 29]

void getCharPositions( string $string, int $startOffset, &$currentMap, &$ignoredChars, string $ignoredChars)

Returns the complete charactermap



Tags:

access:  public



Implementation of:
Swift_CharacterReader::getCharPositions()
Returns the complete charactermap

Parameters:

string   $string  
int   $startOffset  
string   $ignoredChars  
   &$currentMap  
   &$ignoredChars  

[ Top ]

method getInitialByteSize [line 78]

int getInitialByteSize( )

Returns the number of bytes which should be read to start each character.



Tags:

access:  public



Implementation of:
Swift_CharacterReader::getInitialByteSize()
Returns the number of bytes which should be read to start each character.
[ Top ]

method getMapType [line 47]

void getMapType( )

Returns mapType



Tags:

access:  public



Implementation of:
Swift_CharacterReader::getMapType()
Returns mapType
[ Top ]

method validateByteSequence [line 61]

int validateByteSequence( string $bytes, $size)

Returns an integer which specifies how many more bytes to read.

A positive integer indicates the number of more bytes to fetch before invoking this method again. A value of zero means this is already a valid character. A value of -1 means this cannot possibly be a valid character.




Tags:

access:  public



Implementation of:
Swift_CharacterReader::validateByteSequence()
Returns an integer which specifies how many more bytes to read.

Parameters:

string   $bytes  
   $size  

[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:34:48 -0500 by phpDocumentor 1.4.3