using System;
using System.Collections;
using System.Collections.Generic;
using Cpp2IlInjected;
namespace System.Xml
{
/// Resolves, adds, and removes namespaces to a collection and provides scope management for these namespaces.
// Token: 0x020000F5 RID: 245
[Token(Token = "0x20000F5")]
public class XmlNamespaceManager : IXmlNamespaceResolver, IEnumerable
{
// Token: 0x06000BFC RID: 3068 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BFC")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
internal XmlNamespaceManager()
{
}
/// Initializes a new instance of the class with the specified .
/// The to use.
///
/// is passed to the constructor
// Token: 0x06000BFD RID: 3069 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BFD")]
[Address(RVA = "0x949990", Offset = "0x948990", VA = "0x180949990")]
public XmlNamespaceManager(XmlNameTable nameTable)
{
}
/// Gets the associated with this object.
/// The used by this object.
// Token: 0x17000327 RID: 807
// (get) Token: 0x06000BFE RID: 3070 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000327")]
public virtual XmlNameTable NameTable
{
[Token(Token = "0x6000BFE")]
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "8")]
get
{
return null;
}
}
/// Gets the namespace URI for the default namespace.
/// Returns the namespace URI for the default namespace, or String.Empty if there is no default namespace.
// Token: 0x17000328 RID: 808
// (get) Token: 0x06000BFF RID: 3071 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000328")]
public virtual string DefaultNamespace
{
[Token(Token = "0x6000BFF")]
[Address(RVA = "0x949B60", Offset = "0x948B60", VA = "0x180949B60", Slot = "9")]
get
{
return null;
}
}
/// Pushes a namespace scope onto the stack.
// Token: 0x06000C00 RID: 3072 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C00")]
[Address(RVA = "0x663250", Offset = "0x662250", VA = "0x180663250", Slot = "10")]
public virtual void PushScope()
{
}
/// Pops a namespace scope off the stack.
///
/// if there are namespace scopes left on the stack; if there are no more namespaces to pop.
// Token: 0x06000C01 RID: 3073 RVA: 0x000067E0 File Offset: 0x000049E0
[Token(Token = "0x6000C01")]
[Address(RVA = "0x949890", Offset = "0x948890", VA = "0x180949890", Slot = "11")]
public virtual bool PopScope()
{
return default(bool);
}
/// Adds the given namespace to the collection.
/// The prefix to associate with the namespace being added. Use String.Empty to add a default namespace.
/// NoteIf the will be used for resolving namespaces in an XML Path Language (XPath) expression, a prefix must be specified. If an XPath expression does not include a prefix, it is assumed that the namespace Uniform Resource Identifier (URI) is the empty namespace. For more information about XPath expressions and the , refer to the and methods.
/// The namespace to add.
/// The value for is "xml" or "xmlns".
/// The value for or is .
// Token: 0x06000C02 RID: 3074 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C02")]
[Address(RVA = "0x948ED0", Offset = "0x947ED0", VA = "0x180948ED0", Slot = "12")]
public virtual void AddNamespace(string prefix, string uri)
{
}
/// Returns an enumerator to use to iterate through the namespaces in the .
/// An containing the prefixes stored by the .
// Token: 0x06000C03 RID: 3075 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C03")]
[Address(RVA = "0x949290", Offset = "0x948290", VA = "0x180949290", Slot = "13")]
public virtual IEnumerator GetEnumerator()
{
return null;
}
/// Gets a collection of namespace names keyed by prefix which can be used to enumerate the namespaces currently in scope.
/// An enumeration value that specifies the type of namespace nodes to return.
/// A collection of namespace and prefix pairs currently in scope.
// Token: 0x06000C04 RID: 3076 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C04")]
[Address(RVA = "0x9493D0", Offset = "0x9483D0", VA = "0x1809493D0", Slot = "14")]
public virtual IDictionary GetNamespacesInScope(XmlNamespaceScope scope)
{
return null;
}
/// Gets the namespace URI for the specified prefix.
/// The prefix whose namespace URI you want to resolve. To match the default namespace, pass String.Empty.
/// Returns the namespace URI for or if there is no mapped namespace. The returned string is atomized.For more information on atomized strings, see the class.
// Token: 0x06000C05 RID: 3077 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C05")]
[Address(RVA = "0x949750", Offset = "0x948750", VA = "0x180949750", Slot = "15")]
public virtual string LookupNamespace(string prefix)
{
return null;
}
// Token: 0x06000C06 RID: 3078 RVA: 0x000067F8 File Offset: 0x000049F8
[Token(Token = "0x6000C06")]
[Address(RVA = "0x949560", Offset = "0x948560", VA = "0x180949560")]
private int LookupNamespaceDecl(string prefix)
{
return 0;
}
/// Finds the prefix declared for the given namespace URI.
/// The namespace to resolve for the prefix.
/// The matching prefix. If there is no mapped prefix, the method returns String.Empty. If a null value is supplied, then is returned.
// Token: 0x06000C07 RID: 3079 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C07")]
[Address(RVA = "0x9497B0", Offset = "0x9487B0", VA = "0x1809497B0", Slot = "16")]
public virtual string LookupPrefix(string uri)
{
return null;
}
// Token: 0x04000630 RID: 1584
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000630")]
private XmlNamespaceManager.NamespaceDeclaration[] nsdecls;
// Token: 0x04000631 RID: 1585
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000631")]
private int lastDecl;
// Token: 0x04000632 RID: 1586
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000632")]
private XmlNameTable nameTable;
// Token: 0x04000633 RID: 1587
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000633")]
private int scopeId;
// Token: 0x04000634 RID: 1588
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000634")]
private Dictionary hashTable;
// Token: 0x04000635 RID: 1589
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000635")]
private bool useHashtable;
// Token: 0x04000636 RID: 1590
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000636")]
private string xml;
// Token: 0x04000637 RID: 1591
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000637")]
private string xmlNs;
// Token: 0x020000F6 RID: 246
[Token(Token = "0x20000F6")]
private struct NamespaceDeclaration
{
// Token: 0x06000C08 RID: 3080 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C08")]
[Address(RVA = "0x9365B0", Offset = "0x9355B0", VA = "0x1809365B0")]
public void Set(string prefix, string uri, int scopeId, int previousNsIndex)
{
}
// Token: 0x04000638 RID: 1592
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000638")]
public string prefix;
// Token: 0x04000639 RID: 1593
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x4000639")]
public string uri;
// Token: 0x0400063A RID: 1594
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400063A")]
public int scopeId;
// Token: 0x0400063B RID: 1595
[FieldOffset(Offset = "0x14")]
[Token(Token = "0x400063B")]
public int previousNsIndex;
}
}
}