terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.Xml.XmlWellFormedWriter Class Reference
+ Inheritance diagram for System.Xml.XmlWellFormedWriter:
+ Collaboration diagram for System.Xml.XmlWellFormedWriter:

Classes

class  AttributeValueCache
 
struct  AttrName
 
struct  ElementScope
 
struct  Namespace
 
class  NamespaceResolverProxy
 

Public Member Functions

override void WriteStartDocument ()
 
override void WriteStartDocument (bool standalone)
 
override void WriteEndDocument ()
 
override void WriteDocType (string name, string pubid, string sysid, string subset)
 
override void WriteStartElement (string prefix, string localName, string ns)
 
override void WriteEndElement ()
 
override void WriteFullEndElement ()
 
override void WriteStartAttribute (string prefix, string localName, string namespaceName)
 
override void WriteEndAttribute ()
 
override void WriteCData (string text)
 
override void WriteComment (string text)
 
override void WriteProcessingInstruction (string name, string text)
 
override void WriteEntityRef (string name)
 
override void WriteCharEntity (char ch)
 
override void WriteSurrogateCharEntity (char lowChar, char highChar)
 
override void WriteWhitespace (string ws)
 
override void WriteString (string text)
 
override void WriteChars (char[] buffer, int index, int count)
 
override void WriteRaw (char[] buffer, int index, int count)
 
override void WriteRaw (string data)
 
override void WriteBase64 (byte[] buffer, int index, int count)
 
override void Close ()
 
override void Flush ()
 
override string LookupPrefix (string ns)
 
override void WriteValue (string value)
 
override void WriteBinHex (byte[] buffer, int index, int count)
 
void WriteAttributeString (string prefix, string localName, string ns, string value)
 
void Dispose ()
 

Static Public Member Functions

static XmlWriter Create (Stream output, XmlWriterSettings settings)
 
static XmlWriter Create (TextWriter output, XmlWriterSettings settings)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Package Functions

 XmlWellFormedWriter (XmlWriter writer, XmlWriterSettings settings)
 
string LookupNamespace (string prefix)
 

Static Package Attributes

static readonly string[] stateName
 
static readonly string[] tokenName
 

Properties

override WriteState WriteState [get, set]
 
XmlRawWriter RawWriter [get, set]
 
bool SaveAttrValue [get, set]
 
bool InBase64 [get, set]
 
bool IsClosedOrErrorState [get, set]
 

Private Types

enum  State {
  Start , TopLevel , Document , Element ,
  Content , B64Content , B64Attribute , AfterRootEle ,
  Attribute , SpecialAttr , EndDocument , RootLevelAttr ,
  RootLevelSpecAttr , RootLevelB64Attr , AfterRootLevelAttr , Closed ,
  Error , StartContent = 101 , StartContentEle , StartContentB64 ,
  StartDoc , StartDocEle = 106 , EndAttrSEle , EndAttrEEle ,
  EndAttrSCont , EndAttrSAttr = 111 , PostB64Cont , PostB64Attr ,
  PostB64RootAttr , StartFragEle , StartFragCont , StartFragB64 ,
  StartRootLevelAttr
}
 
enum  Token {
  StartDocument , EndDocument , PI , Comment ,
  Dtd , StartElement , EndElement , StartAttribute ,
  EndAttribute , Text , CData , AtomicValue ,
  Base64 , RawData , Whitespace
}
 
enum  NamespaceKind { Written , NeedToWrite , Implied , Special }
 
enum  SpecialAttribute {
  No , DefaultXmlns , PrefixedXmlns , XmlSpace ,
  XmlLang
}
 

Private Member Functions

void SetSpecialAttribute (XmlWellFormedWriter.SpecialAttribute special)
 
void WriteStartDocumentImpl (XmlStandalone standalone)
 
void StartFragment ()
 
void PushNamespaceImplicit (string prefix, string ns)
 
bool PushNamespaceExplicit (string prefix, string ns)
 
void AddNamespace (string prefix, string ns, XmlWellFormedWriter.NamespaceKind kind)
 
void AddToNamespaceHashtable (int namespaceIndex)
 
int LookupNamespaceIndex (string prefix)
 
void PopNamespaces (int indexFrom, int indexTo)
 
void AdvanceState (XmlWellFormedWriter.Token token)
 
void StartElementContent ()
 
string LookupLocalNamespace (string prefix)
 
string GeneratePrefix ()
 
void CheckNCName (string ncname)
 
void ThrowInvalidStateTransition (XmlWellFormedWriter.Token token, XmlWellFormedWriter.State currentState)
 
void AddAttribute (string prefix, string localName, string namespaceName)
 
void AddToAttrHashTable (int attributeIndex)
 

Static Private Member Functions

static XmlException DupAttrException (string prefix, string localName)
 
static string GetStateName (XmlWellFormedWriter.State state)
 
static Exception InvalidCharsException (string name, int badCharIndex)
 
static XmlWellFormedWriter ()
 

Private Attributes

XmlWriter writer
 
XmlRawWriter rawWriter
 
IXmlNamespaceResolver predefinedNamespaces
 
XmlWellFormedWriter.Namespace[] nsStack
 
int nsTop
 
Dictionary< string, int > nsHashtable
 
bool useNsHashtable
 
XmlWellFormedWriter.ElementScope[] elemScopeStack
 
int elemTop
 
XmlWellFormedWriter.AttrName[] attrStack
 
int attrCount
 
Dictionary< string, int > attrHashTable
 
XmlWellFormedWriter.SpecialAttribute specAttr
 
XmlWellFormedWriter.AttributeValueCache attrValueCache
 
string curDeclPrefix
 
XmlWellFormedWriter.State[] stateTable
 
XmlWellFormedWriter.State currentState
 
bool checkCharacters
 
bool omitDuplNamespaces
 
bool writeEndDocumentOnClose
 
ConformanceLevel conformanceLevel
 
bool dtdWritten
 
bool xmlDeclFollows
 
XmlCharType xmlCharType
 
SecureStringHasher hasher
 

Static Private Attributes

static WriteState[] state2WriteState
 
static readonly XmlWellFormedWriter.State[] StateTableDocument
 
static readonly XmlWellFormedWriter.State[] StateTableAuto
 

Detailed Description

Definition at line 13 of file XmlWellFormedWriter.cs.


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