Skip to main content

Ens.BPL.UI.DiagramImportHandler

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

A SAX-handler for parsing a BPL diagram document.

Property Inventory

Method Inventory

Properties

property Connector as Connector;
Transient object used during parsing.
Property methods: ConnectorGet(), ConnectorGetSwizzled(), ConnectorIsValid(), ConnectorNewObject(), ConnectorSet()
property CurrMessage as Ens.BPL.Message;
Transient object used during parsing.
Property methods: CurrMessageGet(), CurrMessageGetSwizzled(), CurrMessageIsValid(), CurrMessageNewObject(), CurrMessageSet()
property Diagram as Diagram;
Result of parsing.
Property methods: DiagramGet(), DiagramGetSwizzled(), DiagramIsValid(), DiagramNewObject(), DiagramSet()
property InAnnotation as %Boolean [ InitialExpression = 0 ];
Property methods: InAnnotationDisplayToLogical(), InAnnotationGet(), InAnnotationIsValid(), InAnnotationLogicalToDisplay(), InAnnotationNormalize(), InAnnotationSet()
property InCode as %Boolean [ InitialExpression = 0 ];
Property methods: InCodeDisplayToLogical(), InCodeGet(), InCodeIsValid(), InCodeLogicalToDisplay(), InCodeNormalize(), InCodeSet()
property InPyFromImport as %Boolean [ InitialExpression = 0 ];
Property methods: InPyFromImportDisplayToLogical(), InPyFromImportGet(), InPyFromImportIsValid(), InPyFromImportLogicalToDisplay(), InPyFromImportNormalize(), InPyFromImportSet()
property Index as %String [ MultiDimensional ];
Index of shapes subscripted by index no.
Property methods: IndexDisplayToLogical(), IndexGet(), IndexIsValid(), IndexLogicalToDisplay(), IndexLogicalToOdbc(), IndexNormalize(), IndexSet()
property Property as Ens.BPL.Property;
Transient object used during parsing.
Property methods: PropertyGet(), PropertyGetSwizzled(), PropertyIsValid(), PropertyNewObject(), PropertySet()
property Shape as Shape;
Transient object used during parsing.
Property methods: ShapeGet(), ShapeGetSwizzled(), ShapeIsValid(), ShapeNewObject(), ShapeSet()

Methods

method characters(chars As %Library.String, length As %Library.Integer)
Inherited description: 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)
Inherited description: 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)
Inherited description: 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

Inherited Members

Inherited Methods

FeedbackOpens in a new tab