Sage Intacct SDK for .NET
Intacct.SDK.Xml.IaXmlWriter Class Reference
Inheritance diagram for Intacct.SDK.Xml.IaXmlWriter:

Public Member Functions

 IaXmlWriter (Stream output, XmlWriterSettings settings)
 
override void WriteStartDocument ()
 
override void WriteStartDocument (bool standalone)
 
override void WriteEndDocument ()
 
override void WriteDocType (string name, string pubid, string sysid, string subset)
 
new void WriteStartElement (string localName)
 
new void WriteStartElement (string localName, string ns)
 
override void WriteStartElement (string prefix, string localName, string ns)
 
override void WriteEndElement ()
 
override void WriteFullEndElement ()
 
new void WriteStartAttribute (string localName)
 
new void WriteStartAttribute (string localName, string ns)
 
override void WriteStartAttribute (string prefix, string localName, string ns)
 
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 WriteWhitespace (string ws)
 
override void WriteString (string text)
 
override void WriteSurrogateCharEntity (char lowChar, char highChar)
 
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 Flush ()
 
override string LookupPrefix (string ns)
 
void WriteElement (string localName, string value, bool writeNull=false)
 
void WriteElement (string localName, int value)
 
void WriteElement (string localName, int? value, bool writeNull=false)
 
void WriteElement (string localName, decimal value)
 
void WriteElement (string localName, decimal? value, bool writeNull=false)
 
void WriteElement (string localName, bool value)
 
void WriteElement (string localName, bool? value, bool writeNull=false)
 
void WriteElement (string localName, DateTime value, string format=IntacctDateTimeFormat)
 
void WriteElement (string localName, DateTime? value, string format=IntacctDateTimeFormat, bool writeNull=false)
 
void WriteEmptyElement (string localName)
 
void WriteAttribute (string localName, string value, bool writeNull=false)
 
void WriteAttribute (string localName, int? value, bool writeNull=false)
 
void WriteAttribute (string localName, bool value)
 
void WriteDateSplitElements (DateTime date, bool writeNull=true)
 
void WriteCustomFieldsExplicit (Dictionary< string, dynamic > customFields)
 
void WriteCustomFieldsImplicit (Dictionary< string, dynamic > customFields)
 

Data Fields

override WriteState WriteState => _writer.WriteState
 

Static Public Attributes

const string IntacctDateFormat = "MM/dd/yyyy"
 
const string IntacctDateTimeFormat = "MM/dd/yyyy HH:mm:ss"
 
const string IntacctMultiSelectGlue = "#~#"
 

Constructor & Destructor Documentation

◆ IaXmlWriter()

Intacct.SDK.Xml.IaXmlWriter.IaXmlWriter ( Stream  output,
XmlWriterSettings  settings 
)
inline

Member Function Documentation

◆ Flush()

override void Intacct.SDK.Xml.IaXmlWriter.Flush ( )
inline

◆ LookupPrefix()

override string Intacct.SDK.Xml.IaXmlWriter.LookupPrefix ( string  ns)
inline

◆ WriteAttribute() [1/3]

void Intacct.SDK.Xml.IaXmlWriter.WriteAttribute ( string  localName,
bool  value 
)
inline

◆ WriteAttribute() [2/3]

void Intacct.SDK.Xml.IaXmlWriter.WriteAttribute ( string  localName,
int?  value,
bool  writeNull = false 
)
inline

◆ WriteAttribute() [3/3]

void Intacct.SDK.Xml.IaXmlWriter.WriteAttribute ( string  localName,
string  value,
bool  writeNull = false 
)
inline

◆ WriteBase64()

override void Intacct.SDK.Xml.IaXmlWriter.WriteBase64 ( byte[]  buffer,
int  index,
int  count 
)
inline

◆ WriteCData()

override void Intacct.SDK.Xml.IaXmlWriter.WriteCData ( string  text)
inline

◆ WriteCharEntity()

override void Intacct.SDK.Xml.IaXmlWriter.WriteCharEntity ( char  ch)
inline

◆ WriteChars()

override void Intacct.SDK.Xml.IaXmlWriter.WriteChars ( char[]  buffer,
int  index,
int  count 
)
inline

◆ WriteComment()

override void Intacct.SDK.Xml.IaXmlWriter.WriteComment ( string  text)
inline

◆ WriteCustomFieldsExplicit()

void Intacct.SDK.Xml.IaXmlWriter.WriteCustomFieldsExplicit ( Dictionary< string, dynamic >  customFields)
inline

◆ WriteCustomFieldsImplicit()

void Intacct.SDK.Xml.IaXmlWriter.WriteCustomFieldsImplicit ( Dictionary< string, dynamic >  customFields)
inline

◆ WriteDateSplitElements()

void Intacct.SDK.Xml.IaXmlWriter.WriteDateSplitElements ( DateTime  date,
bool  writeNull = true 
)
inline

◆ WriteDocType()

override void Intacct.SDK.Xml.IaXmlWriter.WriteDocType ( string  name,
string  pubid,
string  sysid,
string  subset 
)
inline

◆ WriteElement() [1/9]

void Intacct.SDK.Xml.IaXmlWriter.WriteElement ( string  localName,
bool  value 
)
inline

