Home > Class Reference > ENSLIB namespace > %XML.XPATH.ResultHandler

%XML.XPATH.ResultHandler

class %XML.XPATH.ResultHandler extends %Library.RegisteredObject

Handles results of XPATH expression validation

Methods

method Attribute(pIndex As %Integer, pParent As %Integer, pName As %String, pLocalName As %String, pUri As %String, pValue As %String) [ Language = objectscript ]
method EndMatch(pMatch As %Integer) [ Language = objectscript ]
This method is called when a match is completed
method Node(pIndex As %Integer, pParent As %Integer, pNodeType As %Integer, pName As %String, pLocalName As %String, pUri As %String) [ Language = objectscript ]
method NodeType(pNodeType As %Integer = "") as %String [ Language = objectscript ]
method Result(pChunk As %Integer, pResult As %String) [ Language = objectscript ]
method StartMatch(pResultType As %Integer) [ Language = objectscript ]
This method is called when a match is made. It specifies the Match key as well as the result type. The type may be $$$XPATHVALUE or $$$XPATHDOM
method Value(pIndex As %Integer, pChunk As %Integer, pValue As %String) [ Language = objectscript ]

Inherited Methods

%AddToSaveSet() %DispatchSetModified() %NormalizeObject()
%ClassIsLatestVersion() %DispatchSetMultidimProperty() %ObjectModified()
%ClassName() %DispatchSetProperty() %OriginalNamespace()
%ConstructClone() %Extends() %PackageName()
%DispatchClassMethod() %GetParameter() %RemoveFromSaveSet()
%DispatchGetModified() %IsA() %SerializeObject()
%DispatchGetProperty() %IsModified() %SetModified()
%DispatchMethod() %New() %ValidateObject()

Subclasses

%XML.XPATH.Utils.TreeBuilder