메소드 | 설명 | |
---|---|---|
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.
|
public AddAttribute ( String name, String v ) : void | ||
name | String | The name of the attribute. |
v | String | The value of the attribute. |
리턴 | void |
public AddProperty ( String name, String str ) : void | ||
name | String | The name of the enclosing tags. |
str | String | The value to store. |
리턴 | void |
public AddProperty ( String name, double d ) : void | ||
name | String | The name of the enclosing tags. |
d | double | The value to store. |
리턴 | void |
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 |
public AddProperty ( String name, int i ) : void | ||
name | String | The name of the enclosing tags. |
i | int | The value to store. |
리턴 | void |
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 |
public WriteTags ( Stream output ) : System | ||
output | Stream | THe output stream. |
리턴 | System |