Package net.sf.jasperreports.engine
Class JRGenericElementType
- java.lang.Object
-
- net.sf.jasperreports.engine.JRGenericElementType
-
- All Implemented Interfaces:
java.io.Serializable
public class JRGenericElementType extends java.lang.Object implements java.io.SerializableA key identifying a generic element type.This key is used to resolve registered export handlers for generic print elements.
A type key is composed of a namespace (which is usually a URI associated with the organization that implemented the generic element type) and a type name.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JRGenericElementType(java.lang.String namespace, java.lang.String name)Creates a generic element type key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetName()Returns the type name.java.lang.StringgetNamespace()Returns the type namespace.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
Returns the type namespace.- Returns:
- the type namespace
-
getName
public java.lang.String getName()
Returns the type name.- Returns:
- the type name
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-