blob: 88a21dc3721a4b3b3806df55e37c7b097e506d44 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2007, 2019 IBM Corporation and others.
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
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
Contributors:
IBM Corporation - initial API and implementation
-->
<md:metadatamodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:md="http://org.eclipse.jst.jsf.common.metadata/metadata.ecore"
xmlns:pi="http://org.eclipse.jsf.pagedesigner/paletteInfos.ecore"
id="org.eclipse.jst.pagedesigner.tests.tagCreatorFactory1"
type="tagFile">
<trait id="is-jsf-component-library">
<value>true</value>
</trait>
<entity id="tagWithMetadata" type="tag">
<trait id="tag-create">
<value xsi:type="pi:TagCreationInfo">
<attribute id="requiredAttr1" value="foobar"/>
<attribute id="notRequiredAttr1" value="someOtherFooBar"/>
<template><![CDATA[
<outputText value="CommandLink"
_uri_="http://java.sun.com/jsf/html" />
]]></template>
</value>
</trait>
</entity>
<entity id="tagWithRequiredAttr2" type="tag">
<trait id="tag-create">
<value xsi:type="pi:TagCreationInfo">
<attribute id="requiredAttr1" value="foobar"/>
</value>
</trait>
</entity>
</md:metadatamodel>