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 aQName
.
-
-
-
Method Detail
-
parseLexicalQName
public static QName parseLexicalQName(String nameStr, NamespaceContext ctx)
Parses the given string to aQName
. Namespace prefixes are resolvced using the givenNamespaceContext
.
-
-