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.RuleA digester rule that links aComponentobject with its parentJRDesignComponentElement.This rules also sets the
component type keyon 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 StringEXCEPTION_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 voidend(String namespace, String name)static JRComponentRulenewInstance()
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_INVALID_INSTANCE
public static final String EXCEPTION_MESSAGE_KEY_INVALID_INSTANCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
public static JRComponentRule newInstance()
-
end
public void end(String namespace, String name) throws JRException
- Overrides:
endin classorg.apache.commons.digester.Rule- Throws:
JRException
-
-