Lines Matching defs:qNameAsString
458 * @param qNameAsString <code>String</code> representation
461 * @throws IllegalArgumentException When <code>qNameAsString</code> is
467 public static QName valueOf(String qNameAsString) {
470 if (qNameAsString == null) {
476 if (qNameAsString.length() == 0) {
479 qNameAsString,
484 if (qNameAsString.charAt(0) != '{') {
487 qNameAsString,
492 if (qNameAsString.startsWith("{" + XMLConstants.NULL_NS_URI + "}")) {
498 + qNameAsString.substring(2 + XMLConstants.NULL_NS_URI.length())
504 int endOfNamespaceURI = qNameAsString.indexOf('}');
508 + qNameAsString
512 qNameAsString.substring(1, endOfNamespaceURI),
513 qNameAsString.substring(endOfNamespaceURI + 1),