Method | Description | |
---|---|---|
ColorAttribute ( |
Gets an HTML colour attribute value from an XML node
|
|
CreateValidationSettings ( string schemaName ) : |
For a given schema name (Named resource) this loads the schema XML and creates an XmlReaderSettings object which can be used to validate any XML read by the Swiffotron. This is called in the static initialiser.
|
|
IntegerAttribute ( |
Gets an integer attribute value from an XML node
|
|
LoadConfigurationXML ( Stream configXml ) : void |
Loads a swiffotron config XML file, validates it and sets the current namespace manager so that we can do XPath queries in the 'con' namespace.
|
|
LoadSwiffotronXML ( Stream swiffotronXml ) : void |
Loads a swiffotron job XML file, validates it and sets the current namespace manager so that we can do XPath queries in the 'swf' namespace.
|
|
MoveToFirstChildElement ( |
Convenience method to move a navigator to the first child element, rather than first child node, which could be text or something.
|
|
Select ( |
||
Select ( string path ) : |
||
SelectBoolean ( string path, bool defaultValue = null ) : bool | ||
SelectChildren ( |
||
SelectNode ( |
||
SelectNode ( string path ) : |
||
SelectString ( string path, string defaultValue = null ) : string | ||
SetContext ( |
||
SwfTagFromRef ( |
Find a swf xml node by a reference
|
|
TransformTagToMatrix ( XPathNavigator transform ) : Matrix |
Creates a new position matrix from an XML declaration of one.
|
|
XMLHelper ( ) : System |
public ColorAttribute ( |
||
nav | A pointer to the node | |
name | string | The attribute to get |
return | Color? |
public static CreateValidationSettings ( string schemaName ) : |
||
schemaName | string | Named resource which is an XSD file. |
return |
public IntegerAttribute ( |
||
nav | A pointer to the node | |
name | string | The attribute to get |
return | int? |
public LoadConfigurationXML ( Stream configXml ) : void | ||
configXml | Stream | |
return | void |
public LoadSwiffotronXML ( Stream swiffotronXml ) : void | ||
swiffotronXml | Stream | A stream feeding XML data. |
return | void |
public MoveToFirstChildElement ( |
||
nav | The navigator to move | |
return | void |
public Select ( |
||
top | ||
path | string | |
return |
public Select ( string path ) : |
||
path | string | |
return |
public SelectBoolean ( string path, bool defaultValue = null ) : bool | ||
path | string | |
defaultValue | bool | |
return | bool |
public SelectChildren ( |
||
top | ||
path | string | |
return |
public SelectNode ( |
||
top | ||
path | string | |
return |
public SelectNode ( string path ) : |
||
path | string | |
return |
public SelectString ( string path, string defaultValue = null ) : string | ||
path | string | |
defaultValue | string | |
return | string |
public SetContext ( |
||
ctx | ||
return | void |
public SwfTagFromRef ( |
||
referee | A movieclip, or instance tag | |
return |
public TransformTagToMatrix ( XPathNavigator transform ) : Matrix | ||
transform | XPathNavigator | The navigator pointing to the XML transform element. |
return | Matrix |