Class XmlHandlerNamespace

java.lang.Object
net.sf.jasperreports.engine.xml.XmlHandlerNamespace

public class XmlHandlerNamespace extends Object
XML namespace information used by an XML handler.
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
  • Constructor Details

    • XmlHandlerNamespace

      public XmlHandlerNamespace()
  • Method Details

    • getNamespaceURI

      public String getNamespaceURI()
      Returns the namespace used by the handler.

      The XML representation of the values will use this namespace.

      Returns:
      the namespace used by the handler
    • setNamespaceURI

      public void setNamespaceURI(String namespaceURI)
      Sets the namespace used by the handler.
      Parameters:
      namespaceURI -
    • getPublicSchemaLocation

      public String getPublicSchemaLocation()
      Returns the public location of the handler XML schema.

      This would be listed in schemaLocation XML attributes.

      Returns:
      the public location of the handler XML schema
    • setPublicSchemaLocation

      public void setPublicSchemaLocation(String publicSchemaLocation)
      Sets the public location of the handler XML schema.
      Parameters:
      publicSchemaLocation -
    • getInternalSchemaResource

      public String getInternalSchemaResource()
      Returns a resource name that resolves to an internal XML schema resource.

      If not null, the resource (which needs to be present on the classpath) will be used when parsing XML fragments instead of the public XML schema.

      Returns:
      the name of the internal XML schema resource
    • setInternalSchemaResource

      public void setInternalSchemaResource(String internalSchemaResource)
      Sets the name of the internal XML schema resource.
      Parameters:
      internalSchemaResource -