org.apache.axis.wsdl.symbolTable

Class BackslashUtil

Implemented Interfaces:
java.io.Serializable

public class BackslashUtil
extends java.lang.Object
implements java.io.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.
See Also:
Serialized Form

Method Summary

static String
applyBackslashes(String string)
Slave method for getQNameWithBackslashedLocal()
static QName
getQNameWithBackslashedLocal(QName suspectQName)
static QName
getQNameWithBackslashlessLocal(QName suspectQName)
static QName
getQNameWithDifferentLocal(QName qName, String localName)
Creates a copy of the supplied QName w/ the supplied local name
static String
stripBackslashes(String string)
Slave method for getQNameWithBackslashlessLocal
static String
transformBackslashes(String string, boolean delete)
Slave method for applyBackslashes & stripBackslashes .

Method Details

applyBackslashes

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

getQNameWithBackslashedLocal

public static QName getQNameWithBackslashedLocal(QName suspectQName)
Parameters:
Returns:
QName[local] w/ escaped backslashes

getQNameWithBackslashlessLocal

public static QName getQNameWithBackslashlessLocal(QName suspectQName)
Parameters:
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 © 2005 Apache Web Services Project. All Rights Reserved.