Constructors
constructor
- new XMITree(origin: string, xml: Element): XMITree
-
Parameters
-
origin: string
-
xml: Element
Methods
Private createTree
- createTree(xml: Element): XMINode | null
Private extractXMIInfo
- extractXMIInfo(element: Element): object
-
Parameters
Returns object
-
Optional href?: undefined | string
-
Optional id?: undefined | string
-
Optional idref?: undefined | string
-
Optional name?: undefined | string
-
Optional type?: undefined | string
Private getXMIType
- getXMIType(xml: Element): null | [string, string]
-
Parameters
Returns null
|
[string, string]
Private resolveRefNodes
-
Parameters
Returns Promise<any>
Creates an XMI tree from an XML structure