| <?xml version='1.0' encoding='UTF-8'?> | |
| <!-- Schema file written by PDE --> | |
| <schema targetNamespace="org.eclipse.mat.api" xmlns="http://www.w3.org/2001/XMLSchema"> | |
| <annotation> | |
| <appInfo> | |
| <meta.schema plugin="org.eclipse.mat.api" id="factory" name="Snapshot Factory"/> | |
| </appInfo> | |
| <documentation> | |
| This is an internal extension point. The implementation of the factory | |
| to create snapshot instances is packaged in a separate plug-in. | |
| </documentation> | |
| </annotation> | |
| <element name="extension"> | |
| <annotation> | |
| <appInfo> | |
| <meta.element /> | |
| </appInfo> | |
| </annotation> | |
| <complexType> | |
| <sequence> | |
| <element ref="factory"/> | |
| </sequence> | |
| <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"> | |
| <complexType> | |
| <attribute name="impl" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| implementor of <a href="org/eclipse/mat/snapshot/SnapshotFactory.Implementation.html"><samp>org.eclipse.mat.snapshot.SnapshotFactory.Implementation</samp></a>. | |
| </documentation> | |
| <appInfo> | |
| <meta.attribute kind="java" basedOn=":org.eclipse.mat.snapshot.SnapshotFactory.Implementation"/> | |
| </appInfo> | |
| </annotation> | |
| </attribute> | |
| </complexType> | |
| </element> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="since"/> | |
| </appInfo> | |
| <documentation> | |
| 0.7.0 | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="examples"/> | |
| </appInfo> | |
| <documentation> | |
| Following is an example of a query declaration: | |
| <p> | |
| <pre> | |
| <extension point="org.eclipse.mat.api.factory"> | |
| <factory impl="org.eclipse.mat.parser.internal.SnapshotFactoryImpl" /> | |
| </extension> | |
| </pre> | |
| </p> | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="implementation"/> | |
| </appInfo> | |
| <documentation> | |
| The default implementation <code>org.eclipse.mat.parser.internal.SnapshotFactoryImpl</code> lives in the <samp>org.eclipse.mat.parser</samp> plug-in. | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="copyright"/> | |
| </appInfo> | |
| <documentation> | |
| Copyright (c) 2008,2011 SAP AG and others.<br> | |
| All rights reserved. This program and the accompanying materials are made | |
| available under the terms of the Eclipse Public License 2.0 which | |
| accompanies this distribution, and is available at | |
| <a href="https://www.eclipse.org/legal/epl-2.0/">https://www.eclipse.org/legal/epl-2.0/</a> | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="apiInfo"/> | |
| </appInfo> | |
| <documentation> | |
| The value of the impl attribute must represent an implementor of <a href="org/eclipse/mat/snapshot/SnapshotFactory.Implementation.html"><samp>org.eclipse.mat.snapshot.SnapshotFactory.Implementation</samp></a>. | |
| The <samp>org.eclipse.mat.snapshot.SnapshotFactory</samp> class in the <samp>org.eclipse.mat.api</samp> plug-in calls the implementation. | |
| </documentation> | |
| </annotation> | |
| </schema> |