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

java.lang.Object
  extended by org.apache.commons.digester.annotations.providers.SetRootRuleProvider
All Implemented Interfaces:
AnnotationRuleProvider<SetRoot,Method,SetRootRule>

public final class SetRootRuleProvider
extends Object
implements AnnotationRuleProvider<SetRoot,Method,SetRootRule>

Provides instances of SetRootRule.

Since:
2.1

Constructor Summary
SetRootRuleProvider()
           
 
Method Summary
 SetRootRule get()
          Provides an instance of Rule.
 void init(SetRoot 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

SetRootRuleProvider

public SetRootRuleProvider()
Method Detail

init

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

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

get

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

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


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