org.apache.asn1.ber.digester
Class RuleRegistration

java.lang.Object
  extended byorg.apache.asn1.ber.digester.RuleRegistration

public class RuleRegistration
extends java.lang.Object

Document this class.

Version:
$Rev: 157644 $
Author:
Apache Directory Project

Field Summary
private  int[] pattern
          the pattern that is used to register a rule with
private  Rule rule
          the rule registered with the pattern
 
Constructor Summary
RuleRegistration(int[] pattern, Rule rule)
          Create a new rule registration used to track the rules and patterns that are registered with the digester.
 
Method Summary
 int[] getPattern()
          Gets the pattern used to register a rule.
 Rule getRule()
          Gets the rule registered with the pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pattern

private final int[] pattern
the pattern that is used to register a rule with


rule

private final Rule rule
the rule registered with the pattern

Constructor Detail

RuleRegistration

public RuleRegistration(int[] pattern,
                        Rule rule)
Create a new rule registration used to track the rules and patterns that are registered with the digester.

Parameters:
pattern - the pattern used to register a rule with
rule - the rule registered with the pattern
Method Detail

getPattern

public int[] getPattern()
Gets the pattern used to register a rule.

Returns:
the pattern that is used to register a rule

getRule

public Rule getRule()
Gets the rule registered with the pattern.

Returns:
the rule registered with the pattern


Copyright © 2004-2006 . All Rights Reserved.