C# Class Encog.Parse.Tags.Write.WriteTags

Class used to write out tags, such as XML or HTML.
Afficher le fichier Open project: encog/encog-silverlight-core

Méthodes publiques

Méthode Description
AddAttribute ( String name, String v ) : void

Add an attribute to be written with the next tag.

AddCDATA ( String text ) : void

Add CDATA to the output stream. XML allows a large block of unformatted text to be added as a CDATA tag.

AddProperty ( String name, String str ) : void

Add a property as a string. A property is a value enclosed in two tags.

AddProperty ( String name, double d ) : void

Add a property as a double. A property is a value enclosed in two tags.

AddProperty ( String name, double array, int len ) : void

Write an array as a property.

AddProperty ( String name, int i ) : void

Add a property as an integer. A property is a value enclosed in two tags.

AddProperty ( String name, int array, int len ) : void

Write an array as a property.

AddText ( String text ) : void

Add text.

BeginDocument ( ) : void

Called to begin the document.

BeginTag ( String name ) : void

Begin a tag with the specified name.

Close ( ) : void

Close this object.

EndDocument ( ) : void

End the document.

EndTag ( ) : void

End the current tag.

EndTag ( String name ) : void

End a tag, require that we are ending the specified tag.

WriteTags ( Stream output ) : System

Construct an object to write tags.

Method Details

AddAttribute() public méthode

Add an attribute to be written with the next tag.
public AddAttribute ( String name, String v ) : void
name String The name of the attribute.
v String The value of the attribute.
Résultat void

AddCDATA() public méthode

Add CDATA to the output stream. XML allows a large block of unformatted text to be added as a CDATA tag.
public AddCDATA ( String text ) : void
text String The text to add.
Résultat void

AddProperty() public méthode

Add a property as a string. A property is a value enclosed in two tags.
public AddProperty ( String name, String str ) : void
name String The name of the enclosing tags.
str String The value to store.
Résultat void

AddProperty() public méthode

Add a property as a double. A property is a value enclosed in two tags.
public AddProperty ( String name, double d ) : void
name String The name of the enclosing tags.
d double The value to store.
Résultat void

AddProperty() public méthode

Write an array as a property.
public AddProperty ( String name, double array, int len ) : void
name String The name of the property.
array double The array to write.
len int The length of the array to write.
Résultat void

AddProperty() public méthode

Add a property as an integer. A property is a value enclosed in two tags.
public AddProperty ( String name, int i ) : void
name String The name of the enclosing tags.
i int The value to store.
Résultat void

AddProperty() public méthode

Write an array as a property.
public AddProperty ( String name, int array, int len ) : void
name String The name of the property.
array int The array to write.
len int The length of the array to write.
Résultat void

AddText() public méthode

Add text.
public AddText ( String text ) : void
text String The text to add.
Résultat void

BeginDocument() public méthode

Called to begin the document.
public BeginDocument ( ) : void
Résultat void

BeginTag() public méthode

Begin a tag with the specified name.
public BeginTag ( String name ) : void
name String The tag to begin.
Résultat void

Close() public méthode

Close this object.
public Close ( ) : void
Résultat void

EndDocument() public méthode

End the document.
public EndDocument ( ) : void
Résultat void

EndTag() public méthode

End the current tag.
public EndTag ( ) : void
Résultat void

EndTag() public méthode

End a tag, require that we are ending the specified tag.
public EndTag ( String name ) : void
name String The tag to be ending.
Résultat void

WriteTags() public méthode

Construct an object to write tags.
public WriteTags ( Stream output ) : System
output Stream THe output stream.
Résultat System