Метод | Описание | |
---|---|---|
Commit ( ) : void |
This will commit this element and any uncommitted elements elements that are decendents of this node. For instance if any child or grand child remains open under this element then those elements will be closed before this is closed.
|
|
GetChild ( String name ) : OutputNode | ||
GetPrefix ( ) : String |
The default for the
|
|
GetPrefix ( bool inherit ) : String | ||
IsCommitted ( ) : bool |
This is used to determine whether this node has been committed. This will return true if no root element has been created or if the root element for the document has already been commited.
|
|
IsRoot ( ) : bool | ||
OutputDocument ( |
Constructor for the
|
|
Remove ( ) : void |
This is used to remove any uncommitted changes. Removal of an output node can only be done if it has no siblings and has not yet been committed. If the node is committed then this will throw an exception to indicate that it cannot be removed.
|
|
SetAttribute ( String name, String value ) : OutputNode |
public GetChild ( String name ) : OutputNode | ||
name | String | /// This is the name of the child element to create. /// |
Результат | OutputNode |
public GetPrefix ( bool inherit ) : String | ||
inherit | bool | /// If there is no explicit prefix then inherit. /// |
Результат | String |
public OutputDocument ( |
||
writer | /// This is the node writer to write the node to. /// | |
stack | OutputStack | /// This is the stack that contains the open nodes. /// |
Результат | System |
public SetAttribute ( String name, String value ) : OutputNode | ||
name | String | /// This is the name of the attribute to be added. /// |
value | String | /// This is the value of the node to be added. /// |
Результат | OutputNode |