Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

The XmlHelper type exposes the following members.

Constructors

  NameDescription
XmlHelper
Initializes a new instance of the XmlHelper class

Methods

  NameDescription
AddElements
Add the elements from the IEnumerator to the passed XML.
Convert
Convert the passed object to the specified type.
ConvertDocument
Converts specified System.Xml.XmlDocument into IXmlDocument.
ConvertElement
Converts specified System.Xml.XmlElement into IXmlElement.
CreateDelegate<(Of <(TDel>)>)
Creates a delegate from a given configuration. IXmlElement of the following structure:
            $lt;delegate>
               <static/> | <instance/>
               <class-name></class-name>
               <delegate-type></delegate-type>
               <method-name></method-name>
            </delegate>
            
CreateInstance
Create an instance of the class configured using an IXmlElement of the following structure:
            <!ELEMENT ... (class-name | (class-factory-name, method-name),
            init-params?>
            <!ELEMENT init-params (init-param*)>
            <!ELEMENT init-param ((param-name | param-type), param-value,
            description?)>
            
DecodeAttribute
Decode an attribute value that was quoted.
DecodeContent
Decode an element's content value.
DecodeUri
Decode a System Identifier as per the XML 1.0 Specification 2nd ed section 4.2.2.
EncodeAttribute
Encode an attribute value so that it can be quoted and made part of a valid and well formed XML document.
EncodeContent
Encode an element's content value so that it can be made part of a valid and well formed XML document.
EncodeUri
Encode a System Identifier as per the XML 1.0 Specification second edition, section 4.2.2.
EnsureElement
Ensure that a child element exists.
EnsureNamespace
Ensure the existence of the Namespace declaration attribute in a context of the specified IXmlElement.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
EqualsElement
Compare one XML element with another XML element for equality.
EqualsValue
Compare one XML value with another XML value for equality.
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FindElementOverloaded.
GetAbsolutePath
Get the '/'-delimited path of the passed element starting from the root element.
GetAttribute
Get an attribute of the specified IXmlElement that matches to the specified local name and the specified Namespace URI.
GetElementOverloaded.
GetElements
Get an IEnumerator of child elements of the specified IXmlElement that match to the specified local name and the specified Namespace URI.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetNamespacePrefix
Retrieve the Namespace prefix for a given URI in a context of the specified IXmlElement.
GetNamespaceUri
Retrieve the Namespace URI for a given prefix in a context of the specified IXmlElement.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
GetUniversalName
Return a universal XML element name.
HashElement
Provide a hash value for the XML element and all of its contained information.
HashValue
Provide a hash value for the XML value.
IsCommentValid
Validate the passed comment.
IsElementMatch
Check whether or not an element matches to the specified local name and Namespace URI.
IsEmpty
Check whether or not this element or any of its children elements have any content such as values or attributes.
IsEncodingValid
Validate the passed encoding.
IsInstanceConfigEmpty
Check whether or not the specified configuration defines an instance of a class.
IsNameMatch
Check whether or not a universal (composite) name matches to the specified local name and Namespace URI.
IsNameValid
Validate the passed name.
IsPublicIdentifierValid
Validate the passed public identifier.
IsSystemIdentifierValid
Validate the passed system identifier.
IsWhitespace
Test if the specified character is XML whitespace.
LoadResource
Load an XML configuration from a resource.
LoadXmlOverloaded.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OverrideElementOverloaded.
ParseInitParamsOverloaded.
ParseMemorySizeOverloaded.
ParseTimeOverloaded.
PurgeChildrenNamespace
For the children elements of the specified IXmlElement purge the repetetive Namespace declarations.
PurgeNamespace
For the specified IXmlElement purge the Namespace declarations that are declared somewhere up the xml tree.
Quote
XML quote the passed string.
RemoveElement
Remove all immediate child elements with the given name.
ReplaceElement
Replace a child element with the same name as the specified element.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
TransformInitParams
Transform the specified "init-params" element of the following structure:
            <!ELEMENT init-params (init-param*)>
            <!ELEMENT init-param ((param-name | param-type), param-value,
            description?)>
            
into an XML element composed of the corrsponding names. For example, the "init-params" element of the following structure:
            <init-param>
                <param-name>NameOne</param-name>
                <param-value>ValueOne</param-value>
            </init-param>
            <init-param>
                <param-name>NameTwo</param-name>
                <param-value>ValueTwo</param-value>
            </init-param>
            
will transform into
            <NameOne>ValueOne</NameOne>
            <NameTwo>ValueTwo</NameTwo>
            
Trim
Trim XML whitespace.
Trimb
Trim trailing XML whitespace.
Trimf
Trim leading XML whitespace.

Fields

  NameDescription
POWER_0
An exponent of zero.
POWER_G
An exponent of 30.
POWER_K
An exponent of 10.
POWER_M
An exponent of 20.
POWER_T
An exponent of 40.
UNIT_D
A unit of days.
UNIT_H
A unit of hours.
UNIT_M
A unit of minutes.
UNIT_MS
A unit of milliseconds.
UNIT_S
A unit of seconds.
UNRESOLVED
A constant that indicates that the parameter cannot be resolved.

See Also