Class JRComponentRule

java.lang.Object
org.apache.commons.digester.Rule
net.sf.jasperreports.engine.xml.JRComponentRule

public class JRComponentRule extends org.apache.commons.digester.Rule
A digester rule that links a Component object with its parent JRDesignComponentElement.

This rules also sets the component type key on the component element via JRDesignComponentElement.setComponentKey(ComponentKey). The component type key is created based on information from the XML component node; the node namespace is used as component type namespace and the node name is used as component name.

Author:
Lucian Chirita (lucianc@users.sourceforge.net)
  • Field Details

    • EXCEPTION_MESSAGE_KEY_INVALID_INSTANCE

      public static final String EXCEPTION_MESSAGE_KEY_INVALID_INSTANCE
      See Also:
  • Constructor Details

    • JRComponentRule

      public JRComponentRule()
  • Method Details