Example usage for org.apache.commons.digester3 RegexRules RegexRules

List of usage examples for org.apache.commons.digester3 RegexRules RegexRules

Introduction

In this page you can find the example usage for org.apache.commons.digester3 RegexRules RegexRules.

Prototype

public RegexRules(RegexMatcher matcher) 

Source Link

Document

Construct sets the Regex matching strategy.

Usage

From source file:com.petpet.c3po.adaptor.fits.FITSAdaptor.java

/**
 * A default constructor that initialises the digester and sets up the parsing
 * rules./* ww w .  j a  v a 2s  .  c  om*/
 */
public FITSAdaptor() {
    this.digester = new Digester(); // not thread safe
    this.digester.setRules(new RegexRules(new SimpleRegexMatcher()));
    this.createParsingRules();
}