public interface

Namespace

implements Attribute
javax.xml.stream.events.Namespace

Class Overview

An interface that contains information about a namespace. Namespaces are accessed from a StartElement.

See Also

Summary

[Expand]
Inherited Constants
From interface javax.xml.stream.XMLStreamConstants
Public Methods
abstract String getNamespaceURI()
Gets the uri bound to the prefix of this namespace
abstract String getPrefix()
Gets the prefix, returns "" if this is a default namespace declaration.
abstract boolean isDefaultNamespaceDeclaration()
returns true if this attribute declares the default namespace
[Expand]
Inherited Methods
From interface javax.xml.stream.events.Attribute
From interface javax.xml.stream.events.XMLEvent

Public Methods

public abstract String getNamespaceURI ()

Gets the uri bound to the prefix of this namespace

public abstract String getPrefix ()

Gets the prefix, returns "" if this is a default namespace declaration.

public abstract boolean isDefaultNamespaceDeclaration ()

returns true if this attribute declares the default namespace