<!ELEMENT extension (validator+)>
<!ATTLIST extension
point CDATA #REQUIRED>
(no description available)
<!ELEMENT facet EMPTY>
<!ATTLIST facet
id CDATA #REQUIRED
version CDATA #IMPLIED>
Used to reference one or more version of a project facet.
<!ATTLIST validator
class CDATA #REQUIRED>
Declares a faceted project validator. The validator can be restricted to projects containing specific facets.
The following example declares a validator that applies to projects that have facet1 (version 1.3 or 2.5) and facet2 (any version) installed.
<extension point=
"org.eclipse.wst.common.project.facet.core.validators"
>
<validator class=
"com.mycorp.MyValidator1"
>
<facet id=
"facet1"
version=
"1.3,2.5"
/>
<facet id=
"facet2"
/>
</validator>
</extension>
The second example declares a validator that applies to all faceted projects.
<extension point=
"org.eclipse.wst.common.project.facet.core.validators"
>
<validator class=
"com.mycorp.MyValidator2"
/>
</extension>
Copyright (c) 2005 BEA Systems, Inc. and others.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html