Class Util
java.lang.Object
org.apache.xalan.xsltc.compiler.util.Util
- Author:
- Jacek Ambroziak, Santiago Pericas-Geertsen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Search for both slashes in order to support URLs and files.static String
Replace occurances of '.', '-', '/' and ':'static org.apache.bcel.generic.Type
getJCRefType
(String signature) static String
getLocalName
(String qname) static String
static String
internalName
(String cname) static boolean
Checks if the string is a literal (i.e. not an AVT) or not.static boolean
isValidQNames
(String str) Checks if the string is valid list of qnamesstatic String
static String
Search for both slashes in order to support URLs and files.static void
println
(char ch) static void
static String
Replace a certain character in a string with a new substring.static String
static String
toJavaName
(String name) Replace all illegal Java chars by '_'.static void
TRACE1()
static void
TRACE2()
static void
TRACE3()
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
noExtName
-
baseName
Search for both slashes in order to support URLs and files. -
pathName
Search for both slashes in order to support URLs and files. -
toJavaName
Replace all illegal Java chars by '_'. -
getJCRefType
-
internalName
-
println
-
println
public static void println(char ch) -
TRACE1
public static void TRACE1() -
TRACE2
public static void TRACE2() -
TRACE3
public static void TRACE3() -
replace
Replace a certain character in a string with a new substring. -
replace
-
escape
Replace occurances of '.', '-', '/' and ':' -
getLocalName
-
getPrefix
-
isLiteral
Checks if the string is a literal (i.e. not an AVT) or not. -
isValidQNames
Checks if the string is valid list of qnames
-