org.apache.axis.wsdl.symbolTable

Class BackslashUtil

public class BackslashUtil extends Object implements Serializable

Author: dbyrne Created in response to AXIS-2088. This class exposes a handful of static utility methods that are used to manipulate backslash chars w/in the context of QName objects.

Method Summary
static StringapplyBackslashes(String string)
Slave method for getQNameWithBackslashedLocal()
static QNamegetQNameWithBackslashedLocal(QName suspectQName)
static QNamegetQNameWithBackslashlessLocal(QName suspectQName)
static QNamegetQNameWithDifferentLocal(QName qName, String localName)
Creates a copy of the supplied QName w/ the supplied local name
static StringstripBackslashes(String string)
Slave method for getQNameWithBackslashlessLocal
static StringtransformBackslashes(String string, boolean delete)
Slave method for applyBackslashes & stripBackslashes .

Method Detail

applyBackslashes

public static String applyBackslashes(String string)
Slave method for getQNameWithBackslashedLocal()

getQNameWithBackslashedLocal

public static QName getQNameWithBackslashedLocal(QName suspectQName)

Parameters: QName[local] which may contain unescaped backslashes

Returns: QName[local] w/ escaped backslashes

getQNameWithBackslashlessLocal

public static QName getQNameWithBackslashlessLocal(QName suspectQName)

Parameters: QName[local] that may contain unescaped backslashes

Returns: QName[local] w/ no backslashes

getQNameWithDifferentLocal

public static QName getQNameWithDifferentLocal(QName qName, String localName)
Creates a copy of the supplied QName w/ the supplied local name

stripBackslashes

public static String stripBackslashes(String string)
Slave method for getQNameWithBackslashlessLocal

transformBackslashes

public static String transformBackslashes(String string, boolean delete)
Slave method for applyBackslashes & stripBackslashes .
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.