net.bpelunit.util
Class QNameUtil
java.lang.Object
net.bpelunit.util.QNameUtil
public final class QNameUtil
- extends Object
|
Method Summary |
static boolean |
isQName(String name)
Checks on whether the string conforms to a String representation of a QName. |
static QName |
parseQName(String name)
Converts the given String to a QName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isQName
public static boolean isQName(String name)
- Checks on whether the string conforms to a String representation of a QName.
A QName is denoted as {namespace}local-name
- Parameters:
name - String to be checked
- Returns:
- true if the string represents a QName, false if not
parseQName
public static QName parseQName(String name)
- Converts the given String to a QName
- Parameters:
name - String represention of a QName
- Returns:
- QName with namespace and local-name parts
- See Also:
isQName(String)
Copyright © 2013 Leibniz Universität Hannover. All Rights Reserved.