Class JRPartComponentRule


  • public class JRPartComponentRule
    extends org.apache.commons.digester.Rule
    A digester rule that links a PartComponent object with its parent JRDesignPart.

    This rules also sets the component type key on the report part via JRDesignPart.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 Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String EXCEPTION_MESSAGE_KEY_INVALID_INSTANCE  
      • Fields inherited from class org.apache.commons.digester.Rule

        digester, namespaceURI
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void end​(java.lang.String namespace, java.lang.String name)  
      static JRPartComponentRule newInstance()  
      • Methods inherited from class org.apache.commons.digester.Rule

        begin, begin, body, body, 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

      • EXCEPTION_MESSAGE_KEY_INVALID_INSTANCE

        public static final java.lang.String EXCEPTION_MESSAGE_KEY_INVALID_INSTANCE
        See Also:
        Constant Field Values
    • Constructor Detail

      • JRPartComponentRule

        public JRPartComponentRule()
    • Method Detail

      • end

        public void end​(java.lang.String namespace,
                        java.lang.String name)
                 throws JRException
        Overrides:
        end in class org.apache.commons.digester.Rule
        Throws:
        JRException