Here you can find the source of quoteAndEscapeValue(String serviceQName)
private static String quoteAndEscapeValue(String serviceQName)
//package com.java2s; /*/* ww w . j a va 2 s.co m*/ * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ public class Main { private static final String REPLACED_QUOTATION_MARK = "\\?"; private static String quoteAndEscapeValue(String serviceQName) { return "\"" + serviceQName.replace("?", REPLACED_QUOTATION_MARK) + "\""; } }