public class XMLValidationRootSettings extends XMLValidationSettings
XMLValidationRootSettingsfilters can be used to define
custom validation rule for a given file pattern:
[
{
"pattern": "**.exsd",
"enabled": false
},
{
"pattern": "**{.project,.classpath,plugin.xml,feature.xml,category.xml,.target,.product}",
"noGrammar": "ignore"
}
]
| Constructor and Description |
|---|
XMLValidationRootSettings() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
XMLValidationFilter[] |
getFilters()
Returns validation filters to define custom validation rule for a given file
pattern and null otherwise.
|
XMLValidationSettings |
getValidationSettings(String uri)
Returns the validation settings for the given uri and the global validation
settings otherwise.
|
int |
hashCode() |
XMLValidationRootSettings |
merge(XMLValidationRootSettings settings) |
void |
setFilters(XMLValidationFilter[] filters) |
getNamespaces, getNoGrammar, getNoGrammarSeverity, getSchema, getXInclude, isDisallowDocTypeDecl, isEnabled, isRelatedInformation, isResolveExternalEntities, merge, setCapabilities, setDisallowDocTypeDecl, setEnabled, setNamespaces, setNoGrammar, setResolveExternalEntities, setSchema, setXIncludepublic XMLValidationFilter[] getFilters()
public void setFilters(XMLValidationFilter[] filters)
public XMLValidationSettings getValidationSettings(String uri)
uri - the XML document to validate.public XMLValidationRootSettings merge(XMLValidationRootSettings settings)
public int hashCode()
hashCode in class XMLValidationSettingspublic boolean equals(Object obj)
equals in class XMLValidationSettingsCopyright © 2024. All rights reserved.