Class JRGenericElementType

java.lang.Object
net.sf.jasperreports.engine.JRGenericElementType
All Implemented Interfaces:
Serializable

public class JRGenericElementType extends Object implements Serializable
A 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:
  • Constructor Details

    • JRGenericElementType

      public JRGenericElementType(String namespace, String name)
      Creates a generic element type key.
      Parameters:
      namespace - the type namespace
      name - the type name
  • Method Details

    • getNamespace

      public String getNamespace()
      Returns the type namespace.
      Returns:
      the type namespace
    • getName

      public String getName()
      Returns the type name.
      Returns:
      the type name
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object