Class Overview
Converts css class names to a form safe to use as a Java identifier.
Summary
Nested Classes |
class |
CssNameConverter.Failure |
Thrown by convertSet(Set) on name collision. |
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
CssNameConverter
()
Public Methods
public
String
convertName
(String className)
Parameters
className
| a css class name |
Returns
- the same name in a form safe to use as a Java identifier
Parameters
classNames
| css class names to convert |
Returns
- map of the same class names in a form safe for use as Java
identifiers, with the order of the input set preserved