Method | 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.
|
public AddAttribute ( String name, String v ) : void | ||
name | String | The name of the attribute. |
v | String | The value of the attribute. |
return | void |
public AddCDATA ( String text ) : void | ||
text | String | The text to add. |
return | void |
public AddProperty ( String name, String str ) : void | ||
name | String | The name of the enclosing tags. |
str | String | The value to store. |
return | void |
public AddProperty ( String name, double d ) : void | ||
name | String | The name of the enclosing tags. |
d | double | The value to store. |
return | 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. |
return | void |
public AddProperty ( String name, int i ) : void | ||
name | String | The name of the enclosing tags. |
i | int | The value to store. |
return | 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. |
return | void |
public AddText ( String text ) : void | ||
text | String | The text to add. |
return | void |
public BeginTag ( String name ) : void | ||
name | String | The tag to begin. |
return | void |
public EndTag ( String name ) : void | ||
name | String | The tag to be ending. |
return | void |
public WriteTags ( Stream output ) : System | ||
output | Stream | THe output stream. |
return | System |