Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Qizx/open 4.1 API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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:

- The hashCode() and equals() methods must be properly implemented.

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| © 2010 Axyana Software
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD