<Type Name="MiniParser" FullName="Mono.Xml.MiniParser">
  <TypeSignature Language="C#" Value="public class MiniParser" Maintainer="auto" />
  <AssemblyInfo>
    <AssemblyName>Mono.Security</AssemblyName>
    <AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 D2 D0 3A 8E 6B EA 7A 2E 74 E8 D1 AF CC 93 E8 85 19 74 95 2B B4 80 A1 2C 91 34 47 4D 04 06 24 47 C3 7E 0E 68 C0 80 53 6F CF 3C 3F BE 2F F9 C9 79 CE 99 84 75 E5 06 E8 CE 82 DD 5B 0F 35 0D C1 0E 93 BF 2E EE CF 87 4B 24 77 0C 50 81 DB EA 74 47 FD DA FA 27 7B 22 DE 47 D6 FF EA 44 96 74 A4 F9 FC CF 84 D1 50 69 08 93 80 28 4D BD D3 5F 46 CD FF 12 A1 BD 78 E4 EF 00 65 D0 16 DF]</AssemblyPublicKey>
    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
    <AssemblyCulture>neutral</AssemblyCulture>
    <Attributes>
      <Attribute>
        <AttributeName>System.Resources.NeutralResourcesLanguageAttribute</AttributeName>
      </Attribute>
      <Attribute>
        <AttributeName>System.Runtime.InteropServices.ComVisibleAttribute</AttributeName>
      </Attribute>
      <Attribute>
        <AttributeName>System.CLSCompliantAttribute</AttributeName>
      </Attribute>
      <Attribute>
        <AttributeName>System.Resources.SatelliteContractVersionAttribute</AttributeName>
      </Attribute>
    </Attributes>
  </AssemblyInfo>
  <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
  <Docs>
    <summary>MiniParser is a small XML parser. </summary>
    <remarks>As of this writing, this class exists mostly as a base for SecurityParser. SecurityParser is used to create persistent keypairs for the cryptography libraries.</remarks>
  </Docs>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces />
  <Attributes>
    <Attribute>
      <AttributeName>System.CLSCompliantAttribute</AttributeName>
    </Attribute>
  </Attributes>
  <Members>
    <Member MemberName="errors">
      <MemberSignature Language="C#" Value="protected static string [] errors;" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.String[]</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>A list of the possible error strings that the MiniParser can use.</summary>
        <remarks>None.</remarks>
      </Docs>
    </Member>
    <Member MemberName="line">
      <MemberSignature Language="C#" Value="protected int line;" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Int32</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>The current line number of data being handled.</summary>
        <remarks>None.</remarks>
      </Docs>
    </Member>
    <Member MemberName="col">
      <MemberSignature Language="C#" Value="protected int col;" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Int32</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>The current column number of data being handled.</summary>
        <remarks>None.</remarks>
      </Docs>
    </Member>
    <Member MemberName="twoCharBuff">
      <MemberSignature Language="C#" Value="protected int [] twoCharBuff;" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Int32[]</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>An internal variable to hold the last 2 characters processed.</summary>
        <remarks>None.</remarks>
      </Docs>
    </Member>
    <Member MemberName="splitCData">
      <MemberSignature Language="C#" Value="protected bool splitCData;" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
      </Parameters>
      <Docs>
        <summary>An internal flag for whether/how to handle CDATA elements.</summary>
        <remarks>Check this item.</remarks>
      </Docs>
    </Member>
    <Member MemberName="StrEquals">
      <MemberSignature Language="C#" Value="protected static bool StrEquals (string str, System.Text.StringBuilder sb, int sbStart, int len);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="str" Type="System.String" />
        <Parameter Name="sb" Type="System.Text.StringBuilder" />
        <Parameter Name="sbStart" Type="System.Int32" />
        <Parameter Name="len" Type="System.Int32" />
      </Parameters>
      <Docs>
        <summary>Compares the string in "str" to the string held by "sb" starting at character "sbStart" and extending for "len" characters.</summary>
        <param name="str">a <see cref="T:System.String" /></param>
        <param name="sb">a <see cref="T:System.Text.StringBuilder" /></param>
        <param name="sbStart">a <see cref="T:System.Int32" /></param>
        <param name="len">a <see cref="T:System.Int32" /></param>
        <returns>a <see cref="T:System.Boolean" /></returns>
        <remarks>None.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Xlat">
      <MemberSignature Language="C#" Value="protected static int Xlat (int charCode, int state);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Int32</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="charCode" Type="System.Int32" />
        <Parameter Name="state" Type="System.Int32" />
      </Parameters>
      <Docs>
          <summary>A method only for internal use which takes the current input character and current parser state and determines what action to take.</summary>
        <param name="charCode">a <see cref="T:System.Int32" /></param>
        <param name="state">a <see cref="T:System.Int32" /></param>
        <returns>a <see cref="T:System.Int32" /></returns>
        <remarks>None</remarks>
      </Docs>
    </Member>
    <Member MemberName="Reset">
      <MemberSignature Language="C#" Value="public void Reset ();" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <summary>Resets the MiniParser to handle a new XML string.</summary>
        <remarks>None.</remarks>
      </Docs>
    </Member>
    <Member MemberName="FatalErr">
      <MemberSignature Language="C#" Value="protected void FatalErr (string descr);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="descr" Type="System.String" />
      </Parameters>
      <Docs>
        <summary>Generates a fatal error and stops the parsing.</summary>
        <param name="descr">a <see cref="T:System.String" />, the description of the error.</param>
        <remarks>This error is usually an XMLError.</remarks>
      </Docs>
    </Member>
    <Member MemberName="Parse">
      <MemberSignature Language="C#" Value="public void Parse (Mono.Xml.MiniParser+IReader reader, Mono.Xml.MiniParser+IHandler handler);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="reader" Type="Mono.Xml.MiniParser+IReader" />
        <Parameter Name="handler" Type="Mono.Xml.MiniParser+IHandler" />
      </Parameters>
      <Docs>
        <summary>Parses the XML string using the "reader" and "handler" objects.</summary>
        <param name="reader">a <see cref="T:Mono.Xml.MiniParser+IReader" /></param>
        <param name="handler">a <see cref="T:Mono.Xml.MiniParser+IHandler" /></param>
        <remarks>The reader and handler objects don't have to be different; SecurityParser passes in the same object for both.</remarks>
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public MiniParser ();" />
      <MemberType>Constructor</MemberType>
      <ReturnValue />
      <Parameters />
      <Docs>
          <summary>Makes a new MiniParser object.</summary>
        <returns>a <see cref="T:Mono.Xml.MiniParser" /></returns>
        <remarks>None.</remarks>
      </Docs>
    </Member>
  </Members>
</Type>
