C# Class Encog.Parse.Tags.Read.ReadTags

Show file Open project: encog/encog-silverlight-core

Public Properties

Property Type Description
CharBullet int
CharTrademark int
MaxLength int

Public Methods

Method Description
IsIt ( string name, bool start ) : bool

Checks to see if the next tag is the tag specified.

Read ( ) : int

Read a single character from the HTML source, if this function returns zero(0) then you should call getTag to see what tag was found. Otherwise the value returned is simply the next character found.

ReadTags ( Stream istream ) : System

The constructor should be passed an InputStream that we will parse from.

ReadToTag ( ) : bool

Read until we reach the next tag.

ToString ( ) : string

Returns this object as a string.

Protected Methods

Method Description
EatWhitespace ( ) : void

Remove any whitespace characters that are next in the InputStream.

ParseAttributeName ( ) : string

Parse an attribute name, if one is present.

ParseString ( ) : string

Called to parse a double or single quote string.

ParseTag ( ) : void

Called when a tag is detected. This method will parse the tag.

Private Methods

Method Description
ParseSpecialCharacter ( ) : char

Parse any special characters

PeekEndTag ( IEnumerable name ) : bool

Check to see if the ending tag is present.

Method Details

EatWhitespace() protected method

Remove any whitespace characters that are next in the InputStream.
protected EatWhitespace ( ) : void
return void

IsIt() public method

Checks to see if the next tag is the tag specified.
public IsIt ( string name, bool start ) : bool
name string The name of the tag desired.
start bool True if a starting tag is desired.
return bool

ParseAttributeName() protected method

Parse an attribute name, if one is present.
protected ParseAttributeName ( ) : string
return string

ParseString() protected method

Called to parse a double or single quote string.
protected ParseString ( ) : string
return string

ParseTag() protected method

Called when a tag is detected. This method will parse the tag.
protected ParseTag ( ) : void
return void

Read() public method

Read a single character from the HTML source, if this function returns zero(0) then you should call getTag to see what tag was found. Otherwise the value returned is simply the next character found.
public Read ( ) : int
return int

ReadTags() public method

The constructor should be passed an InputStream that we will parse from.
public ReadTags ( Stream istream ) : System
istream Stream A stream to parse from.
return System

ReadToTag() public method

Read until we reach the next tag.
public ReadToTag ( ) : bool
return bool

ToString() public method

Returns this object as a string.
public ToString ( ) : string
return string

Property Details

CharBullet public property

The bullet character.
public int CharBullet
return int

CharTrademark public property

The bullet character.
public int CharTrademark
return int

MaxLength public property

Maximum length string to read.
public int MaxLength
return int