net.sf.jasperreports.engine.xml
Class XmlHandlerNamespace

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

public class XmlHandlerNamespace
extends java.lang.Object

XML namespace information used by an XML handler.

Version:
$Id: XmlHandlerNamespace.java 4808 2011-11-21 13:44:22Z lucianc $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Constructor Summary
XmlHandlerNamespace()
           
 
Method Summary
 java.lang.String getInternalSchemaResource()
          Returns a resource name that resolves to an internal XML schema resource.
 java.lang.String getNamespaceURI()
          Returns the namespace used by the handler.
 java.lang.String getPublicSchemaLocation()
          Returns the public location of the handler XML schema.
 void setInternalSchemaResource(java.lang.String internalSchemaResource)
          Sets the name of the internal XML schema resource.
 void setNamespaceURI(java.lang.String namespaceURI)
          Sets the namespace used by the handler.
 void setPublicSchemaLocation(java.lang.String publicSchemaLocation)
          Sets the public location of the handler XML schema.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlHandlerNamespace

public XmlHandlerNamespace()
Method Detail

getNamespaceURI

public java.lang.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(java.lang.String namespaceURI)
Sets the namespace used by the handler.

Parameters:
namespaceURI -

getPublicSchemaLocation

public java.lang.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(java.lang.String publicSchemaLocation)
Sets the public location of the handler XML schema.

Parameters:
publicSchemaLocation -

getInternalSchemaResource

public java.lang.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(java.lang.String internalSchemaResource)
Sets the name of the internal XML schema resource.

Parameters:
internalSchemaResource -


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com