org.apache.commons.digester.annotations.providers
Class SetNextRuleProvider

java.lang.Object
  extended by org.apache.commons.digester.annotations.providers.SetNextRuleProvider
All Implemented Interfaces:
AnnotationRuleProvider<SetNext,Method,SetNextRule>

public final class SetNextRuleProvider
extends Object
implements AnnotationRuleProvider<SetNext,Method,SetNextRule>

Provides instances of SetNextRule.

Since:
2.1

Constructor Summary
SetNextRuleProvider()
           
 
Method Summary
 SetNextRule get()
          Provides an instance of Rule.
 void init(SetNext annotation, Method element)
          Initializes the provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetNextRuleProvider

public SetNextRuleProvider()
Method Detail

init

public void init(SetNext annotation,
                 Method element)
Initializes the provider.

Specified by:
init in interface AnnotationRuleProvider<SetNext,Method,SetNextRule>
Parameters:
annotation - the annotation instance.
element - the annotated element reference.

get

public SetNextRule get()
Provides an instance of Rule. Must never return null.

Specified by:
get in interface AnnotationRuleProvider<SetNext,Method,SetNextRule>
Returns:
an instance of Rule.


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.