Package net.sf.jasperreports.engine.xml
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 Summary
Constructors Constructor Description XmlHandlerNamespace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInternalSchemaResource()Returns a resource name that resolves to an internal XML schema resource.StringgetNamespaceURI()Returns the namespace used by the handler.StringgetPublicSchemaLocation()Returns the public location of the handler XML schema.voidsetInternalSchemaResource(String internalSchemaResource)Sets the name of the internal XML schema resource.voidsetNamespaceURI(String namespaceURI)Sets the namespace used by the handler.voidsetPublicSchemaLocation(String publicSchemaLocation)Sets the public location of the handler XML schema.
-
-
-
Method Detail
-
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
schemaLocationXML 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-
-
-