Qizx fe-4.4p2 API

com.qizx.api
Interface QName


public interface QName

Qualified name for XML elements and attributes.

The ItemFactory interface is normally invoked for creating the QName's used in the API. It is recommended to cache QNames when possible for better performance.

Mandatory requirements for an implementation of this interface:


Method Summary
 String getLocalPart()
          Returns the local part of the qualified name.
 String getNamespaceURI()
          Returns the namespace URI of the QName.
 String getPrefix()
          Returns an optional prefix associated with the QName (may be null).
 boolean hasNoNamespace()
          Returns true if this QName has the empty namespace URI.
 

Method Detail

getLocalPart

String getLocalPart()
Returns the local part of the qualified name.

Returns:
a String representing the local part value

getNamespaceURI

String getNamespaceURI()
Returns the namespace URI of the QName.

If the QName has no namespace, this value is the blank string (not null).

Returns:
a String representing the namespace URI value

getPrefix

String getPrefix()
Returns an optional prefix associated with the QName (may be null).

Returns:
a String representing the prefix value

hasNoNamespace

boolean hasNoNamespace()
Returns true if this QName has the empty namespace URI.

Returns:
true if this QName has the empty namespace URI.

© 2010 Axyana Software