org.quartz.xml
Class JobSchedulingDataProcessor.MisfireInstructionRule

java.lang.Object
  extended by org.apache.commons.digester.Rule
      extended by org.apache.commons.digester.BeanPropertySetterRule
          extended by org.quartz.xml.JobSchedulingDataProcessor.MisfireInstructionRule
Enclosing class:
JobSchedulingDataProcessor

public class JobSchedulingDataProcessor.MisfireInstructionRule
extends org.apache.commons.digester.BeanPropertySetterRule

This rule translates the trigger misfire instruction constant name into its corresponding value.

TODO Consider removing this class and using a org.apache.commons.digester.Substitutor strategy once Jakarta Commons Digester 1.6 is final.

Author:
Chris Bonham

Field Summary
 
Fields inherited from class org.apache.commons.digester.BeanPropertySetterRule
bodyText, propertyName
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
JobSchedulingDataProcessor.MisfireInstructionRule(java.lang.String propertyName)
          Construct rule that sets the given property from the body text.
 
Method Summary
 void body(java.lang.String namespace, java.lang.String name, java.lang.String text)
          Process the body text of this element.
 
Methods inherited from class org.apache.commons.digester.BeanPropertySetterRule
end, finish, toString
 
Methods inherited from class org.apache.commons.digester.Rule
begin, begin, body, end, getDigester, getNamespaceURI, setDigester, setNamespaceURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobSchedulingDataProcessor.MisfireInstructionRule

public JobSchedulingDataProcessor.MisfireInstructionRule(java.lang.String propertyName)

Construct rule that sets the given property from the body text.

Parameters:
propertyName - name of property to set
Method Detail

body

public void body(java.lang.String namespace,
                 java.lang.String name,
                 java.lang.String text)
          throws java.lang.Exception
Process the body text of this element.

Overrides:
body in class org.apache.commons.digester.BeanPropertySetterRule
Parameters:
namespace - the namespace URI of the matching element, or an empty string if the parser is not namespace aware or the element has no namespace
name - the local name if the parser is namespace aware, or just the element name otherwise
text - The text of the body of this element
Throws:
java.lang.Exception


Copyright © 2011. All Rights Reserved.