Property | Type | Description | |
---|---|---|---|
Reader |
Method | Description | |
---|---|---|
BadXml ( string message ) : void |
Throw an exception indicating the file format was wrong.
|
|
CheckElement ( string elementName ) : void |
Check that we're at the given element name.
|
|
Dispose ( ) : void |
Finish the file and close it.
|
|
FindSubElement ( bool first ) : bool | ||
GetAttributeBool ( string name ) : bool | ||
GetAttributeBool ( string name, bool defValue ) : bool | ||
GetAttributeColor ( string name, |
||
GetAttributeFloat ( string name ) : float | ||
GetAttributeFloat ( string name, float defValue ) : float | ||
GetAttributeInt ( string name ) : int | ||
GetAttributeInt ( string name, int defValue ) : int | ||
GetAttributeString ( string name ) : string | ||
GetAttributeString ( string name, string defValue ) : string | ||
GetContentBase64 ( ) : |
||
GetContentString ( ) : string | ||
MoveToContent ( ) : void |
Move to the next content node.
|
|
Read ( ) : bool |
Read to next content node.
|
|
Skip ( ) : void |
Skip children of the current node.
|
|
XmlInput ( TextReader reader, string filename ) : System |
Create an XmlInput to read XML from a TextReader.
|
|
XmlInput ( string filename ) : System |
Create an XmlInput to read XML from a particular file.
|
public BadXml ( string message ) : void | ||
message | string | Message, with String.Format style fill-ins. |
return | void |
public CheckElement ( string elementName ) : void | ||
elementName | string | |
return | void |
public GetAttributeBool ( string name ) : bool | ||
name | string | |
return | bool |
public GetAttributeBool ( string name, bool defValue ) : bool | ||
name | string | |
defValue | bool | |
return | bool |
public GetAttributeColor ( string name, |
||
name | string | |
defValue | ||
return |
public GetAttributeFloat ( string name ) : float | ||
name | string | |
return | float |
public GetAttributeFloat ( string name, float defValue ) : float | ||
name | string | |
defValue | float | |
return | float |
public GetAttributeInt ( string name, int defValue ) : int | ||
name | string | |
defValue | int | |
return | int |
public GetAttributeString ( string name ) : string | ||
name | string | |
return | string |
public GetAttributeString ( string name, string defValue ) : string | ||
name | string | |
defValue | string | |
return | string |
public GetContentBase64 ( ) : |
||
return |
public XmlInput ( TextReader reader, string filename ) : System | ||
reader | TextReader | |
filename | string | |
return | System |