<!ELEMENT extension (validator)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #REQUIRED
name CDATA #REQUIRED>
<!ELEMENT validator (projectNature* , filter* , enablement* , helper , dependentValidator? , run , markerId? , facet* , contentTypeBinding*)>
<!ATTLIST validator
to CDATA #IMPLIED
from CDATA #IMPLIED>
<!ELEMENT projectNature EMPTY>
<!ATTLIST projectNature
id CDATA #REQUIRED
include (true | false) >
<!ELEMENT contentTypeBinding EMPTY>
<!ATTLIST contentTypeBinding
contentTypeId CDATA #REQUIRED>
Associates a particular content type with the current validator, and enables the validator to be run on resources of the specified content type.
<!ELEMENT filter EMPTY>
<!ATTLIST filter
objectClass CDATA #REQUIRED
nameFilter CDATA #REQUIRED
caseSensitive (true | false)
action CDATA #IMPLIED>
<!ELEMENT helper EMPTY>
<!ATTLIST helper
class CDATA #REQUIRED>
<!ELEMENT dependentValidator EMPTY>
<!ATTLIST dependentValidator
depValValue (true | false) >
<!ELEMENT run EMPTY>
<!ATTLIST run
class CDATA #REQUIRED
incremental (true | false)
enabled (true | false)
fullBuild (true | false)
async (true | false) >
<!ELEMENT markerId EMPTY>
<!ATTLIST markerId
markerIdValue CDATA #IMPLIED>
The markerId element is is used to get a custom problem marker for the custom validator implemented using this extension point
This markerId element also needs a corresponding problemMarker extension to be defined bythis validator with the same Id as the makerIdValue for the validator to have its own marker type. Here is an example of the a problemMarker extension defined for a markerIdValue "FooMarker"
<!ELEMENT facet EMPTY>
<!ATTLIST facet
facetId CDATA #IMPLIED>
This element is deprecated and enablement is the new recommended approach to filter validators based on facets.
Copyright (c) 2005 IBM Corporation 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