Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [Ens] >  [BPL] >  [UI] >  [DiagramImportHandler]
Private  Storage   

class Ens.BPL.UI.DiagramImportHandler extends %XML.SAX.ContentHandler

A SAX-handler for parsing a BPL diagram document.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
9 4


Summary

Properties
Connector CurrMessage Diagram InAnnotation InCode
InPyFromImport Index Property Shape

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
LocatePosition Mask OnPostParse PopHandler
PushHandler characters comment endCDATA
endDTD endDocument endElement endEntity
endPrefixMapping error fatalError ignorableWhitespace
processingInstruction skippedEntity startCDATA startDTD
startDocument startElement startEntity startPrefixMapping
warning


Properties

• property Connector as Connector;
Transient object used during parsing.
• property CurrMessage as Ens.BPL.Message;
Transient object used during parsing.
• property Diagram as Diagram;
Result of parsing.
• property InAnnotation as %Boolean [ InitialExpression = 0 ];
• property InCode as %Boolean [ InitialExpression = 0 ];
• property InPyFromImport as %Boolean [ InitialExpression = 0 ];
• property Index as %String [ MultiDimensional ];
Index of shapes subscripted by index no.
• property Property as Ens.BPL.Property;
Transient object used during parsing.
• property Shape as Shape;
Transient object used during parsing.

Methods

• method characters(chars As %Library.String, length As %Library.Integer)
Receive notification of character data inside an element.

By default, do nothing. Application writers may override this method to take specific actions for each chunk of character data (such as adding the data to a node or buffer, or printing it to a file).

  • chars: The characters.
  • length: The number of characters to use from the character array.
• method endElement(uri As %Library.String, localname As %Library.String, qname As %Library.String)
Receive notification of the end of an element.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each element (such as finalising a tree node or writing output to a file).

  • uri: The URI of the associated namespace for this element
  • localname: The local part of the element name
  • qname: The QName of this element

• method startElement(uri As %Library.String, localname As %Library.String, qname As %Library.String, attrs As %Library.List)
Receive notification of the start of an element.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writin output to a file).

  • uri: The URI of the associated namespace for this element
  • localname: the local part of the element name
  • qname: the QName of this element
  • attrs: a list in $List format consisting of a repeating group of attributes.

The format of the repeating group is as follows:

  • +0 - uri: The URI of the associated namespace for this attribute
  • +1 - localname: The local part of the name of this attribute
  • +2 - qname: The QName of this attribute
  • +3 - type: The type of this attribute ("CDATA", NMTOKEN", "ENTITY", etc.)
  • +4 - value: The value of this attribute



Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.