Module: IXMLDOMEntityReference
- Includes:
- WIN32OLE::VARIANT
- Defined in:
- sample/xml.rb
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
-
#lastargs ⇒ Object
readonly
Returns the value of attribute lastargs.
Instance Method Summary collapse
-
#appendChild(arg0) ⇒ Object
IXMLDOMNode appendChild append a child node IXMLDOMNode arg0 — newChild [IN].
-
#attributes ⇒ Object
IXMLDOMNamedNodeMap attributes the collection of the node’s attributes.
-
#baseName ⇒ Object
BSTR baseName the base name of the node (nodename with the prefix stripped off).
-
#childNodes ⇒ Object
IXMLDOMNodeList childNodes the collection of the node’s children.
-
#cloneNode(arg0) ⇒ Object
IXMLDOMNode cloneNode BOOL arg0 — deep [IN].
-
#dataType ⇒ Object
VARIANT dataType the data type of the node.
-
#dataType=(arg0) ⇒ Object
VOID dataType the data type of the node.
-
#definition ⇒ Object
IXMLDOMNode definition pointer to the definition of the node in the DTD or schema.
-
#firstChild ⇒ Object
IXMLDOMNode firstChild first child of the node.
-
#hasChildNodes ⇒ Object
BOOL hasChildNodes.
-
#insertBefore(arg0, arg1) ⇒ Object
IXMLDOMNode insertBefore insert a child node IXMLDOMNode arg0 — newChild [IN] VARIANT arg1 — refChild [IN].
-
#lastChild ⇒ Object
IXMLDOMNode lastChild first child of the node.
-
#namespaceURI ⇒ Object
BSTR namespaceURI the URI for the namespace applying to the node.
-
#nextSibling ⇒ Object
IXMLDOMNode nextSibling right sibling of the node.
-
#nodeName ⇒ Object
BSTR nodeName name of the node.
-
#nodeType ⇒ Object
DOMNodeType nodeType the node’s type.
-
#nodeTypedValue ⇒ Object
VARIANT nodeTypedValue get the strongly typed value of the node.
-
#nodeTypedValue=(arg0) ⇒ Object
VOID nodeTypedValue get the strongly typed value of the node.
-
#nodeTypeString ⇒ Object
BSTR nodeTypeString the type of node in string form.
-
#nodeValue ⇒ Object
VARIANT nodeValue value stored in the node.
-
#nodeValue=(arg0) ⇒ Object
VOID nodeValue value stored in the node.
-
#ownerDocument ⇒ Object
IXMLDOMDocument ownerDocument document that contains the node.
-
#parentNode ⇒ Object
IXMLDOMNode parentNode parent of the node.
-
#parsed ⇒ Object
BOOL parsed has sub-tree been completely parsed.
-
#prefix ⇒ Object
BSTR prefix the prefix for the namespace applying to the node.
-
#previousSibling ⇒ Object
IXMLDOMNode previousSibling left sibling of the node.
-
#removeChild(arg0) ⇒ Object
IXMLDOMNode removeChild remove a child node IXMLDOMNode arg0 — childNode [IN].
-
#replaceChild(arg0, arg1) ⇒ Object
IXMLDOMNode replaceChild replace a child node IXMLDOMNode arg0 — newChild [IN] IXMLDOMNode arg1 — oldChild [IN].
-
#selectNodes(arg0) ⇒ Object
IXMLDOMNodeList selectNodes execute query on the subtree BSTR arg0 — queryString [IN].
-
#selectSingleNode(arg0) ⇒ Object
IXMLDOMNode selectSingleNode execute query on the subtree BSTR arg0 — queryString [IN].
-
#specified ⇒ Object
BOOL specified indicates whether node is a default value.
-
#text ⇒ Object
BSTR text text content of the node and subtree.
-
#text=(arg0) ⇒ Object
VOID text text content of the node and subtree.
-
#transformNode(arg0) ⇒ Object
BSTR transformNode apply the stylesheet to the subtree IXMLDOMNode arg0 — stylesheet [IN].
-
#transformNodeToObject(arg0, arg1) ⇒ Object
VOID transformNodeToObject apply the stylesheet to the subtree, returning the result through a document or a stream IXMLDOMNode arg0 — stylesheet [IN] VARIANT arg1 — outputObject [IN].
-
#xml ⇒ Object
BSTR xml return the XML source for the node and each of its descendants.
Instance Attribute Details
#lastargs ⇒ Object (readonly)
Returns the value of attribute lastargs
4248 4249 4250 |
# File 'sample/xml.rb', line 4248 def lastargs @lastargs end |
Instance Method Details
#appendChild(arg0) ⇒ Object
IXMLDOMNode appendChild append a child node
IXMLDOMNode arg0 --- newChild [IN]
4490 4491 4492 4493 4494 |
# File 'sample/xml.rb', line 4490 def appendChild(arg0) ret = _invoke(16, [arg0], [VT_BYREF|VT_DISPATCH]) @lastargs = WIN32OLE::ARGV ret end |
#attributes ⇒ Object
IXMLDOMNamedNodeMap attributes the collection of the node’s attributes
4324 4325 4326 4327 4328 |
# File 'sample/xml.rb', line 4324 def attributes() ret = _getproperty(12, [], []) @lastargs = WIN32OLE::ARGV ret end |
#baseName ⇒ Object
BSTR baseName the base name of the node (nodename with the prefix stripped off)
4420 4421 4422 4423 4424 |
# File 'sample/xml.rb', line 4420 def baseName() ret = _getproperty(34, [], []) @lastargs = WIN32OLE::ARGV ret end |
#childNodes ⇒ Object
IXMLDOMNodeList childNodes the collection of the node’s children
4284 4285 4286 4287 4288 |
# File 'sample/xml.rb', line 4284 def childNodes() ret = _getproperty(7, [], []) @lastargs = WIN32OLE::ARGV ret end |
#cloneNode(arg0) ⇒ Object
IXMLDOMNode cloneNode
BOOL arg0 --- deep [IN]
4505 4506 4507 4508 4509 |
# File 'sample/xml.rb', line 4505 def cloneNode(arg0) ret = _invoke(19, [arg0], [VT_BOOL]) @lastargs = WIN32OLE::ARGV ret end |
#dataType ⇒ Object
VARIANT dataType the data type of the node
4380 4381 4382 4383 4384 |
# File 'sample/xml.rb', line 4380 def dataType() ret = _getproperty(26, [], []) @lastargs = WIN32OLE::ARGV ret end |
#dataType=(arg0) ⇒ Object
VOID dataType the data type of the node
4452 4453 4454 4455 4456 |
# File 'sample/xml.rb', line 4452 def dataType=(arg0) ret = _setproperty(26, [arg0], [VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end |
#definition ⇒ Object
IXMLDOMNode definition pointer to the definition of the node in the DTD or schema
4364 4365 4366 4367 4368 |
# File 'sample/xml.rb', line 4364 def definition() ret = _getproperty(23, [], []) @lastargs = WIN32OLE::ARGV ret end |
#firstChild ⇒ Object
IXMLDOMNode firstChild first child of the node
4292 4293 4294 4295 4296 |
# File 'sample/xml.rb', line 4292 def firstChild() ret = _getproperty(8, [], []) @lastargs = WIN32OLE::ARGV ret end |
#hasChildNodes ⇒ Object
BOOL hasChildNodes
4497 4498 4499 4500 4501 |
# File 'sample/xml.rb', line 4497 def hasChildNodes() ret = _invoke(17, [], []) @lastargs = WIN32OLE::ARGV ret end |
#insertBefore(arg0, arg1) ⇒ Object
IXMLDOMNode insertBefore insert a child node
IXMLDOMNode arg0 --- newChild [IN]
VARIANT arg1 --- refChild [IN]
4462 4463 4464 4465 4466 |
# File 'sample/xml.rb', line 4462 def insertBefore(arg0, arg1) ret = _invoke(13, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end |
#lastChild ⇒ Object
IXMLDOMNode lastChild first child of the node
4300 4301 4302 4303 4304 |
# File 'sample/xml.rb', line 4300 def lastChild() ret = _getproperty(9, [], []) @lastargs = WIN32OLE::ARGV ret end |
#namespaceURI ⇒ Object
BSTR namespaceURI the URI for the namespace applying to the node
4404 4405 4406 4407 4408 |
# File 'sample/xml.rb', line 4404 def namespaceURI() ret = _getproperty(32, [], []) @lastargs = WIN32OLE::ARGV ret end |
#nextSibling ⇒ Object
IXMLDOMNode nextSibling right sibling of the node
4316 4317 4318 4319 4320 |
# File 'sample/xml.rb', line 4316 def nextSibling() ret = _getproperty(11, [], []) @lastargs = WIN32OLE::ARGV ret end |
#nodeName ⇒ Object
BSTR nodeName name of the node
4252 4253 4254 4255 4256 |
# File 'sample/xml.rb', line 4252 def nodeName() ret = _getproperty(2, [], []) @lastargs = WIN32OLE::ARGV ret end |
#nodeType ⇒ Object
DOMNodeType nodeType the node’s type
4268 4269 4270 4271 4272 |
# File 'sample/xml.rb', line 4268 def nodeType() ret = _getproperty(4, [], []) @lastargs = WIN32OLE::ARGV ret end |
#nodeTypedValue ⇒ Object
VARIANT nodeTypedValue get the strongly typed value of the node
4372 4373 4374 4375 4376 |
# File 'sample/xml.rb', line 4372 def nodeTypedValue() ret = _getproperty(25, [], []) @lastargs = WIN32OLE::ARGV ret end |
#nodeTypedValue=(arg0) ⇒ Object
VOID nodeTypedValue get the strongly typed value of the node
4444 4445 4446 4447 4448 |
# File 'sample/xml.rb', line 4444 def nodeTypedValue=(arg0) ret = _setproperty(25, [arg0], [VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end |
#nodeTypeString ⇒ Object
BSTR nodeTypeString the type of node in string form
4340 4341 4342 4343 4344 |
# File 'sample/xml.rb', line 4340 def nodeTypeString() ret = _getproperty(21, [], []) @lastargs = WIN32OLE::ARGV ret end |
#nodeValue ⇒ Object
VARIANT nodeValue value stored in the node
4260 4261 4262 4263 4264 |
# File 'sample/xml.rb', line 4260 def nodeValue() ret = _getproperty(3, [], []) @lastargs = WIN32OLE::ARGV ret end |
#nodeValue=(arg0) ⇒ Object
VOID nodeValue value stored in the node
4428 4429 4430 4431 4432 |
# File 'sample/xml.rb', line 4428 def nodeValue=(arg0) ret = _setproperty(3, [arg0], [VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end |
#ownerDocument ⇒ Object
IXMLDOMDocument ownerDocument document that contains the node
4332 4333 4334 4335 4336 |
# File 'sample/xml.rb', line 4332 def ownerDocument() ret = _getproperty(18, [], []) @lastargs = WIN32OLE::ARGV ret end |
#parentNode ⇒ Object
IXMLDOMNode parentNode parent of the node
4276 4277 4278 4279 4280 |
# File 'sample/xml.rb', line 4276 def parentNode() ret = _getproperty(6, [], []) @lastargs = WIN32OLE::ARGV ret end |
#parsed ⇒ Object
BOOL parsed has sub-tree been completely parsed
4396 4397 4398 4399 4400 |
# File 'sample/xml.rb', line 4396 def parsed() ret = _getproperty(31, [], []) @lastargs = WIN32OLE::ARGV ret end |
#prefix ⇒ Object
BSTR prefix the prefix for the namespace applying to the node
4412 4413 4414 4415 4416 |
# File 'sample/xml.rb', line 4412 def prefix() ret = _getproperty(33, [], []) @lastargs = WIN32OLE::ARGV ret end |
#previousSibling ⇒ Object
IXMLDOMNode previousSibling left sibling of the node
4308 4309 4310 4311 4312 |
# File 'sample/xml.rb', line 4308 def previousSibling() ret = _getproperty(10, [], []) @lastargs = WIN32OLE::ARGV ret end |
#removeChild(arg0) ⇒ Object
IXMLDOMNode removeChild remove a child node
IXMLDOMNode arg0 --- childNode [IN]
4481 4482 4483 4484 4485 |
# File 'sample/xml.rb', line 4481 def removeChild(arg0) ret = _invoke(15, [arg0], [VT_BYREF|VT_DISPATCH]) @lastargs = WIN32OLE::ARGV ret end |
#replaceChild(arg0, arg1) ⇒ Object
IXMLDOMNode replaceChild replace a child node
IXMLDOMNode arg0 --- newChild [IN]
IXMLDOMNode arg1 --- oldChild [IN]
4472 4473 4474 4475 4476 |
# File 'sample/xml.rb', line 4472 def replaceChild(arg0, arg1) ret = _invoke(14, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_BYREF|VT_DISPATCH]) @lastargs = WIN32OLE::ARGV ret end |
#selectNodes(arg0) ⇒ Object
IXMLDOMNodeList selectNodes execute query on the subtree
BSTR arg0 --- queryString [IN]
4523 4524 4525 4526 4527 |
# File 'sample/xml.rb', line 4523 def selectNodes(arg0) ret = _invoke(29, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end |
#selectSingleNode(arg0) ⇒ Object
IXMLDOMNode selectSingleNode execute query on the subtree
BSTR arg0 --- queryString [IN]
4532 4533 4534 4535 4536 |
# File 'sample/xml.rb', line 4532 def selectSingleNode(arg0) ret = _invoke(30, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end |
#specified ⇒ Object
BOOL specified indicates whether node is a default value
4356 4357 4358 4359 4360 |
# File 'sample/xml.rb', line 4356 def specified() ret = _getproperty(22, [], []) @lastargs = WIN32OLE::ARGV ret end |
#text ⇒ Object
BSTR text text content of the node and subtree
4348 4349 4350 4351 4352 |
# File 'sample/xml.rb', line 4348 def text() ret = _getproperty(24, [], []) @lastargs = WIN32OLE::ARGV ret end |
#text=(arg0) ⇒ Object
VOID text text content of the node and subtree
4436 4437 4438 4439 4440 |
# File 'sample/xml.rb', line 4436 def text=(arg0) ret = _setproperty(24, [arg0], [VT_BSTR]) @lastargs = WIN32OLE::ARGV ret end |
#transformNode(arg0) ⇒ Object
BSTR transformNode apply the stylesheet to the subtree
IXMLDOMNode arg0 --- stylesheet [IN]
4514 4515 4516 4517 4518 |
# File 'sample/xml.rb', line 4514 def transformNode(arg0) ret = _invoke(28, [arg0], [VT_BYREF|VT_DISPATCH]) @lastargs = WIN32OLE::ARGV ret end |
#transformNodeToObject(arg0, arg1) ⇒ Object
VOID transformNodeToObject apply the stylesheet to the subtree, returning the result through a document or a stream
IXMLDOMNode arg0 --- stylesheet [IN]
VARIANT arg1 --- outputObject [IN]
4542 4543 4544 4545 4546 |
# File 'sample/xml.rb', line 4542 def transformNodeToObject(arg0, arg1) ret = _invoke(35, [arg0, arg1], [VT_BYREF|VT_DISPATCH, VT_VARIANT]) @lastargs = WIN32OLE::ARGV ret end |