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: 0x0200007D RID: 125
[Token(Token = "0x200007D")]
public class XmlNamespaceManager : IXmlNamespaceResolver, IEnumerable
{
// Token: 0x0600052D RID: 1325 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600052D")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
internal XmlNamespaceManager()
{
}
/// Initializes a new instance of the class with the specified .
/// The to use.
///
/// is passed to the constructor
// Token: 0x0600052E RID: 1326 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600052E")]
[Address(RVA = "0x474740", Offset = "0x473540", VA = "0x180474740")]
public XmlNamespaceManager(XmlNameTable nameTable)
{
}
/// Gets the associated with this object.
/// The used by this object.
// Token: 0x170001B7 RID: 439
// (get) Token: 0x0600052F RID: 1327 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001B7")]
public virtual XmlNameTable NameTable
{
[Token(Token = "0x600052F")]
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "7")]
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: 0x170001B8 RID: 440
// (get) Token: 0x06000530 RID: 1328 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001B8")]
public virtual string DefaultNamespace
{
[Token(Token = "0x6000530")]
[Address(RVA = "0x474910", Offset = "0x473710", VA = "0x180474910", Slot = "8")]
get
{
return null;
}
}
/// Pushes a namespace scope onto the stack.
// Token: 0x06000531 RID: 1329 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000531")]
[Address(RVA = "0x474730", Offset = "0x473530", VA = "0x180474730", Slot = "9")]
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: 0x06000532 RID: 1330 RVA: 0x00004158 File Offset: 0x00002358
[Token(Token = "0x6000532")]
[Address(RVA = "0x474630", Offset = "0x473430", VA = "0x180474630", Slot = "10")]
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: 0x06000533 RID: 1331 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000533")]
[Address(RVA = "0x473E00", Offset = "0x472C00", VA = "0x180473E00", Slot = "11")]
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: 0x06000534 RID: 1332 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000534")]
[Address(RVA = "0x4741C0", Offset = "0x472FC0", VA = "0x1804741C0", Slot = "12")]
public virtual IEnumerator GetEnumerator()
{
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: 0x06000535 RID: 1333 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000535")]
[Address(RVA = "0x4744F0", Offset = "0x4732F0", VA = "0x1804744F0", Slot = "13")]
public virtual string LookupNamespace(string prefix)
{
return null;
}
// Token: 0x06000536 RID: 1334 RVA: 0x00004170 File Offset: 0x00002370
[Token(Token = "0x6000536")]
[Address(RVA = "0x474300", Offset = "0x473100", VA = "0x180474300")]
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: 0x06000537 RID: 1335 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000537")]
[Address(RVA = "0x474550", Offset = "0x473350", VA = "0x180474550", Slot = "14")]
public virtual string LookupPrefix(string uri)
{
return null;
}
// Token: 0x04000262 RID: 610
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000262")]
private XmlNamespaceManager.NamespaceDeclaration[] nsdecls;
// Token: 0x04000263 RID: 611
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000263")]
private int lastDecl;
// Token: 0x04000264 RID: 612
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000264")]
private XmlNameTable nameTable;
// Token: 0x04000265 RID: 613
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000265")]
private int scopeId;
// Token: 0x04000266 RID: 614
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000266")]
private Dictionary hashTable;
// Token: 0x04000267 RID: 615
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000267")]
private bool useHashtable;
// Token: 0x04000268 RID: 616
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000268")]
private string xml;
// Token: 0x04000269 RID: 617
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000269")]
private string xmlNs;
// Token: 0x0200007E RID: 126
[Token(Token = "0x200007E")]
private struct NamespaceDeclaration
{
// Token: 0x06000538 RID: 1336 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000538")]
[Address(RVA = "0x45BBA0", Offset = "0x45A9A0", VA = "0x18045BBA0")]
public void Set(string prefix, string uri, int scopeId, int previousNsIndex)
{
}
// Token: 0x0400026A RID: 618
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400026A")]
public string prefix;
// Token: 0x0400026B RID: 619
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x400026B")]
public string uri;
// Token: 0x0400026C RID: 620
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400026C")]
public int scopeId;
// Token: 0x0400026D RID: 621
[FieldOffset(Offset = "0x14")]
[Token(Token = "0x400026D")]
public int previousNsIndex;
}
}
}