IRISLIB database
DOMResult Class Reference
Inheritance diagram for DOMResult:
Collaboration diagram for DOMResult:

Public Member Functions

_.Library.Integer AttributeCountGet ()
 AttributeCount Implementation.
 
_.Library.Boolean EOFGet ()
 EOF Implementation.
 
_.Library.Boolean HasAttributesGet ()
 HasAttributes Implementation.
 
_.Library.Boolean HasValueGet ()
 HasValue Implementation.
 
_.Library.Boolean MoveToAttributeIndex (_.Library.String pIndex)
 Moves to the attribute with the specified index. More...
 
_.Library.Boolean MoveToAttributeName (_.Library.String pName, _.Library.String pUri)
 Move to the attribute with the specified name. More...
 
_.Library.Boolean MoveToElement ()
 Moves to the associated element when the current node is of type attribute.
 
_.Library.String NameGet ()
 Name implementation.
 
_.Library.String NodeTypeGet ()
 NodeType implementation.
 
_.Library.String PathGet ()
 Path Implementation.
 
_.Library.Boolean Read ()
 Reads the next node from the stream. More...
 
_.Library.String ReadStateGet ()
 ReadState Implementation.
 
 Rewind ()
 Resets the reader to the initial state.
 
 ValueGet ()
 Value Implementation.
 
- Public Member Functions inherited from Result
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
- Public Member Functions inherited from Persistent
_.Library.Status AcquireLock (_.Library.String locktype)
 Acquires a lock for the current instance. More...
 
_.Library.Status LoadData (_.Library.String id)
 LoadData() - loads an object from storage. More...
 
_.Library.Status OnAfterSave (_.Library.Boolean insert)
 This callback method is invoked by the <METHOD>Save</METHOD> method to. More...
 
_.Library.Status OnBeforeSave (_.Library.Boolean insert)
 This callback method is invoked by the <METHOD>Save</METHOD> method to. More...
 
_.Library.Status OnOpen ()
 This callback method is invoked by the <METHOD>Open</METHOD> method to. More...
 
_.Library.Status OnReload ()
 This callback method is invoked by the <METHOD>Reload</METHOD> method to. More...
 
_.Library.Status OnRollBack ()
 This callback method is invoked by the <METHOD>Save</METHOD> method to. More...
 
_.Library.Status ReleaseLock (_.Library.String locktype)
 Releases a lock for the current instance. More...
 
_.Library.Status SaveData (_.Library.String id)
 SaveData() - saves an object to disk, checks uniqueness and referential More...
 
- Public Member Functions inherited from SwizzleObject
_.Library.Status OnJournalObject (_.Library.Integer tranid, _.Library.Integer jrnid, _.Library.String filter)
 This callback method is invoked by the <METHOD>JournalObject</METHOD> method to. More...
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Public Attributes

 AttributeCount
 Public property, Only applicable to element nodes. More...
 
 EOF
 Public property, true if the reader is positioned at the end of the stream; otherwise, false. More...
 
 HasAttributes
 Public property, Gets a value indicating whether the current node has any attributes. More...
 
 HasValue
 Public property, returns true if the node on which the reader is currently positioned can have a Value;. More...
 
 LocalName
 Public property, The unqualified name of the current node. More...
 
 Name
 Public property, The qualified name of the current node. More...
 
 NodeType
 Public property, contains the node type of the current node as indicated by the. More...
 
 Path
 Public property, contains the current path to the containing element. More...
 
 ReadState
 Public property, returns the current read state of the reader. More...
 
 Uri
 Public property, The uri of the current node. More...
 
 Value
 Public property, returns the value of the current node. More...
 
- Public Attributes inherited from Result
 Type
 This holds the type of the result, $$$XPATHVALUE or $$$XPATHDOM. More...
 
 target
 This holds the key into ^IRIS.Temp which holds the results. More...
 

Private Attributes

 __attrseq
   More...
 
 __seq
   More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Persistent
_.Library.Status DeleteData (_.Library.String id, _.Library.Integer concurrency)
 This method is normally generated by the storage class for persistent classes using. More...
 
_.Library.Status KillExtentData (_.Library.Boolean killstreams)
 KillExtentData() - kills extent data in storage. More...
 
_.Library.Status OnAfterBuildIndices (_.Library.String indexlist)
 This callback method is invoked by the <METHOD>BuildIndices</METHOD> method after all work is completed. More...
 
_.Library.Status OnAfterDelete (_.Library.ObjectIdentity oid)
 This callback method is invoked by the <METHOD>Delete</METHOD> method to. More...
 
_.Library.Status OnAfterPurgeIndices (_.Library.String indexlist)
 This callback method is invoked by the <METHOD>PurgeIndices</METHOD> method after all work is completed. More...
 
_.Library.Status OnBeforeBuildIndices (_.Library.String indexlist)
 
_.Library.Status OnBeforePurgeIndices (_.Library.String indexlist)
 
_.Library.Status OnDelete (_.Library.ObjectIdentity oid)
 This callback method is invoked by the <METHOD>Delete</METHOD> method to. More...
 
