Class TransformedPropertyRule

java.lang.Object
org.apache.commons.digester.Rule
net.sf.jasperreports.engine.xml.TransformedPropertyRule
Direct Known Subclasses:
ColorPropertyRule, OrientationRule, UuidPropertyRule, XmlConstantPropertyRule

public abstract class TransformedPropertyRule extends org.apache.commons.digester.Rule
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
  • Field Details

    • attributeName

      protected final String attributeName
    • propertyName

      protected final String propertyName
  • Constructor Details

    • TransformedPropertyRule

      protected TransformedPropertyRule(String attributeName)
    • TransformedPropertyRule

      protected TransformedPropertyRule(String attributeName, String propertyName)
  • Method Details

    • begin

      public void begin(String namespace, String name, Attributes attributes) throws Exception
      Overrides:
      begin in class org.apache.commons.digester.Rule
      Throws:
      Exception
    • toPropertyValue

      protected abstract Object toPropertyValue(String attributeValue)