net.sf.jasperreports.engine.xml
Class TransformedPropertyRule

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

public abstract class TransformedPropertyRule
extends org.apache.commons.digester.Rule

Version:
$Id: TransformedPropertyRule.java 4595 2011-09-08 15:55:10Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Field Summary
protected  String attributeName
           
protected  String propertyName
           
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
protected TransformedPropertyRule(String attributeName)
           
protected TransformedPropertyRule(String attributeName, String propertyName)
           
 
Method Summary
 void begin(String namespace, String name, Attributes attributes)
           
protected abstract  Object toPropertyValue(String attributeValue)
           
 
Methods inherited from class org.apache.commons.digester.Rule
begin, body, body, end, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributeName

protected final String attributeName

propertyName

protected final String propertyName
Constructor Detail

TransformedPropertyRule

protected TransformedPropertyRule(String attributeName)

TransformedPropertyRule

protected TransformedPropertyRule(String attributeName,
                                  String propertyName)
Method Detail

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)


Copyright © 2012. All Rights Reserved.