Class BackslashUtil

java.lang.Object
org.apache.axis.wsdl.symbolTable.BackslashUtil
All Implemented Interfaces:
Serializable

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.
See Also:
  • Constructor Details

    • BackslashUtil

      public BackslashUtil()
  • Method Details

    • getQNameWithBackslashlessLocal

      public static QName getQNameWithBackslashlessLocal(QName suspectQName)
      Parameters:
      QName - [local] that may contain unescaped backslashes
      Returns:
      QName[local] w/ no backslashes
    • getQNameWithBackslashedLocal

      public static QName getQNameWithBackslashedLocal(QName suspectQName)
      Parameters:
      QName - [local] which may contain unescaped backslashes
      Returns:
      QName[local] w/ escaped backslashes
    • getQNameWithDifferentLocal

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

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

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

      public static String transformBackslashes(String string, boolean delete)
      Slave method for applyBackslashes invalid input: '&' stripBackslashes .