net.sf.jasperreports.engine.xml
Class TransformedPropertyRule

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

public abstract class TransformedPropertyRule
extends Rule

Version:
$Id: TransformedPropertyRule.java 3034 2009-08-27 11:58:04Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Field Summary
protected  java.lang.String attributeName
           
protected  java.lang.String propertyName
           
 
Constructor Summary
protected TransformedPropertyRule(java.lang.String attributeName)
           
protected TransformedPropertyRule(java.lang.String attributeName, java.lang.String propertyName)
           
 
Method Summary
 void begin(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attributes)
           
protected abstract  java.lang.Object toPropertyValue(java.lang.String attributeValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributeName

protected final java.lang.String attributeName

propertyName

protected final java.lang.String propertyName
Constructor Detail

TransformedPropertyRule

protected TransformedPropertyRule(java.lang.String attributeName)

TransformedPropertyRule

protected TransformedPropertyRule(java.lang.String attributeName,
                                  java.lang.String propertyName)
Method Detail

begin

public void begin(java.lang.String namespace,
                  java.lang.String name,
                  org.xml.sax.Attributes attributes)
           throws java.lang.Exception
Throws:
java.lang.Exception

toPropertyValue

protected abstract java.lang.Object toPropertyValue(java.lang.String attributeValue)


© 2001-2009 Jaspersoft Corporation www.jaspersoft.com