Module: IXMLDOMParseError

Includes:
WIN32OLE::VARIANT
Defined in:
sample/xml.rb

Overview

structure for reporting parser errors

Constant Summary

Constants included from WIN32OLE::VARIANT

WIN32OLE::VARIANT::VT_ARRAY, WIN32OLE::VARIANT::VT_BOOL, WIN32OLE::VARIANT::VT_BSTR, WIN32OLE::VARIANT::VT_BYREF, WIN32OLE::VARIANT::VT_CY, WIN32OLE::VARIANT::VT_DATE, WIN32OLE::VARIANT::VT_DISPATCH, WIN32OLE::VARIANT::VT_EMPTY, WIN32OLE::VARIANT::VT_ERROR, WIN32OLE::VARIANT::VT_I1, WIN32OLE::VARIANT::VT_I2, WIN32OLE::VARIANT::VT_I4, WIN32OLE::VARIANT::VT_I8, WIN32OLE::VARIANT::VT_INT, WIN32OLE::VARIANT::VT_NULL, WIN32OLE::VARIANT::VT_PTR, WIN32OLE::VARIANT::VT_R4, WIN32OLE::VARIANT::VT_R8, WIN32OLE::VARIANT::VT_UI1, WIN32OLE::VARIANT::VT_UI2, WIN32OLE::VARIANT::VT_UI4, WIN32OLE::VARIANT::VT_UI8, WIN32OLE::VARIANT::VT_UINT, WIN32OLE::VARIANT::VT_UNKNOWN, WIN32OLE::VARIANT::VT_USERDEFINED, WIN32OLE::VARIANT::VT_VARIANT

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#lastargsObject (readonly)

Returns the value of attribute lastargs.



4553
4554
4555
# File 'sample/xml.rb', line 4553

def lastargs
  @lastargs
end

Instance Method Details

#errorCodeObject

I4 errorCode the error code



4557
4558
4559
4560
4561
# File 'sample/xml.rb', line 4557

def errorCode()
  ret = _getproperty(0, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#fileposObject

I4 filepos the absolute file position in the XML document containing the error



4605
4606
4607
4608
4609
# File 'sample/xml.rb', line 4605

def filepos()
  ret = _getproperty(184, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#lineObject

I4 line the line number in the XML document where the error occurred



4589
4590
4591
4592
4593
# File 'sample/xml.rb', line 4589

def line()
  ret = _getproperty(182, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#lineposObject

I4 linepos the character position in the line containing the error



4597
4598
4599
4600
4601
# File 'sample/xml.rb', line 4597

def linepos()
  ret = _getproperty(183, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#reasonObject

BSTR reason the cause of the error



4573
4574
4575
4576
4577
# File 'sample/xml.rb', line 4573

def reason()
  ret = _getproperty(180, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#srcTextObject

BSTR srcText the data where the error occurred



4581
4582
4583
4584
4585
# File 'sample/xml.rb', line 4581

def srcText()
  ret = _getproperty(181, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end

#urlObject

BSTR url the URL of the XML document containing the error



4565
4566
4567
4568
4569
# File 'sample/xml.rb', line 4565

def url()
  ret = _getproperty(179, [], [])
  @lastargs = WIN32OLE::ARGV
  ret
end