Package de.pangaea.metadataportal.utils

## Class QNameParser

- java.lang.Object
- - de.pangaea.metadataportal.utils.QNameParser

-     public final class QNameParser
      extends Object

  Simple static class to parse XPath-like string QNames ("prefix:tagname").
  Author:
    Uwe Schindler

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static QName` | `parseLexicalQName​(String nameStr, NamespaceContext ctx)` | Parses the given string to a `QName`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### parseLexicalQName

          public static QName parseLexicalQName​(String nameStr,
                                                NamespaceContext ctx)

      Parses the given string to a `QName`. Namespace prefixes are resolvced using the given `NamespaceContext`.