C# 클래스 Encog.Parse.Tags.Write.WriteTags

Class used to write out tags, such as XML or HTML.
파일 보기 프로젝트 열기: encog/encog-silverlight-core

공개 메소드들

메소드 설명
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.

메소드 상세

AddAttribute() 공개 메소드

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.
리턴 void

AddCDATA() 공개 메소드

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.
리턴 void

AddProperty() 공개 메소드

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.
리턴 void

AddProperty() 공개 메소드

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.
리턴 void

AddProperty() 공개 메소드

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.
리턴 void

AddProperty() 공개 메소드

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.
리턴 void

AddProperty() 공개 메소드

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.
리턴 void

AddText() 공개 메소드

Add text.
public AddText ( String text ) : void
text String The text to add.
리턴 void

BeginDocument() 공개 메소드

Called to begin the document.
public BeginDocument ( ) : void
리턴 void

BeginTag() 공개 메소드

Begin a tag with the specified name.
public BeginTag ( String name ) : void
name String The tag to begin.
리턴 void

Close() 공개 메소드

Close this object.
public Close ( ) : void
리턴 void

EndDocument() 공개 메소드

End the document.
public EndDocument ( ) : void
리턴 void

EndTag() 공개 메소드

End the current tag.
public EndTag ( ) : void
리턴 void

EndTag() 공개 메소드

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

WriteTags() 공개 메소드

Construct an object to write tags.
public WriteTags ( Stream output ) : System
output Stream THe output stream.
리턴 System