Class GraphMLXmlResolver
A resolver that loads graphML DTD and XSD schemas from embedded resources.
Inheritance
System.Object
System.Xml.XmlResolver
GraphMLXmlResolver
Inherited Members
System.Xml.XmlResolver.GetEntityAsync(System.Uri, System.String, System.Type)
System.Xml.XmlResolver.ResolveUri(System.Uri, System.String)
System.Xml.XmlResolver.SupportsType(System.Uri, System.Type)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: QuikGraph.Serialization
Assembly: QuikGraph.Serialization.dll
Syntax
public sealed class GraphMLXmlResolver : XmlResolver
Constructors
| Improve this Doc View SourceGraphMLXmlResolver()
Initializes a new instance of the GraphMLXmlResolver class.
Declaration
public GraphMLXmlResolver()
GraphMLXmlResolver(XmlResolver)
Initializes a new instance of the GraphMLXmlResolver class.
Declaration
public GraphMLXmlResolver(XmlResolver baseResolver)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlResolver | baseResolver | Base XML resolver. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Fields
| Improve this Doc View SourceGraphMLNamespace
Graph ML XML namespace.
Declaration
public const string GraphMLNamespace = "http://graphml.graphdrawing.org/xmlns"
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceCredentials
Declaration
public override ICredentials Credentials { set; }
Property Value
Type | Description |
---|---|
System.Net.ICredentials |
Overrides
System.Xml.XmlResolver.Credentials
Methods
| Improve this Doc View SourceGetEntity(Uri, String, Type)
Declaration
public override object GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | absoluteUri | |
System.String | role | |
System.Type | ofObjectToReturn |
Returns
Type | Description |
---|---|
System.Object |
Overrides
System.Xml.XmlResolver.GetEntity(System.Uri, System.String, System.Type)