public class BackslashUtil extends Object implements Serializable
Constructor and Description |
---|
BackslashUtil() |
Modifier and Type | Method and Description |
---|---|
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 .
|
public static QName getQNameWithBackslashlessLocal(QName suspectQName)
QName[local]
- that may contain unescaped backslashespublic static QName getQNameWithBackslashedLocal(QName suspectQName)
QName[local]
- which may contain unescaped backslashespublic static QName getQNameWithDifferentLocal(QName qName, String localName)
public static String applyBackslashes(String string)
public static String stripBackslashes(String string)
Copyright © The Apache Software Foundation. All Rights Reserved.