public class AbstractXmlRule extends AbstractRule implements ImmutableLanguage
visit(XmlNode, RuleContext)
and can call super
to visit children.Modifier and Type | Field and Description |
---|---|
static BooleanProperty |
COALESCING_DESCRIPTOR |
static BooleanProperty |
EXPAND_ENTITY_REFERENCES_DESCRIPTOR |
static BooleanProperty |
IGNORING_COMMENTS_DESCRIPTOR |
static BooleanProperty |
IGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTOR |
static BooleanProperty |
NAMESPACE_AWARE_DESCRIPTOR |
static BooleanProperty |
VALIDATING_DESCRIPTOR |
static BooleanProperty |
XINCLUDE_AWARE_DESCRIPTOR |
propertyDescriptors, propertyValuesByDescriptor
VIOLATION_SUPPRESS_REGEX_DESCRIPTOR, VIOLATION_SUPPRESS_XPATH_DESCRIPTOR
Modifier | Constructor and Description |
---|---|
|
AbstractXmlRule() |
protected |
AbstractXmlRule(Language language) |
Modifier and Type | Method and Description |
---|---|
void |
apply(List<? extends Node> nodes,
RuleContext ctx)
Apply this rule to the given collection of nodes, using the given
context.
|
ParserOptions |
getParserOptions()
This implementation returns a new instance of
ParserOptions using default settings. |
protected void |
visit(XmlNode node,
RuleContext ctx) |
protected void |
visitAll(List<? extends Node> nodes,
RuleContext ctx) |
addExample, addRuleChainVisit, addRuleChainVisit, addViolation, addViolation, addViolation, addViolationWithMessage, addViolationWithMessage, addViolationWithMessage, deepCopyValuesTo, end, equals, getDescription, getExamples, getExternalInfoUrl, getLanguage, getMaximumLanguageVersion, getMessage, getMinimumLanguageVersion, getName, getPriority, getRuleChainVisits, getRuleClass, getRuleSetName, getSince, hashCode, isDeprecated, setDeprecated, setDescription, setExternalInfoUrl, setLanguage, setMaximumLanguageVersion, setMessage, setMinimumLanguageVersion, setName, setPriority, setRuleClass, setRuleSetName, setSince, setUsesDFA, setUsesTypeResolution, start, usesDFA, usesRuleChain, usesTypeResolution
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues
public static final BooleanProperty COALESCING_DESCRIPTOR
public static final BooleanProperty EXPAND_ENTITY_REFERENCES_DESCRIPTOR
public static final BooleanProperty IGNORING_COMMENTS_DESCRIPTOR
public static final BooleanProperty IGNORING_ELEMENT_CONTENT_WHITESPACE_DESCRIPTOR
public static final BooleanProperty NAMESPACE_AWARE_DESCRIPTOR
public static final BooleanProperty VALIDATING_DESCRIPTOR
public static final BooleanProperty XINCLUDE_AWARE_DESCRIPTOR
public AbstractXmlRule()
protected AbstractXmlRule(Language language)
public ParserOptions getParserOptions()
AbstractRule
ParserOptions
using default settings.getParserOptions
in interface Rule
getParserOptions
in class AbstractRule
Rule.setPriority(RulePriority)
public void apply(List<? extends Node> nodes, RuleContext ctx)
Rule
protected void visitAll(List<? extends Node> nodes, RuleContext ctx)
protected void visit(XmlNode node, RuleContext ctx)
Copyright © 2002–2016 InfoEther. All rights reserved.