Package net.sf.jasperreports.engine.util
Class XmlNamespace
- java.lang.Object
-
- net.sf.jasperreports.engine.util.XmlNamespace
-
public class XmlNamespace extends Object
An XML namespace.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
JRXmlWriteHelper.startElement(String, XmlNamespace)
-
-
Constructor Summary
Constructors Constructor Description XmlNamespace(String uri, String prefix, String schemaURI)Creates an XML namespace.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNamespaceURI()Returns the namespace URI.StringgetPrefix()Returns the namespace prefix.StringgetSchemaURI()Returns the URI of the XML schema associated with the namespace.
-
-
-
Method Detail
-
getNamespaceURI
public String getNamespaceURI()
Returns the namespace URI.- Returns:
- the namespace URI
-
getPrefix
public String getPrefix()
Returns the namespace prefix.- Returns:
- the namespace prefix
-
getSchemaURI
public String getSchemaURI()
Returns the URI of the XML schema associated with the namespace.- Returns:
- the namespace XML schema URI
-
-