Package net.sf.jasperreports.engine.xml
Class XmlHandlerNamespace
java.lang.Object
net.sf.jasperreports.engine.xml.XmlHandlerNamespace
XML namespace information used by an XML handler.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a resource name that resolves to an internal XML schema resource.Returns the namespace used by the handler.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.
-
Constructor Details
-
XmlHandlerNamespace
public XmlHandlerNamespace()
-
-
Method Details
-
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
Sets the namespace used by the handler.- Parameters:
namespaceURI-
-
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
Sets the public location of the handler XML schema.- Parameters:
publicSchemaLocation-
-
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
Sets the name of the internal XML schema resource.- Parameters:
internalSchemaResource-
-