Example usage for org.dom4j.rule Rule Rule

List of usage examples for org.dom4j.rule Rule Rule

Introduction

In this page you can find the example usage for org.dom4j.rule Rule Rule.

Prototype

public Rule(Rule that, Pattern pattern) 

Source Link

Document

Constructs a new Rule with the same instance data as the given rule but a different pattern.

Usage

From source file:org.apache.commons.jelly.tags.jsl.TemplateTag.java

License:Apache License

protected Rule createRule(StylesheetTag tag, XMLOutput output) {
    return new Rule(match, createAction(tag, output));
}

From source file:org.apache.taglibs.xtags.xpath.TemplateTag.java

License:Apache License

protected Rule createRule() {
    Rule rule = new Rule(pattern, getAction());
    rule.setMode(mode);
    return rule;
}