Method | Description | |
---|---|---|
AppendAttribute ( |
Append an attribute with the specified name and value to parent.
|
|
AppendElement ( |
Append an attribute with the specified name and value to parent.
|
|
CloneNodeWithDocument ( |
return the deep clone of the given node, in a clone of its document context.
|
|
CreateTransform ( string xslName, string assemblyName ) : |
||
DecodeXml ( string sInput ) : string |
Convert an encoded string (safe XML) into plain text.
|
|
DecodeXmlAttribute ( string sInput ) : string |
Convert an encoded attribute string into plain text.
|
|
FindIndexOfMatchingNode ( IEnumerable |
Find the index of the node in nodes that 'matches' the target node. Return -1 if not found.
|
|
FindNode ( |
Return the node that has the desired 'name', either the input node or a decendent.
|
|
GetAttributeValue ( |
Get an optional attribute value from an XmlNode.
|
|
GetAttributeValue ( |
Deprecated: use GetOptionalAttributeValue instead.
|
|
GetBooleanAttributeValue ( |
Returns true if value of attrName is 'true' or 'yes' (case ignored)
|
|
GetBooleanAttributeValue ( string sValue ) : bool |
Returns true if sValue is 'true' or 'yes' (case ignored)
|
|
GetFirstNonCommentChild ( |
Return the first child of the node that is not a comment (or null).
|
|
GetLocalizedAttributeValue ( SIL.Utils.StringTable tbl, |
Get an optional attribute value from an XmlNode, and look up its localized value in the given StringTable.
|
|
GetMandatoryIntegerAttributeValue ( |
Returns a integer obtained from the (mandatory) attribute named.
|
|
GetMandatoryIntegerListAttributeValue ( |
Retrieve an array, given an attribute consisting of a comma-separated list of integers
|
|
GetMandatoryUIntegerListAttributeValue ( |
Retrieve an array, given an attribute consisting of a comma-separated list of integers
|
|
GetManditoryAttributeValue ( |
Get an obligatory attribute value.
|
|
GetOptionalAttributeValue ( |
Get an optional attribute value from an XmlNode.
|
|
GetOptionalAttributeValue ( |
Get an optional attribute value from an XmlNode.
|
|
GetOptionalBooleanAttributeValue ( |
Get an optional attribute value from an XmlNode.
|
|
GetOptionalIntegerValue ( |
Return an optional integer attribute value, or if not found, the default value.
|
|
GetStaticMethod ( |
Utility function to find a methodInfo for the named method. It is a static method of the class specified in the EditRowClass of the EditRowAssembly.
|
|
GetXPathInDocument ( |
build an xpath to the given node in its document.
|
|
MakeIntegerListValue ( int vals ) : string |
Make a value suitable for GetMandatoryIntegerListAttributeValue to parse.
|
|
MakeListValue ( List |
Make a comma-separated list of the ToStrings of the values in the list.
|
|
MakeListValue ( List |
Make a comma-separated list of the ToStrings of the values in the list.
|
|
MakeSafeXml ( string sInput ) : string |
Fix the string to be safe in a text region of XML.
|
|
MakeSafeXmlAttribute ( string sInput ) : string |
Fix the string to be safe in an attribute value of XML.
|
|
NodesMatch ( |
Return true if the two nodes match. Corresponding children should match, and corresponding attributes (though not necessarily in the same order). The nodes are expected to be actually XmlElements; not tested for other cases. Comments do not affect equality.
|
|
SerializeObjectToXmlString ( object objToSerialize ) : string |
Try to serialize the given object into an xml string
|
|
SetAttribute ( |
Change the value of the specified attribute, appending it if not already present.
|
|
VisitAttributes ( |
Allow the visitor to 'visit' each attribute in the input XmlNode.
|
Method | Description | |
---|---|---|
MakeGetStaticMethodErrorMessage ( string sMainMsg, string sContext ) : string |
Method | Description | |
---|---|---|
ConvertMultiparagraphToSafeXml ( string sInput ) : string | ||
DeserializeXmlString ( string xml, |
||
GetIndexAmongSiblings ( |
||
GetStaticMethod ( string sAssemblyName, string sClassName, string sMethodName, string sContext, |
public static AppendAttribute ( |
||
parent | ||
attrName | string | |
attrVal | string | |
return | void |
public static AppendElement ( |
||
parent | ||
elementName | string | |
return |
public static CloneNodeWithDocument ( |
||
node | ||
return |
public static CreateTransform ( string xslName, string assemblyName ) : |
||
xslName | string | |
assemblyName | string | |
return |
public static DecodeXml ( string sInput ) : string | ||
sInput | string | |
return | string |
public static DecodeXmlAttribute ( string sInput ) : string | ||
sInput | string | |
return | string |
public static FindIndexOfMatchingNode ( IEnumerable |
||
nodes | IEnumerable |
The nodes. |
target | The target. | |
return | int |
public static FindNode ( |
||
node | The XmlNode to look in. | |
name | string | The XmlNode name to find. |
return |
public static GetAttributeValue ( |
||
node | The XmlNode to look in. | |
attrName | string | The attribute to find. |
return | string |
public static GetAttributeValue ( |
||
node | ||
attrName | string | |
defaultValue | string | |
return | string |
public static GetBooleanAttributeValue ( |
||
node | The XmlNode to look in. | |
attrName | string | The optional attribute to find. |
return | bool |
public static GetBooleanAttributeValue ( string sValue ) : bool | ||
sValue | string | |
return | bool |
public static GetFirstNonCommentChild ( |
||
node | ||
return |
public static GetLocalizedAttributeValue ( SIL.Utils.StringTable tbl, |
||
tbl | SIL.Utils.StringTable | |
node | ||
attrName | string | |
defaultString | string | |
return | string |
public static GetMandatoryIntegerAttributeValue ( |
||
node | The XmlNode to look in. | |
attrName | string | The mandatory attribute to find. |
return | int |
public static GetMandatoryIntegerListAttributeValue ( |
||
node | ||
attrName | string | |
return | int[] |
public static GetMandatoryUIntegerListAttributeValue ( |
||
node | ||
attrName | string | |
return | uint[] |
public static GetManditoryAttributeValue ( |
||
node | The XmlNode to look in. | |
attrName | string | The required attribute to find. |
return | string |
public static GetOptionalAttributeValue ( |
||
node | The XmlNode to look in. | |
attrName | string | The attribute to find. |
return | string |
public static GetOptionalAttributeValue ( |
||
node | The XmlNode to look in. | |
attrName | string | The attribute to find. |
defaultString | string | |
return | string |
public static GetOptionalBooleanAttributeValue ( |
||
node | The XmlNode to look in. | |
attrName | string | The attribute to find. |
defaultValue | bool | |
return | bool |
public static GetOptionalIntegerValue ( |
||
node | ||
attrName | string | |
defaultVal | int | |
return | int |
public static GetStaticMethod ( |
||
node | ||
sAssemblyAttr | string | |
sClassAttr | string | |
sMethodName | string | |
typeFound | ||
return |
public static GetXPathInDocument ( |
||
node | ||
return | string |
static protected MakeGetStaticMethodErrorMessage ( string sMainMsg, string sContext ) : string | ||
sMainMsg | string | |
sContext | string | |
return | string |
public static MakeIntegerListValue ( int vals ) : string | ||
vals | int | |
return | string |
public static MakeListValue ( List |
||
vals | List |
|
return | string |
public static MakeListValue ( List |
||
vals | List |
|
return | string |
public static MakeSafeXml ( string sInput ) : string | ||
sInput | string | |
return | string |
public static MakeSafeXmlAttribute ( string sInput ) : string | ||
sInput | string | |
return | string |
static public NodesMatch ( |
||
node1 | ||
node2 | ||
return | bool |
public static SerializeObjectToXmlString ( object objToSerialize ) : string | ||
objToSerialize | object | |
return | string |
public static SetAttribute ( |
||
parent | ||
attrName | string | |
attrVal | string | |
return | void |
public static VisitAttributes ( |
||
input | ||
visitor | IAttributeVisitor | |
return | bool |