C# Class Encog.Parse.Tags.Tag

HTMLTag: This class holds a single HTML tag. This class subclasses the AttributeList class. This allows the HTMLTag class to hold a collection of attributes, just as an actual HTML tag does.
Mostra file Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
Clear ( ) : void

Clear the name, type and attributes.

Clone ( ) : object

Clone this object.

GetAttributeInt ( String attributeId ) : int

Get the specified attribute as an integer.

GetAttributeValue ( String name ) : String

Get the value of the specified attribute.

SetAttribute ( String name, String valueRen ) : void

Set a HTML attribute.

ToString ( ) : String

Convert this tag back into string form, with the beginning < and ending >.

Method Details

Clear() public method

Clear the name, type and attributes.
public Clear ( ) : void
return void

Clone() public method

Clone this object.
public Clone ( ) : object
return object

GetAttributeInt() public method

Get the specified attribute as an integer.
public GetAttributeInt ( String attributeId ) : int
attributeId String The attribute name.
return int

GetAttributeValue() public method

Get the value of the specified attribute.
public GetAttributeValue ( String name ) : String
name String The name of an attribute.
return String

SetAttribute() public method

Set a HTML attribute.
public SetAttribute ( String name, String valueRen ) : void
name String The name of the attribute.
valueRen String The value of the attribute.
return void

ToString() public method

Convert this tag back into string form, with the beginning < and ending >.
public ToString ( ) : String
return String