◆ WriteElement() [2/9]

void Intacct.SDK.Xml.IaXmlWriter.WriteElement ( string  localName,
bool?  value,
bool  writeNull = false 
)
inline

◆ WriteElement() [3/9]

void Intacct.SDK.Xml.IaXmlWriter.WriteElement ( string  localName,
DateTime  value,
string  format = IntacctDateTimeFormat 
)
inline

◆ WriteElement() [4/9]

void Intacct.SDK.Xml.IaXmlWriter.WriteElement ( string  localName,
DateTime?  value,
string  format = IntacctDateTimeFormat,
bool  writeNull = false 
)
inline

◆ WriteElement() [5/9]

void Intacct.SDK.Xml.IaXmlWriter.WriteElement ( string  localName,
decimal  value 
)
inline

◆ WriteElement() [6/9]

void Intacct.SDK.Xml.IaXmlWriter.WriteElement ( string  localName,
decimal?  value,
bool  writeNull = false 
)
inline

◆ WriteElement() [7/9]

void Intacct.SDK.Xml.IaXmlWriter.WriteElement ( string  localName,
int  value 
)
inline

◆ WriteElement() [8/9]

void Intacct.SDK.Xml.IaXmlWriter.WriteElement ( string  localName,
int?  value,
bool  writeNull = false 
)
inline

◆ WriteElement() [9/9]

void Intacct.SDK.Xml.IaXmlWriter.WriteElement ( string  localName,
string  value,
bool  writeNull = false 
)
inline

◆ WriteEmptyElement()

void Intacct.SDK.Xml.IaXmlWriter.WriteEmptyElement ( string  localName)
inline

◆ WriteEndAttribute()

override void Intacct.SDK.Xml.IaXmlWriter.WriteEndAttribute ( )
inline

◆ WriteEndDocument()

override void Intacct.SDK.Xml.IaXmlWriter.WriteEndDocument ( )
inline

◆ WriteEndElement()

override void Intacct.SDK.Xml.IaXmlWriter.WriteEndElement ( )
inline

◆ WriteEntityRef()

override void Intacct.SDK.Xml.IaXmlWriter.WriteEntityRef ( string  name)
inline

◆ WriteFullEndElement()

override void Intacct.SDK.Xml.IaXmlWriter.WriteFullEndElement ( )
inline

◆ WriteProcessingInstruction()

override void Intacct.SDK.Xml.IaXmlWriter.WriteProcessingInstruction ( string  name,
string  text 
)
inline

◆ WriteRaw() [1/2]

override void Intacct.SDK.Xml.IaXmlWriter.WriteRaw ( char[]  buffer,
int  index,
int  count 
)
inline

◆ WriteRaw() [2/2]

override void Intacct.SDK.Xml.IaXmlWriter.WriteRaw ( string  data)
inline

◆ WriteStartAttribute() [1/3]

new void Intacct.SDK.Xml.IaXmlWriter.WriteStartAttribute ( string  localName)
inline

◆ WriteStartAttribute() [2/3]

new void Intacct.SDK.Xml.IaXmlWriter.WriteStartAttribute ( string  localName,
string  ns 
)
inline

◆ WriteStartAttribute() [3/3]

override void Intacct.SDK.Xml.IaXmlWriter.WriteStartAttribute ( string  prefix,
string  localName,
string  ns 
)
inline

◆ WriteStartDocument() [1/2]

override void Intacct.SDK.Xml.IaXmlWriter.WriteStartDocument ( )
inline

◆ WriteStartDocument() [2/2]

override void Intacct.SDK.Xml.IaXmlWriter.WriteStartDocument ( bool  standalone)
inline

◆ WriteStartElement() [1/3]

new void Intacct.SDK.Xml.IaXmlWriter.WriteStartElement ( string  localName)
inline

◆ WriteStartElement() [2/3]

new void Intacct.SDK.Xml.IaXmlWriter.WriteStartElement ( string  localName,
string  ns 
)
inline

◆ WriteStartElement() [3/3]

override void Intacct.SDK.Xml.IaXmlWriter.WriteStartElement ( string  prefix,
string  localName,
string  ns 
)
inline

◆ WriteString()

override void Intacct.SDK.Xml.IaXmlWriter.WriteString ( string  text)
inline

◆ WriteSurrogateCharEntity()

override void Intacct.SDK.Xml.IaXmlWriter.WriteSurrogateCharEntity ( char  lowChar,
char  highChar 
)
inline

◆ WriteWhitespace()

override void Intacct.SDK.Xml.IaXmlWriter.WriteWhitespace ( string  ws)
inline

Field Documentation

◆ IntacctDateFormat

const string Intacct.SDK.Xml.IaXmlWriter.IntacctDateFormat = "MM/dd/yyyy"
static

◆ IntacctDateTimeFormat

const string Intacct.SDK.Xml.IaXmlWriter.IntacctDateTimeFormat = "MM/dd/yyyy HH:mm:ss"
static

◆ IntacctMultiSelectGlue

const string Intacct.SDK.Xml.IaXmlWriter.IntacctMultiSelectGlue = "#~#"
static

◆ WriteState

override WriteState Intacct.SDK.Xml.IaXmlWriter.WriteState => _writer.WriteState