- Static Public Attributes inherited from Persistent
 XCOMPACTANCESTRY
 XCOMPACTANCESTRY can be set to a string to replace the value of the %CLASSNAME property (x__classname field) More...
 
 DATALOCATIONGLOBAL = None
 Global name containing master map data for this class. More...
 
 DEFAULTGLOBAL = None
 
 DSCONDITION = None
 DSCONDITION is the expression that will be evaluated before deciding whether certain actions must be taken. More...
 
 DSINTERVAL = None
 DSINTERVAL is the number of seconds between one DSTIME value and the next. More...
 
 DSTIME = None
 If the DSTIME parameter is set to AUTO then the most recent filing operation in the current DSTIME value. More...
 
 EXTENTQUERYSPEC = None
 The EXTENTQUERYSPEC parameter defines the properties to be retrieved in. More...
 
 EXTENTSIZE = None
 The EXTENTSIZE parameter is used to inform the SQL Query Optimizer More...
 
 GUIDENABLED = None
 If this parameter is set to 1 then a GUID will be assigned (to the GUID property) to each new object. More...
 
 IDENTIFIEDBY = None
 The IDENTIFIEDBY parameter can optionally be set to the name. More...
 
 MANAGEDEXTENT = None
 The MANAGEDEXTENT parameter can be set to 0 (zero) to cause the Extent Manager. More...
 
 READONLY = None
 READONLY = 1 means that objects can be created, opened but not saved or deleted. More...
 
 ROWLEVELSECURITY = None
 ROWLEVELSECURITY = 1 | <property> means that row level security is active and the list More...
 
 SQLPREVENTFULLSCAN = None
 SQLPREVENTFULLSCAN = 1 means an attempt to prepare a query that will result in a full scan More...
 
 STORAGEDEFAULT = None
 STORAGEDEFAULT defines the default storage allocation to use for properties in this class. More...
 
 USEEXTENTSET = None
 
 VERSIONCLIENTNAME = None
 VERSIONCLIENTNAME can be set to a valid CLIENTNAME (see property CLIENTNAME) value. More...
 
 VERSIONPROPERTY = None
 VERSIONPROPERTY = <property> means that the <property> in memory will be compared to. More...
 
- Static Public Attributes inherited from SwizzleObject
 DEFAULTCONCURRENCY = None
 DEFAULTCONCURRENCY is the default value for the concurrency formal argument. More...
 
 JOURNALSTREAM = None
 If OBJJOURNAL is true then the value of the JOURNALSTREAM parameter defines whether or not. More...
 
 OBJJOURNAL = None
 if OBJJOURNAL is TRUE then inserts, updates and deletes will be logged in ^OBJ.JournalT More...
 
- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Member Function Documentation

◆ MoveToAttributeIndex()

_.Library.Boolean MoveToAttributeIndex ( _.Library.String  pIndex)

Moves to the attribute with the specified index.

Returns 'true' on success, 'false' otherwise

◆ MoveToAttributeName()

_.Library.Boolean MoveToAttributeName ( _.Library.String  pName,
_.Library.String  pUri 
)

Move to the attribute with the specified name.

Returns 'true' on success, 'false' otherwise

◆ Read()

Reads the next node from the stream.

Returns true if the next node was read successfully; false if there are no more nodes to read. When an DOMResult is first created and initialized, there is no information available. You must call Read to read the first node.

Member Data Documentation

◆ AttributeCount

AttributeCount

Public property, Only applicable to element nodes.

Returns the number of attributes on the current node.

 

◆ EOF

EOF

Public property, true if the reader is positioned at the end of the stream; otherwise, false.

 

◆ HasAttributes

HasAttributes

Public property, Gets a value indicating whether the current node has any attributes.

true if the current node has attributes; otherwise, false.  

◆ HasValue

HasValue

Public property, returns true if the node on which the reader is currently positioned can have a Value;.

 

◆ LocalName

LocalName

Public property, The unqualified name of the current node.

The name returned is dependent on the NodeType of the node.

 

◆ Name

Name

Public property, The qualified name of the current node.

The name returned is dependent on the NodeType of the node.

 

◆ NodeType

NodeType

Public property, contains the node type of the current node as indicated by the.

following table:-

Node Type

attribute chars cdata comment document documentfragment documenttype element entity entityreference notation processinginstruction  

◆ Path

Path

Public property, contains the current path to the containing element.

 

◆ ReadState

ReadState

Public property, returns the current read state of the reader.

The following table lists the states and their meanings State Meaning


eof The end of the file has been reached successfully. initial The Read method has not been called. cursoractive The Read method has been called. Additional methods may be called on the reader.  

◆ Uri

Uri

Public property, The uri of the current node.

The name returned is dependent on the NodeType of the node.

 

◆ Value

Value

Public property, returns the value of the current node.

If the value is <32k in length then a string

will be returned, if greater then a character stream  

◆ __attrseq

__attrseq
private

 

 

◆ __seq

__seq
private