Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.Common.Util.XmlUtilities Class Reference

Utilities for working with XML. More...

Static Public Member Functions

static XmlDocument CreateDocument (string contents)
 Loads a string into an XML document that that has XXE disabled. More...
 
static XmlDocument CreateDocument (byte[] contents)
 Loads the contents of a byte array into an XML document that has XXE disabled. More...
 
static XmlDocument CreateDocument (Stream stream)
 Loads the contents of a stream into an XML document that has XXE disabled. More...
 

Detailed Description

Utilities for working with XML.

Member Function Documentation

static XmlDocument Google.Api.Ads.Common.Util.XmlUtilities.CreateDocument ( string  contents)
inlinestatic

Loads a string into an XML document that that has XXE disabled.

Parameters
contentsThe XML document contents as a text.
Returns
An XML Document object, with the contents loaded into the DOM.
static XmlDocument Google.Api.Ads.Common.Util.XmlUtilities.CreateDocument ( byte[]  contents)
inlinestatic

Loads the contents of a byte array into an XML document that has XXE disabled.

Parameters
contentsThe XML document contents as a byte array.
Returns
An XML Document object, with the contents loaded into the DOM.
static XmlDocument Google.Api.Ads.Common.Util.XmlUtilities.CreateDocument ( Stream  stream)
inlinestatic

Loads the contents of a stream into an XML document that has XXE disabled.

Parameters
streamThe content stream.
Returns
An XML Document object, with the contents loaded into the DOM.

The documentation for this class was generated from the following file: