Package net.sf.jasperreports.engine.xml
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 aComponent
object with its parentJRDesignComponentElement
.This rules also sets the
component type key
on the component element viaJRDesignComponentElement.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
-
Constructor Summary
Constructors Constructor Description JRComponentRule()
-
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 JRComponentRule
newInstance()
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_INVALID_INSTANCE
public static final java.lang.String EXCEPTION_MESSAGE_KEY_INVALID_INSTANCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
public static JRComponentRule newInstance()
-
end
public void end(java.lang.String namespace, java.lang.String name) throws JRException
- Overrides:
end
in classorg.apache.commons.digester.Rule
- Throws:
JRException
-
-