public class XmlSchemaValidationRule extends Rule
| Constructor and Description |
|---|
XmlSchemaValidationRule(XmlSchemaExternalType schemaNode,
ResourceLoader resourceLoader) |
| Modifier and Type | Method and Description |
|---|---|
Node |
apply(Node node) |
String |
getDescription() |
QName |
getRootElement(String xmlContent) |
List<Suggestion> |
getSuggestions(Node node,
ParsingContext context) |
boolean |
matches(Node node) |
cleanFactory, createNodeUsingFactory, getChildren, getFactory, getSuggestions, named, ruleName, then, then, toStringpublic XmlSchemaValidationRule(XmlSchemaExternalType schemaNode, ResourceLoader resourceLoader)
@Nonnull public List<Suggestion> getSuggestions(Node node, ParsingContext context)
getSuggestions in class Rule@Nullable public QName getRootElement(String xmlContent) throws XMLStreamException
XMLStreamExceptionpublic String getDescription()
getDescription in class RuleCopyright © 2017. All rights reserved.