<?xml version='1.0' encoding='UTF-8'?> <!-- Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. The contents of this file are subject to the terms of either the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl or the following license: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> <schema targetNamespace="org.openjdk.jmc.flightrecorder.ui" xmlns="http://www.w3.org/2001/XMLSchema"> <annotation> <appInfo> <meta.schema plugin="org.openjdk.jmc.flightrecorder.ui" id="datapage" name="Flight Recorder Data Page"/> </appInfo> <documentation> Data display page for flight recorder user interface </documentation> </annotation> <element name="extension"> <annotation> <appInfo> <meta.element /> </appInfo> </annotation> <complexType> <choice minOccurs="1" maxOccurs="unbounded"> <element ref="factory"/> <element ref="pages"/> </choice> <attribute name="point" type="string" use="required"> <annotation> <documentation> </documentation> </annotation> </attribute> <attribute name="id" type="string"> <annotation> <documentation> </documentation> </annotation> </attribute> <attribute name="name" type="string"> <annotation> <documentation> </documentation> <appInfo> <meta.attribute translatable="true"/> </appInfo> </annotation> </attribute> </complexType> </element> <element name="factory"> <annotation> <documentation> Factories for creating data page instances. </documentation> </annotation> <complexType> <attribute name="id" type="string" use="required"> <annotation> <documentation> </documentation> </annotation> </attribute> <attribute name="class" type="string" use="required"> <annotation> <documentation> </documentation> <appInfo> <meta.attribute kind="java" basedOn=":org.openjdk.jmc.flightrecorder.ui.pages.IDataPageFactory"/> </appInfo> </annotation> </attribute> </complexType> </element> <element name="pages"> <annotation> <documentation> Pages that are added to the UI model if no persisted state is found. </documentation> </annotation> <complexType> <sequence minOccurs="0" maxOccurs="unbounded"> <element ref="page"/> </sequence> <attribute name="weight" type="string"> <annotation> <documentation> A sorting key. Page collections are sorted by comparing this attribute lexically. Page collections without a weight are placed below collections with a weight. </documentation> </annotation> </attribute> <attribute name="file" type="string"> <annotation> <documentation> XML file where a child elements of the root element are page elements </documentation> <appInfo> <meta.attribute kind="resource"/> </appInfo> </annotation> </attribute> </complexType> </element> <element name="page"> <annotation> <documentation> Pages that are added to the UI model if no persisted state is found. </documentation> </annotation> <complexType> <attribute name="parent" type="string"> <annotation> <documentation> </documentation> </annotation> </attribute> <attribute name="id" type="string" use="required"> <annotation> <documentation> </documentation> </annotation> </attribute> <attribute name="factory" type="string" use="required"> <annotation> <documentation> </documentation> <appInfo> <meta.attribute kind="identifier" basedOn="org.openjdk.jmc.flightrecorder.ui.datapage/factory/@id"/> </appInfo> </annotation> </attribute> </complexType> </element> <annotation> <appInfo> <meta.section type="since"/> </appInfo> <documentation> 6.0.0 </documentation> </annotation> <annotation> <appInfo> <meta.section type="copyright"/> </appInfo> <documentation> Copyright (c) 2018, 2020, Oracle and/or its affiliates. </documentation> </annotation> </schema>