Package net.sf.jasperreports.engine.xml
Class JRPartComponentRule
- java.lang.Object
-
- org.apache.commons.digester.Rule
-
- net.sf.jasperreports.engine.xml.JRPartComponentRule
-
public class JRPartComponentRule extends org.apache.commons.digester.RuleA digester rule that links aPartComponentobject with its parentJRDesignPart.This rules also sets the
component type keyon the report part viaJRDesignPart.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 JRPartComponentRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidend(String namespace, String name)static JRPartComponentRulenewInstance()
-
-
-
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 JRPartComponentRule newInstance()
-
end
public void end(String namespace, String name) throws JRException
- Overrides:
endin classorg.apache.commons.digester.Rule- Throws:
JRException
-
-